Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 1.7.6
-
Fix Version/s: 1.8.0
-
Component/s: Zend_ProgressBar
-
Labels:None
Description
Included is a patch that allows this to output without causing progressbar and verbose data to be mixed.
$total = 20; $progressBar = new Zend_ProgressBar(new Zend_ProgressBar_Adapter_Console(array('output'=>"php://stderr")), 0, $total); for($i = 1; $i <= $total; ++$i) { printf("dumping verbose data\n"); $progressBar->update($i); usleep(200000); } $progressBar->finish();
php test.php > output.log
Implemented with r14235. Will be included with 1.8.