Skip to content

Commit dab6527

Browse files
committed
Fix build without global registers
1 parent a4fa00e commit dab6527

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Zend/zend_execute.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1542,7 +1542,8 @@ static zend_never_inline zend_long zend_check_string_offset(zval *dim, int type
15421542
ZEND_API ZEND_COLD void zend_wrong_string_offset_error(void)
15431543
{
15441544
const char *msg = NULL;
1545-
const zend_op *opline = EG(current_execute_data)->opline;
1545+
const zend_execute_data *execute_data = EG(current_execute_data);
1546+
const zend_op *opline = execute_data->opline;
15461547
uint32_t var;
15471548

15481549
if (UNEXPECTED(EG(exception) != NULL)) {

0 commit comments

Comments
 (0)