AlkantarClanX12
Current Path : /opt/alt/php55/usr/share/doc/pear/ConsoleTools/docs/ |
Current File : //opt/alt/php55/usr/share/doc/pear/ConsoleTools/docs/tutorial_example_06_progressbar_basic.php |
<?php require_once 'tutorial_autoload.php'; $output = new ezcConsoleOutput(); $bar = new ezcConsoleProgressbar( $output, 15 ); for ( $i = 0; $i < 15; $i++ ) { $bar->advance(); usleep( mt_rand( 2000, 200000 ) ); } $bar->finish(); $output->outputLine(); ?>