title: How to echo a ' . ' in every 3 seconds while your application is running?
body: <p>I am running my PHP in CLI.
  My script might take about 3-4 mn to complete.
  When looking at the CLI, all I see is this : </p>
  
  <p><img src="https://i.stack.imgur.com/6WAQi.png" alt="enter image description here"></p>
  
  <p>That doesn't help me much, I am not sure whether my application is stuck or still running. (Visually)</p>
  
  <p>What is the best way to keep track of that ? 
  I am thinking to echo "." in every 3 seconds while my application is running.</p>
  
  <p>Basically, I want to give myself some visually feedback while my script is loading/running.</p>
  
  <p><strong>If you going to suggest me to log it :</strong><br>
  I actually do log my $response and output it to a file somewhere in my desktop, and the reason why I am asking this question, I just want to create a visually feedback - like when you playing a video game and while you waiting for something to finish loading, you will see the screen with <code>Now loading ........</code> or something that is similar to that - am I right ?</p>
  
  <p>Yes - I want to make something similar to that ! </p>