3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a1 = array(1,2,3); $a2 = array(1,2,3); if ($a1 == $a2) { echo 'asd' // code here }
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.30
Parse error: syntax error, unexpected '}', expecting ',' or ';' in /in/L2sGL on line 7
Process exited with code 255.

preferences:
183.28 ms | 1395 KiB | 67 Q