Skip to content

Commit

Permalink
Use dedicated function for illegal offset type error
Browse files Browse the repository at this point in the history
  • Loading branch information
Girgias committed Jul 10, 2020
1 parent 5fc7024 commit 2297a6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Zend/zend_execute.c
Original file line number Diff line number Diff line change
Expand Up @@ -2599,7 +2599,7 @@ static zend_never_inline zend_bool ZEND_FASTCALL zend_array_key_exists_fast(Hash
str = ZSTR_EMPTY_ALLOC();
goto str_key;
} else {
zend_type_error("Illegal offset type");
zend_illegal_offset();
return 0;
}
}
Expand Down

0 comments on commit 2297a6d

Please sign in to comment.