--TEST-- Bug #62915: cloning of several classes is defective --SKIPIF-- newInstanceArgs($subclass::$ARGS); $clone = clone $obj; var_dump(get_class($clone)); } --EXPECT-- string(1) "A" string(1) "B" string(1) "C"