Edit report at https://bugs.php.net/bug.php?id=64152&edit=1

 ID:                 64152
 Updated by:         m...@php.net
 Reported by:        mmicael at gmail dot com
 Summary:            php return wrong string with HEAD Request Method
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            Output Control
 Operating System:   linux
 PHP Version:        5.4.11
 Block user comment: N
 Private report:     N

 New Comment:

Which SAPI?
Are you sure, you don't see error_log output there?


Previous Comments:
------------------------------------------------------------------------
[2013-02-07 14:59:42] mmicael at gmail dot com

it's only doing a HEAD request_method with curl -I for exemple

in php 5.2 and 5.3, the script is stopped after the echo $string;
in php 5.4, he continue bug the ob_get_contents after the echo $string; return 
empty response

------------------------------------------------------------------------
[2013-02-07 14:54:52] m...@php.net

I cannot see a bug here, sure execution of the script continues...

------------------------------------------------------------------------
[2013-02-05 13:26:05] mmicael at gmail dot com

It's not the same bug

the other bug have already been integrated in php 5.4.11

my bug only appears with HEAD request_method

------------------------------------------------------------------------
[2013-02-05 13:16:56] yvan at dugwood dot com

Seems to be a duplicate of https://bugs.php.net/bug.php?id=61272

------------------------------------------------------------------------
[2013-02-05 11:54:55] mmicael at gmail dot com

It seems that the behaviour have change with this commit 

https://github.com/php/php-src/commit/11d24c1593d6617f73d3f290617bd8994182f4dc#

the ouput.c don't care anymore about headers_only

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=64152


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=64152&edit=1

Reply via email to