3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( PHP_INT_MAX => 'MAX', PHP_INT_MIN => 'MIN', "9223372036854775808" => "Y" ); ksort( $array, SORT_NUMERIC ); var_dump( $array );

preferences:
45.3 ms | 405 KiB | 5 Q