3v4l.org

run code in 300+ PHP versions simultaneously
<?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 ) ); ); usort($arr); print_r($arr);
Output for 5.4.0 - 5.4.18, 5.5.0 - 5.5.2
Parse error: syntax error, unexpected 'Company' (T_STRING), expecting ')' in /in/ZgVvV on line 8
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected '[', expecting ')' in /in/ZgVvV on line 4
Process exited with code 255.

preferences:
171.77 ms | 1399 KiB | 57 Q