show_progress_bar
show_progress_bar($show); - managing visibility and progress of execution
The function accepts parameters as input:
$show – flag for visibility of progress : true - show, false - hide
After testing, the function returns the result of its work to the script :
true – completed successfully
false – failed