3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo(0 & 1); echo(0 & 2); echo(0 & 4); . "\n" echo(1 & 1); echo(1 & 2); echo(1 & 4); . "\n" echo(2 & 1); echo(2 & 2); echo(2 & 4); . "\n" echo(3 & 1); echo(3 & 2); echo(3 & 4); . "\n" echo(4 & 1); echo(4 & 2); echo(4 & 4); . "\n" echo(5 & 1); echo(5 & 2); echo(5 & 4); . "\n" echo(6 & 1); echo(6 & 2); echo(6 & 4); . "\n" echo(7 & 1); echo(7 & 2); echo(7 & 4); . "\n"
based on Wqp47
Output for 7.0.0 - 7.0.2
Parse error: syntax error, unexpected '.', expecting end of file in /in/Ouip0 on line 4
Process exited with code 255.
Output for 5.3.21 - 5.6.17
Parse error: syntax error, unexpected '.' in /in/Ouip0 on line 4
Process exited with code 255.