3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a=4; $b=2; $c = $a^$b; print $c
Output for 5.6.0 - 5.6.28, 7.0.0 - 7.0.13
Parse error: syntax error, unexpected end of file in /in/FTBkB on line 7
Process exited with code 255.

preferences:
177.59 ms | 1395 KiB | 50 Q