Bug #63788 [Fbk->NoF]: phpt for #51822 fails when run through Apache (works in CLI/FCGI)
Edit report at https://bugs.php.net/bug.php?id=63788&edit=1
ID: 63788
Updated by: php-bugs@lists.php.net
Reported by: lior dot k at zend dot com
Summary: phpt for #51822 fails when run through Apache (works
in CLI/FCGI)
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Apache2 related
Operating System: Linux
PHP Version: 5.4.9
Assigned To: cmb
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2021-11-02 13:25:32] cmb@php.net
That script works fine for me with PHP-7.4. Can anybody else
still reproduce the reported behavior with any of the actively
supported PHP versions[1]?
[1] <https://www.php.net/supported-versions.php>
------------------------------------------------------------------------
[2012-12-19 14:58:38] laruence@php.net
mike, could you please look at this?
the latter destructor is called via zend_deactivate, but at this
time , the output is deactived.
------------------------------------------------------------------------
[2012-12-19 14:36:51] lior dot k at zend dot com
Related commits (php 5.4 branch) are:
http://git.php.net/?p=php-src.git;a=commitdiff;h=bfccc4ed582ca432df9de3f2aedb3533be23c8ed
http://git.php.net/?p=php-src.git;a=commitdiff;h=3c038294292ee535d85650d30a100f019096b6aa
http://git.php.net/?p=php-src.git;a=commitdiff;h=29c8658dc82f2c00b0b9c9026a3c3457fd0aa2f8
------------------------------------------------------------------------
[2012-12-19 14:02:55] lior dot k at zend dot com
The distrustor does work, but the output buffer is already closed, and this is why the extra output
doesn't appear.
This can be seen easily by replacing the echo command with something like date >
/tmp/bla;
Also happens in Zend/tests/bug38779_1.phpt
------------------------------------------------------------------------
[2012-12-17 12:52:28] lior dot k at zend dot com
Description:
------------
Running bug51822.phpt doesn't give the expected result on PHP 5.4 when running as an Apache
module, works fine as CLI/FCGI. Checked with PHP 5.4.4 on Debian and PHP 5.4.9 on a private build.
PHP 5.3.19 works fine.
Test script:
---------------
bug51822.phpt from the PHP.net sources
(http://git.php.net/?p=php-src.git;a=blob;f=Zend/tests/bug51822.phpt;)
Expected result:
----------------
phpt expected output:
bla
1
2
Actual result:
--------------
PHP 5.4 output:
bla
1
PHP 5.3 output:
bla
1
2
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=63788&edit=1
Thread (7 messages)