3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($i=0;$i<100;$i++) { $numbers = array(1,3,5,77,37,523,243,546,14,3,4,6,5); for ( $i = 0; $i < count($numbers); $i++ ) { for ($j = 0; $j < count($numbers); $j++ ) { if ($numbers[$i] < $numbers[$j]) { $temp = $numbers[$i]; $numbers[$i] = $numbers[$j]; $numbers[$j] = $temp; } } } }
based on LPDgD
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0

Process exited with code 137.