A case of left associativity.
clone $object->property clones the property, not the object.
(clone $object)->property
Same for new
3v4l.org/UHrBS
A case of left associativity.
clone $object->property clones the property, not the object.
(clone $object)->property
Same for new
3v4l.org/UHrBS
(clone $a)->b;
where property b changed between $a and the clone? That is possible.
(clone $a)->b;
where property b changed between $a and the clone? That is possible.