3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $module_updates = array( 2 => 'update_2', 1000 => 'update_1000', 7001 => 'update_7001', 8000 => 'update_8000', 1001 => 'update_1001', 7000 => 'update_7000', ); uksort($module_updates, function($a, $b) { if ($a > $b) { return ($a >= 7000 && $a < 9000) ? -1 : 1; } elseif ($b > $a) { return ($b >= 7000 && $b < 9000) ? -1 : 1; } else { return 0; } })
Output for 5.4.0 - 5.5.12
Parse error: syntax error, unexpected end of file in /in/GK7lE on line 20
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end in /in/GK7lE on line 20
Process exited with code 255.