Skip to content

Assertion failure in ext/zend_test/fiber.c #16496

@YuanchengJiang

Description

@YuanchengJiang

Description

The following code:

<?php
$test = new _ZendTestFiber(function (): void {
});
$test->start();
$fusion = $test;
$value = $fusion->start();

Resulted in this output:

/php-src/ext/zend_test/fiber.c:253: void zim__ZendTestFiber_start(zend_execute_data *, zval *): Assertion `fiber->context.status == ZEND_FIBER_STATUS_INIT' 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