3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $keys = array(0, 'fruits'); sort($keys); var_dump($keys);
Output for 7.0.0 - 7.3.0
array(2) { [0]=> int(0) [1]=> string(6) "fruits" }
Output for 4.3.0 - 5.6.38
array(2) { [0]=> string(6) "fruits" [1]=> int(0) }