|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-08-18 06:52 UTC] yohgaki@php.net
-Status: Open
+Status: Not a bug
[2013-08-18 06:52 UTC] yohgaki@php.net
[2013-08-19 22:07 UTC] jwestbrook at gmail dot com
[2013-08-19 22:19 UTC] mike@php.net
[2013-08-26 21:35 UTC] jwestbrook at gmail dot com
[2013-08-26 22:45 UTC] yohgaki@php.net
-Status: Not a bug
+Status: Feedback
[2013-08-26 22:45 UTC] yohgaki@php.net
[2013-08-27 00:42 UTC] jwestbrook at gmail dot com
-Status: Feedback
+Status: Open
[2013-08-27 00:42 UTC] jwestbrook at gmail dot com
[2013-09-26 14:30 UTC] mike@php.net
-Status: Open
+Status: Feedback
[2013-09-26 14:30 UTC] mike@php.net
[2013-10-15 11:54 UTC] php-bugs at lists dot php dot net
[2013-10-15 18:08 UTC] jwestbrook at gmail dot com
-Status: No Feedback
+Status: Closed
[2013-10-15 18:08 UTC] jwestbrook at gmail dot com
[2013-10-15 18:25 UTC] mike@php.net
-Status: Closed
+Status: Not a bug
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 18 20:00:01 2025 UTC |
Description: ------------ We recently upgraded from php 5.3 to php 5.4 and when the php.ini output_buffering setting is set to ON or anything greater than zero the output buffering does not always reliably start. This is a problem for some scripts that have a shebang as the first line to make the script easily executable. But if you send a header or anything else after that first line it will fail. based on the script attached the contents of the error log are buffer statues : Array\n(\n)\n Test script: --------------- #!/usr/bin/php <?php $buffer_length = ob_get_length(); if($buffer_length != 15) { error_log('buffer statues : '.print_r(ob_get_status(TRUE),1)); exit; } //this header call will not always be successful header("Content-type: application/pdf"); ?>