[php-src] PR #21769: Fix GH-21768: ext/reflection: assertion failure on internal virtual p…
| From: | devnexen | Date: | Thu, 16 Apr 2026 05:11:19 +0000 |
| Subject: | [php-src] PR #21769: Fix GH-21768: ext/reflection: assertion failure on internal virtual p… | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-35738@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21769
Author: devnexen
…roperties.
ReflectionProperty::isReadable() and isWritable() asserted prop->hooks being set whenever
ZEND_ACC_VIRTUAL is set. Internal classes such as DOMDocument declare virtual properties backed by
the object read/write handlers without hooks, tripping the assertion.
Assertion introduced in e4f727d61eb.