3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(11, 12); $b = array(11, 12); var_dump($a == $b); var_dump($a === $b); var_dump(spl_object_hash($a) === spl_object_hash($b))
Output for 5.4.0 - 5.4.10
Parse error: syntax error, unexpected end of file in /in/GBRYj on line 8
Process exited with code 255.
Output for 5.3.0 - 5.3.20
Parse error: syntax error, unexpected $end in /in/GBRYj on line 8
Process exited with code 255.

preferences:
170.33 ms | 1395 KiB | 39 Q