You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When cloning an object of an ArrayObject-inherited class, deep_copy returns ArrayObject object instead of the actual clone of the supplied object. Obviously, all custom properties are lost in the process.
When cloning an object of an
ArrayObject
-inherited class,deep_copy
returnsArrayObject
object instead of the actual clone of the supplied object. Obviously, all custom properties are lost in the process.Example:
Output:
$b
should be a carbon copy of$a
, but it's not.DeepCopy version:
1.9.5
.PHP version:
The text was updated successfully, but these errors were encountered: