[php-src] Issue #10570: Assertion `(key)->h != 0 && "Hash must be known"' failed.

From: Date: Sat, 11 Feb 2023 23:33:21 +0000
Subject: [php-src] Issue #10570: Assertion `(key)->h != 0 && "Hash must be known"' failed.
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-243712@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/10570 Author: Changochen ### Description The following code: ```php <?php $$P = new stdClass(); for (; ; ) { $$a->{90}; $$a->{0} = 0; } ?> ``` Resulted in this output: ``` php-src/Zend/zend_hash.c:673: zend_hash_find_bucket: Assertion `(key)->h != 0 && "Hash must be known"' failed. ``` ### PHP Version PHP 8.3.0-dev ### Operating System _No response_

« previous php.bugs (#243712) next »