3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array(7, NAN, 3,); sort($arr, SORT_NUMERIC); var_dump($arr);

preferences:
54.19 ms | 402 KiB | 5 Q