Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
matyhtf committed Dec 13, 2024
1 parent bde956a commit ac74b87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext-src/php_swoole.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1553,7 +1553,7 @@ static PHP_FUNCTION(swoole_implicit_fn) {
RETURN_LONG(zval_refcount_p(zargs));
} else if (SW_STRCASEEQ(fn, l_fn, "func_handler")) {
auto fn = zval_get_string(zargs);
zend_function *zf = (zend_function *) zend_hash_find(EG(function_table), fn);
zend_function *zf = (zend_function *) zend_hash_find_ptr(EG(function_table), fn);
zend_string_release(fn);
if (zf == nullptr) {
RETURN_FALSE;
Expand Down

0 comments on commit ac74b87

Please sign in to comment.