Update Command-line Output, i.e. for Progress
This can be done using ANSI Escape Sequences — see here for a list. In PHP, you’ll use “\033” when it’s indicated ESC on that page. In your case, you could use something like this : echo “Progress : “; // 5 characters of padding at the end for ($i=0 ; $i<=100 ; $i++) { … Read more