[php-src] Issue #15907: Core dumped in Zend/zend_compile.c

From: Date: Mon, 16 Sep 2024 08:35:40 +0000
Subject: [php-src] Issue #15907: Core dumped in Zend/zend_compile.c
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-247792@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/15907 Author: YuanchengJiang ### Description The following code: ```php <?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

« previous php.bugs (#247792) next »