3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array(); $array['test'][74] = '11111'; $array['test'][71] = '1123'; $array['test'][72] = '114444'; sort($array['test']) print_r($array);
Output for 5.4.0 - 5.4.11
Parse error: syntax error, unexpected 'print_r' (T_STRING) in /in/3BtmI on line 12
Process exited with code 255.
Output for 5.3.0 - 5.3.21
Parse error: syntax error, unexpected T_STRING in /in/3BtmI on line 12
Process exited with code 255.