3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for ($i = 0; $i++; $i < 100) { $arr[] = rand(1,100); } rsort($arr); print_r($arr);
Output for 4.3.0 - 7.1.7
Warning: rsort() expects parameter 1 to be array, null given in /in/IYRkg on line 7