Anonymous
public text v1 · immutable<?
## Initialize testArray as Array()
$testArray = array();
## Begin loop to fill testArray[]
for ($i=0; $i<5; $i++) {
$a = rand(0,5555);
$testArray[$a] = $i;
} // END FOR
sort($testArray);
## Display contents of testArray
echo "<pre>";
print_r($testArray);
echo"</pre>";
### END PHP
?>