Closed
Description
Description
The following code:
<?php
class Foo {
public function &__call($method, $args) {
}
}
$foo = new Foo;
$bar = $foo->bar(...);
$fusion = $bar;
$fiber = new Fiber($fusion);
$fiber->start();
Resulted in this output:
/php-src/Zend/zend_execute_API.c:1022: zend_result zend_call_function(zend_fcall_info *, zend_fcall_info_cache *): Assertion `(call->func->common.fn_flags & (1 << 12)) ? (zval_get_type(&(*(fci->retval))) == 10) : !(zval_get_type(&(*(fci->retval))) == 10)' failed.
Aborted (core dumped)
PHP Version
nightly
Operating System
ubuntu 22.04