3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = array( 'is' => 'a', 'b' ); ksort($array); var_dump($array);
based on 44Lne
Output for 7.0.0 - 7.2.0
array(2) { ["is"]=> string(1) "a" [0]=> string(1) "b" }
Output for 4.3.0 - 5.6.28
array(2) { [0]=> string(1) "b" ["is"]=> string(1) "a" }