Commit b72175a
committed
Fix GH-21768: ext/reflection: assertion failure on internal virtual properties.
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 e4f727d.1 parent f437b8b commit b72175a
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6763 | 6763 | | |
6764 | 6764 | | |
6765 | 6765 | | |
6766 | | - | |
6767 | | - | |
| 6766 | + | |
6768 | 6767 | | |
6769 | 6768 | | |
6770 | 6769 | | |
| |||
6855 | 6854 | | |
6856 | 6855 | | |
6857 | 6856 | | |
6858 | | - | |
6859 | | - | |
| 6857 | + | |
6860 | 6858 | | |
6861 | 6859 | | |
6862 | 6860 | | |
| |||
0 commit comments