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; $r1 = array($d, $e, $a, $f, $b, $c); $r2 = array($d, $e, $b, $f, $c, $a); var_dump(sort($r1)); var_dump(sort($r2));
Output for 4.3.0 - 7.1.0
bool(true) bool(true)