3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo {}: var_dump(std_object_hash(new Foo)); var_dump(std_object_hash((object) [])); var_dump(std_object_hash(new \stdObject));
Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.16
Parse error: syntax error, unexpected ':' in /in/BbHSS on line 3
Process exited with code 255.

preferences:
171.71 ms | 1399 KiB | 23 Q