title: How do I observe a rate Limit in PHP?
body: <p>So, I'm requesting data from an API.
  So far, my API key is limited to:</p>
  
  <p>10 requests every 10 seconds
  500 requests every 10 minutes</p>
  
  <p>Bascially, I want to request a specific value from every game the user has played.
  That are, for example, about 300 games.</p>
  
  <p>So I have to make 300 requests with my PHP. How can I slow them down to observe the rate limit?
  (It can take time, site does not have to be fast)</p>
  
  <p>I tried sleep(), which resulted in my script crashing.. Any other ways to do this?</p>