title: How to test PHP max_execution_time and default_socket_timeout with a simple PHP script?
body: <p>I discovered that in php (on linux at least) the sleep(seconds); does NOT count toward timeouts!</p>
  <p>So, my question is, what can I use &quot;instead&quot; of sleep(300); etc in a simple php script to test these timeouts?</p>
  <p>(I'm trying to debug some php run via cgi/fastcgi, on php newer than 5.4 where safe mode was removed. Although deprecated setting's still present in our old php.ini, set to off.)</p>