SHARE
TWEET

max_execution_limit

a guest Sep 29th, 2012 69 Never
  1. <?php
  2.  
  3. set_time_limit(1);
  4.  
  5. $i = 0;
  6.  
  7. ob_start();
  8.  
  9. function shutdown () {
  10.   $out = ob_get_clean();
  11.   echo "<div>out: <div style='color: blue;'>$out</div></div>";
  12. }
  13.  
  14. register_shutdown_function('shutdown');
  15.  
  16. echo '<div>max_execution_limit: ' . ini_get('max_execution_time') . '</div>';
  17.  
  18. while ($i < 10000000000000000) {
  19.     $i++;
  20. }
  21.  
  22. ?>
RAW Paste Data
Top