3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function cmp($a, $b) { return ((int) $b - (int) $a); } $array = (500, 1000, 200, 30, 100000); usort($array, "cmp"); var_dump($array);
Output for 5.3.0 - 5.4.20
Parse error: syntax error, unexpected ',' in /in/De3Is on line 8
Process exited with code 255.