3v4l.org

run code in 300+ PHP versions simultaneously
<?php $greetings = "hi"; $gtzTo = "My brother" $hail = $greetings + $gtzTo; echo "$hail";
Output for 5.4.2 - 5.4.45, 5.5.24 - 5.5.30, 5.6.7 - 5.6.14
Parse error: syntax error, unexpected '$hail' (T_VARIABLE) in /in/cuNJk on line 5
Process exited with code 255.

preferences:
191.46 ms | 1399 KiB | 65 Q