From:             mjsabby at gmail dot com
Operating system: Fedora 7
PHP version:      6CVS-2008-02-09 (CVS)
PHP Bug Type:     Apache2 related
Bug description:  virtual() not outputting results if zlib ouptut compression 
is on

Description:
------------
It seems in PHP6 (from CVS), virtual() doesn't work, well not the way it
used to if zlib.output_compression = On

In fact, as soon as the virtual request is called, the remaining output's
after that call are also not sent to the browser.

However, apache access logs say that they served correct amount of bytes.

Setting zlib.output_compression = Off makes it work just fine.

Reproduce code:
---------------
pointless.txt:
 Hello World 

virtual.php
<?php
echo "I can see this\n";
virtual('pointless.txt');
echo "\nBut not this";

Expected result:
----------------
I can see this
Hello World
But not this

Actual result:
--------------
I can see this

-- 
Edit bug report at http://bugs.php.net/?id=44083&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=44083&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=44083&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=44083&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=44083&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=44083&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=44083&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=44083&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=44083&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=44083&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=44083&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=44083&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=44083&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=44083&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=44083&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=44083&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=44083&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=44083&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=44083&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=44083&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=44083&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=44083&r=mysqlcfg

Reply via email to