3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = ['23', '5 ', '22 ']; sort($arr); var_export($arr);
based on qpTkO
Output for 5.5.0 - 7.3.0rc4
array ( 0 => '22 ', 1 => '23', 2 => '5 ', )