|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-02-05 11:00 UTC] mmicael at gmail dot com
[2013-02-05 11:00 UTC] mmicael at gmail dot com
-Operating System: Any
+Operating System: linux
[2013-02-05 11:54 UTC] mmicael at gmail dot com
[2013-02-05 13:16 UTC] yvan at dugwood dot com
[2013-02-05 13:26 UTC] mmicael at gmail dot com
[2013-02-07 14:54 UTC] mike@php.net
[2013-02-07 14:54 UTC] mike@php.net
-Status: Open
+Status: Feedback
[2013-02-07 14:59 UTC] mmicael at gmail dot com
-Status: Feedback
+Status: Open
[2013-02-07 14:59 UTC] mmicael at gmail dot com
[2013-02-07 15:03 UTC] mike@php.net
-Status: Open
+Status: Feedback
[2013-02-07 15:03 UTC] mike@php.net
[2013-02-07 15:06 UTC] mmicael at gmail dot com
[2013-02-07 15:06 UTC] mmicael at gmail dot com
-Status: Feedback
+Status: Open
[2013-02-07 15:16 UTC] mike@php.net
[2013-02-07 15:16 UTC] mike@php.net
-Status: Open
+Status: Not a bug
[2013-02-07 15:23 UTC] mmicael at gmail dot com
[2013-02-07 15:45 UTC] mike@php.net
[2013-02-07 15:45 UTC] mike@php.net
-Status: Not a bug
+Status: Open
-Assigned To:
+Assigned To: mike
[2013-03-27 14:04 UTC] mmicael at gmail dot com
[2015-04-13 15:23 UTC] mike@php.net
-Status: Assigned
+Status: Closed
[2015-04-13 15:23 UTC] mike@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 20:00:01 2025 UTC |
Description: ------------ When we do a HEAD Request Method in php 5.4, php continue executing script even if the output buffer exceed the max output_buffering. the next ob_start, ob_get_contents always return empty string In php 5.2 and 5.3, the script die after sending the first output buffer that reach the max output_buffering. Test script: --------------- $string = ''; for($i=0;$i<5000;$i++) $string .= '0'; ob_start(); echo "test1"; $content = ob_get_contents(); ob_end_clean(); error_log("1-$content"); echo $string; ob_start(); echo "test2"; $content .= ob_get_contents(); ob_end_clean(); echo $string; error_log("2-$content"); Expected result: ---------------- In php 5.2 and 5.3 1-test1 Actual result: -------------- In php 5.4 1-test1 2-test1