3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = a $b = b $b ^= $a echo $b ?>
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.7
Parse error: syntax error, unexpected '$b' (T_VARIABLE) in /in/5lGPL on line 3
Process exited with code 255.

preferences:
165.53 ms | 1395 KiB | 36 Q