Skip to content

Commit

Permalink
Fix build without global registers
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Oct 5, 2021
1 parent a4fa00e commit dab6527
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Zend/zend_execute.c
Expand Up @@ -1542,7 +1542,8 @@ static zend_never_inline zend_long zend_check_string_offset(zval *dim, int type
ZEND_API ZEND_COLD void zend_wrong_string_offset_error(void)
{
const char *msg = NULL;
const zend_op *opline = EG(current_execute_data)->opline;
const zend_execute_data *execute_data = EG(current_execute_data);
const zend_op *opline = execute_data->opline;
uint32_t var;

if (UNEXPECTED(EG(exception) != NULL)) {
Expand Down

0 comments on commit dab6527

Please sign in to comment.