#22401 [Opn->Fbk]: ob_start callback function isn't called when script exceeds max_execution_time

From: Date: Tue, 25 Feb 2003 08:20:51 +0000
Subject: #22401 [Opn->Fbk]: ob_start callback function isn't called when script exceeds max_execution_time
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-34182@lists.php.net to get a copy of this message
 ID:               22401
 Updated by:       sniper@php.net
 Reported By:      php at andyuhl dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Output Control
 Operating System: Win2K
 PHP Version:      4.3.0
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

Can not reproduce using latest CVS snapshot..



Previous Comments:
------------------------------------------------------------------------

[2003-02-24 13:07:56] php at andyuhl dot com

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 this bug report at http://bugs.php.net/?id=22401&edit=1



Thread (13 messages)

« previous php.bugs (#34182) next »