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 ) ); ); rsort($arr); print_r($arr);
Output for 5.4.18
Parse error: syntax error, unexpected 'Company' (T_STRING), expecting ')' in /in/HV4KP on line 8
Process exited with code 255.
Output for 5.4.0 - 5.4.17
Parse error: syntax error, unexpected 'Company' (T_STRING), expecting ')' in /in/0LBl9 on line 8
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_STRING, expecting ')' in /in/0LBl9 on line 8
Process exited with code 255.