3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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/8NPPV on line 4
Process exited with code 255.
Output for 5.3.0 - 5.4.17
Parse error: syntax error, unexpected ')' in /in/TX25H on line 4
Process exited with code 255.