3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($i=1;$i<31;$i++) { if($i % 3 == 0 && $i % 5 != 0) echo "foo"; if($i % 5 == && $i % 3 != 0) echo "bar" if($i % 5 == 0 && $i % 3 == 0) echo "foobar"; }
Output for 5.4.0 - 5.4.24
Parse error: syntax error, unexpected '&&' (T_BOOLEAN_AND) in /in/BhTdE on line 6
Process exited with code 255.
Output for 5.3.6 - 5.3.28
Parse error: syntax error, unexpected T_BOOLEAN_AND in /in/BhTdE on line 6
Process exited with code 255.