php clone operator code example Example: php clone //Copies an existing object $objectA = clone $objectB;