3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = NULL; if ($t > 0) { echo "1"; } xx xw< elseif ($t <= 0) { echo "0"; } x
Output for 5.4.0 - 5.4.12
Parse error: syntax error, unexpected 'xw' (T_STRING) in 0Xk7k on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.22
Parse error: syntax error, unexpected T_STRING in 0Xk7k on line 5
Process exited with code 255.

preferences:
172.51 ms | 1395 KiB | 43 Q