Number of iterations per: 1000000 Total (string my_data_clone): 0.72886 sec Total (string wrapped_test): 0.70197 sec Total (string unserser): 1.07693 sec Total (string shallowcopy): 0.48410 sec Total (integer my_data_clone): 0.68992 sec Total (integer wrapped_test): 0.67821 sec Total (integer unserser): 1.04938 sec Total (integer shallowcopy): 0.45611 sec Total (float my_data_clone): 0.67948 sec Total (float wrapped_test): 0.67516 sec Total (float unserser): 2.20965 sec Total (float shallowcopy): 0.45694 sec Total (stdclass my_data_clone): 0.95304 sec Total (stdclass wrapped_test): 0.96554 sec Total (stdclass unserser): 3.45872 sec Total (stdclass shallowcopy): 0.51954 sec old_b4 !== old_after (stdclass) (shallowcopy) string(42) "{"test":"the","test2":"the","test3":"the"}" string(28) "{"test":"the","test3":"the"}" Total (array my_data_clone): 2.61641 sec Total (array wrapped_test): 3.18266 sec Total (array unserser): 2.51899 sec Total (array shallowcopy): 0.68878 sec Total (array of obj my_data_clone): 1.98432 sec Total (array of obj wrapped_test): 2.51102 sec Total (array of obj unserser): 4.19834 sec Total (array of obj shallowcopy): 0.62064 sec old_b4 !== old_after (array of obj) (shallowcopy) string(51) "{"test":{"test":"the","test2":"the","test3":"the"}}" string(37) "{"test":{"test":"the","test3":"the"}}" Total (array of array of obj my_data_clone): 4.30831 sec Total (array of array of obj wrapped_test): 4.65961 sec Total (array of array of obj unserser): 7.16645 sec Total (array of array of obj shallowcopy): 0.60292 sec old_b4 !== old_after (array of array of obj) (shallowcopy) string(155) "{"test":{"leveltwo":{"test":"something","test2":"something","test3":"something"},"leveltwoa":{"test":"something","test2":"something","test3":"something"}}}" string(135) "{"test":{"leveltwo":{"test":"something","test3":"something"},"leveltwoa":{"test":"something","test2":"something","test3":"something"}}}"