Skip to content

Assertion failure in Zend/zend_compile.c #15907

@YuanchengJiang

Description

@YuanchengJiang

Description

The following code:

<?php
set_error_handler(function($_, $msg) {
throw new Exception($msg);
});
class UnSerializable implements Serializable
{
public function serialize() {}
public function unserialize($serialized) {}
}

Resulted in this output:

/php-src/Zend/zend_compile.c:1334: zend_bind_class_in_slot: Assertion `!(executor_globals.exception)' failed.
Aborted (core dumped)

PHP Version

PHP 8.4.0-dev

Operating System

ubuntu 22.04

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions