3v4l.org

run code in 300+ PHP versions simultaneously
<?php $what = [1, 2, 3, 4]; foreach ($what as $uhh) { echo ($uhh '<\br>'); }
Output for 5.4.0 - 5.4.45, 5.5.24 - 5.5.30, 5.6.7 - 5.6.14
Parse error: syntax error, unexpected ''<\br>'' (T_CONSTANT_ENCAPSED_STRING) in /in/eHJhV on line 4
Process exited with code 255.

preferences:
184.84 ms | 1395 KiB | 67 Q