3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array ( 'wwqw' => 'reqrewrwerwer', 'ttyu' => 'sdfgd gdfg ', 'aaaa' => 'gfg gdfg', 'bbbb' => 'ffdsd', ); print_r (array_values(ksort($arr)));
Output for 5.3.0 - 7.1.0
Warning: array_values() expects parameter 1 to be array, boolean given in /in/cTNdp on line 10
Output for 4.3.2 - 5.2.17
Warning: array_values(): The argument should be an array in /in/cTNdp on line 10
Output for 4.3.0 - 4.3.1
Warning: array_values() [http://www.php.net/function.array-values]: The argument should be an array in /in/cTNdp on line 10