3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = '0.3'; $b = '.5'; $c = '4'; $d = 'F'; $e = 'z'; $f = 4; var_dump(sort(array($d, $e, $a, $f, $b, $c))); var_dump(sort(array($d, $e, $b, $f, $c, $a)));
Output for 5.3.0 - 5.5.7
Fatal error: Only variables can be passed by reference in /in/nqqQD on line 5
Process exited with code 255.