3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array[] = Array(Array(0=>'December', 1=>'1', 2=>'2013'),'stamp'=> 1385874000); $array[] = Array(Array(0=>'December', 1=>'1', 2=>'2013'),'stamp'=> 1388293200); $array[] = Array(Array(0=>'December', 1=>'1', 2=>'2013'),'stamp'=> 1357189200); usort($array, function($a, $b) { return $a['stamp'] - $b['stamp']; print_r($array) }); ?>
Output for 5.3.0 - 5.5.7
Parse error: syntax error, unexpected '}' in /in/MHEJg on line 9
Process exited with code 255.