title: PHP ini_set max_execution_time and memory_limit not working
body: <p>I have the following code inside a file (I'm running it directly via Terminal or I access the webpage, it makes no difference).</p>
  
  <pre><code>error_reporting(E_ALL ^ E_NOTICE);
  ini_set('display_errors', true);
  ini_set('max_execution_time', 1);
  ini_set('memory_limit', '512M');
  sleep(2);
  echo ini_get('max_execution_time');
  </code></pre>
  
  <p>And it outputs <code>1</code>. Should it not throw an error, saying that the execution time was excedeed?</p>
  
  <p>From <code>phpinfo()</code> I get:</p>
  
  <pre><code>max_execution_time  1   55
  memory_limit    512M    1024M
  </code></pre>