I pinged the Places API 17,000 times in one hour. A while loop in PHP will run until it gets a false back. I was using the $response['next_page_token'] from the initial request which will always return true. The value that I put in the while loop always returns true and therefore sends the whileloop into an infinite loop.

3m read timeFrom dev.to
Post cover image

Sort: