Skip to content

Assertion failure in Zend/zend_execute_API.c:1022 #16515

Closed
@YuanchengJiang

Description

@YuanchengJiang

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions