';*/ $progress = '#'; /* Indicator for what's remaining */ $remaining = '-'; /* Width of the progress bar */ $width = '100'; return new Console_ProgressBar($display, $progress, $remaining, $width, $length); }; $PBar = & displayProgressBar($options['length'], 'Testing Bar'); /* Loop for the length of the weight */ for ($i=0;$i<$options['length'];$i++) { /* Update the progress bar */ $PBar->update($i+1); time_nanosleep(0, 500000000); //sleep('1'); } ?>