- time: documentation ( source)
- array_reverse: documentation ( source)
- date: documentation ( source)
- sleep: documentation ( source)
- range: documentation ( source)
- rand: documentation ( source)
<?php
foreach( array_reverse( range(0, 10) ) as $integer ) {
echo date( 'c', time()*( rand() * $integer + 1 ) ) . "\n";
sleep(1);
}