3v4l.org

run code in 300+ PHP versions simultaneously
<?php //$arr = array(array(array('companyname' => 'Insurance Company')) ); $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 ')' in /in/gObAX on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.27, 5.4.0 - 5.4.17
Parse error: syntax error, unexpected ')' in /in/I0e4g on line 4
Process exited with code 255.

preferences:
176.81 ms | 1395 KiB | 54 Q