Open YuanchengJiang opened 3 days ago
It is kind of the same issue only this time, it expects it to be a variable length args function. @cmb69 did I got it right ?
@devnexen, the problem is again that operator overloading is used, but not a function. The implementation of zend_parse_arg_long_slow()
calls zend_null_arg_deprecated()
for NULL arguments, and that function always expects to be called from a PHP function. PR #16015 would solve this by rejecting NULL values for operator overloading.
Description
The following code:
Resulted in this output:
Related: #16354
PHP Version
nightly
Operating System
ubuntu 22.04