Beispiel #1
0
$bar->display();
$bar->end();
print "\nGREEN\n";
$bar->setColorToGreen();
$bar->display();
$bar->end();
print "\nYELLOW\n";
$bar->setColorToYellow();
$bar->display();
$bar->end();
print "\nBLUE\n\n";
$bar->setColorToBlue();
$bar->display();
$bar->end();
print "\nMAGENTA\n\n";
$bar->setColorToMagenta();
$bar->display();
$bar->end();
print "\nCYAN\n\n";
$bar->setColorToCyan();
$bar->display();
$bar->end();
print "\nWHITE\n\n";
$bar->setColorToWhite();
$bar->display();
$bar->end();
print "\nDEFAULT\n\n";
$bar->setColorToDefault();
$bar->display();
$bar->end();
print "\nDONE!\n\n";