3v4l.org

run code in 300+ PHP versions simultaneously
<?php <?php $arr = [ 'lorem', 'ipsum', 'dolor', 'sit', 'amet', 'consectetur', 'adipiscing', 'elit', ]; shuffle($arr); $result = implode(' ', $arr); echo $result;
Output for 7.2.0 - 7.2.26, 7.3.0 - 7.3.13, 7.4.0 - 7.4.1
Parse error: syntax error, unexpected '<', expecting end of file in /in/riuYc on line 3
Process exited with code 255.

preferences:
179.34 ms | 1395 KiB | 50 Q