[php-src] Issue #15918: Assertion failure in ext/spl/spl_fixedarray.c

From: Date: Mon, 16 Sep 2024 12:43:16 +0000
Subject: [php-src] Issue #15918: Assertion failure in ext/spl/spl_fixedarray.c
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-247802@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/15918 Author: YuanchengJiang ### Description The following code: ```php <?php $foo = new SplFixedArray(5); $fusion = $foo; $arrayObject = new ArrayObject($fusion); $arrayObject[] = 'five'; var_dump($arrayObject); ``` Resulted in this output: ``` /php-src/ext/spl/spl_fixedarray.c:250: spl_fixedarray_object_get_properties_for: Assertion `!(((__ht)->u.flags & (1<<2)) != 0)' failed. Aborted (core dumped) ``` ### PHP Version PHP 8.4.0-dev ### Operating System ubuntu 22.04

« previous php.bugs (#247802) next »