Skip to content

Commit

Permalink
#2321 - Fix zephir_fcall_ce case
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Nov 13, 2021
1 parent 0a30a36 commit 67eaae1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernels/ZendEngine3/fcall.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ static void populate_fcic(zend_fcall_info_cache* fcic, zephir_call_type type, ze

case zephir_fcall_ce:
fcic->calling_scope = ce;
fcic->called_scope = ce;

#if PHP_VERSION_ID >= 80000
if (ce && Z_TYPE_P(func) == IS_STRING) {
Expand Down

0 comments on commit 67eaae1

Please sign in to comment.