History log of /php-src/Zend/tests/gh10251.phpt (Results 1 – 2 of 2)
Revision Date Author Comments
# 6faeb957 08-Jan-2023 Christoph M. Becker

Fix recently introduced gh10251.phpt

As of PHP 8.2.0, creation of dynamic properties is deprecated, so we
slap a `AllowDynamicProperties` attribute on the class.


# d03025bf 07-Jan-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-10251: Assertion `(flag & (1<<3)) == 0' failed.

zend_get_property_guard previously assumed that at least "str" has a
pre-computed hash. This is not always the case, for example wh

Fix GH-10251: Assertion `(flag & (1<<3)) == 0' failed.

zend_get_property_guard previously assumed that at least "str" has a
pre-computed hash. This is not always the case, for example when a
string is created by bitwise operations, its hash is not set. Instead of
forcing a computation of the hashes, drop the hash comparison.

Closes GH-10254

Co-authored-by: Changochen <changochen1@gmail.com>

Signed-off-by: George Peter Banyard <girgias@php.net>

show more ...