3v4l.org

run code in 300+ PHP versions simultaneously
<?php $y = 2 $x === '' && $y = 6 print $y
Output for 7.0.0 - 7.0.19, 7.1.0 - 7.1.5
Parse error: syntax error, unexpected '$x' (T_VARIABLE) in /in/CfD95 on line 4
Process exited with code 255.

preferences:
168.56 ms | 1395 KiB | 33 Q