[php-src] PR #17795: `ReflectionClass::isCloneable()`: reduce duplication
| From: | DanielEScherzer | Date: | Fri, 14 Feb 2025 02:26:42 +0000 |
| Subject: | [php-src] PR #17795: `ReflectionClass::isCloneable()`: reduce duplication | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-30760@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/17795
Author: DanielEScherzer
When the
zend_class_entry has a zend_function entry for
clone, the logic is the same regardless of if the reflection_object entry
has an object or not; the determination is based solely on the flags of the
zend_function.