3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array(); $array['test'][74] = '11111'; $array['test'][71] = '1123'; $array['test'][72] = '114444'; print_r(sort($array['test']))
Output for 5.4.0 - 5.4.11
Parse error: syntax error, unexpected end of file in kbIjK on line 10
Process exited with code 255.
Output for 5.3.0 - 5.3.21
Parse error: syntax error, unexpected $end in kbIjK on line 10
Process exited with code 255.

preferences:
162.27 ms | 1395 KiB | 41 Q