3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = Array ( [0] => Array ( [0] => Array ( [companyname] => Insurance Company ) ) [2] => Array ( [0] => Array ( [companyname] => Insurance Company ) ) [3] => Array ( [0] => Array ( [companyname] => Life Insurance Company and Policy ) ); ); array_multisort($arr, SORT_DESC, 'companyname'); print_r($arr);
Output for 5.4.0 - 5.4.18
Parse error: syntax error, unexpected 'Company' (T_STRING), expecting ')' in /in/Kb7Pg on line 8
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected '[', expecting ')' in /in/Kb7Pg on line 4
Process exited with code 255.