title: "real" execution time limit
body: <p>Using <a href="http://www.php.net/manual/en/function.set-time-limit.php" rel="noreferrer"><strong>set_time_limit()</strong></a> or <strong>max_execution_time</strong>, does not "really" limits (except on Windows) the execution time, because as stated in PHP manual:</p>
  
  <blockquote>
    <p>Note:</p>
    
    <p>The <strong>set_time_limit()</strong> function and the configuration directive
    <strong>max_execution_time</strong> only affect the execution time of the script
    itself. Any time spent on activity that happens outside the execution
    of the script such as system calls using <strong>system()</strong>, stream operations,
    database queries, etc. is not included when determining the maximum
    time that the script has been running. This is not true on Windows
    where the measured time is real.</p>
  </blockquote>
  
  <p>A solution is <a href="http://www.php.net/manual/en/function.set-time-limit.php#105569" rel="noreferrer">proposed in PHP comments</a> to have a "real" execution time limit like what I'm looking for, but I found it unclear/confusing.</p>