[php-src] PR #15721: Fix GH-15718: ReflectionProperty::get{Hook,Hooks}(): handle dynamic properties
| From: | DanielEScherzer | Date: | Tue, 03 Sep 2024 05:48:35 +0000 |
| Subject: | [php-src] PR #15721: Fix GH-15718: ReflectionProperty::get{Hook,Hooks}(): handle dynamic properties | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28370@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15721
Author: DanielEScherzer
For dynamic properties, instead of crashing with a segmentation fault, just say that there are no
hooks. Also includes a test to prevent regression.