<?php$resultado = array();for ($i = 0; $i <= 5; $i++) array_push($resultado, rand(1, 60));print_r($resultado);sort($resultado);print_r($resultado); //https://pt.stackoverflow.com/q/85574/101
Standard input is empty
Array ( [0] => 8 [1] => 8 [2] => 42 [3] => 58 [4] => 46 [5] => 25 ) Array ( [0] => 8 [1] => 8 [2] => 25 [3] => 42 [4] => 46 [5] => 58 )
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!