From: php at andyuhl dot com Operating system: Win2K PHP version: 4.3.0 PHP Bug Type: Output Control Bug description: ob_start callback function isn't called when script exceeds max_execution_time
The ob_start callback function doesn't seem to get called when the script runs long. To reproduce: <?php function callback($buffer) { return "callback function executed successfully."; } set_time_limit(5); ob_start("callback"); while (1) { // do nothing } ob_end_flush(); ?> This results in empty output for me. You can see my environment here: http://www.andyuhl.com/phpinfo.php -- Edit bug report at http://bugs.php.net/?id=22401&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22401&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22401&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22401&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22401&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22401&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22401&r=support Expected behavior: http://bugs.php.net/fix.php?id=22401&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22401&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22401&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22401&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22401&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22401&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22401&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22401&r=gnused