Last active
October 15, 2021 09:51
-
-
Save igorshirinkin/1f18f3646f95c97e825dcf14d062a437 to your computer and use it in GitHub Desktop.
Console throbber.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$index = 0; | |
$inserted = 0; | |
foreach ($prod_rows as $prod_row) { | |
printf( | |
"\rInserting to Target DB... [%s] row %d", | |
"|/-\\"[$index % 4], | |
$index + 1 | |
); | |
$index++; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment