Closed remicollet closed 3 years ago
is_callable
change explanation:
is_callable
fails when an object is not given (looks like he believes we are testing a static call), so checking with an object instead of class-name fixes this issue.
And for completeness https://github.com/php/php-src/pull/6263
@remicollet we have the same issue on PHP Reflect 4.4.0; FYI I'm prepare a release 4.4.1 to fix it and allows PHP 8
Without this fix:
Fo the is_callable call, need to understand why syntax_only is now required