3v4l.org

run code in 300+ PHP versions simultaneously
<?php function strOrFalse() { } x = ""; y = "foo"; z = x || y ?>
Output for 5.3.0 - 5.3.12, 5.4.0 - 5.4.2
Parse error: syntax error, unexpected '=' in /in/lrY67 on line 4
Process exited with code 255.

preferences:
166 ms | 1395 KiB | 23 Q