mirror of
https://github.com/php/php-src.git
synced 2026-03-27 17:52:16 +01:00
I thought these were redundant, because we already NULL out the clone_obj object handler. However, it turns out that reflection is using private __clone() to determine clonability (isCloneable) for the case where we only have a class, rather than an object. As such, removing these methods would be a BC break. This reverts commite7131a4e9f. This reverts commit55bd88ce0d.