ID: 14226
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Output Control
Operating System: Linux 2.4.4/glibc 2.2.2
PHP Version: 4.1.0RC CVS (2001/12/2)
New Comment:

Ok I think I found what's wrong in PHP.
If zlib.output_compression is enabled and the zlib output compression handler is 
deleted from php_ob_buffer,  output will not be sent.

I'll leave the real fix for people who knows about zlib output compression and output 
buffering.

I just need to know nesting level to make my script work as I want. I'll send patch  
for the new function later.


Previous Comments:
------------------------------------------------------------------------

[2001-12-02 08:20:20] [EMAIL PROTECTED]

A little update.
ob_end_flush() has problem also.


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

[2001-11-26 06:16:30] [EMAIL PROTECTED]

I cannot reproduce segfualt, but it seems PHP may segfault with this. Here is apache 
error log.

[Mon Nov 26 19:45:19 2001]  Script:  '/home/yohgaki/public_html/bugs/output/bug.php'
---------------------------------------
output.c(245) : Block 0x0818A668 status:
Beginning:      Overrun (magic=0x401D1178, expected=0x7312F8DC)
      End:      Unknown
---------------------------------------
[Mon Nov 26 19:45:19 2001]  Script:  '/home/yohgaki/public_html/bugs/output/bug.php'
---------------------------------------
output.c(245) : Block 0x0818A668 status:
Beginning:      Overrun (magic=0x401D1178, expected=0x7312F8DC)
      End:      Unknown
---------------------------------------
[Mon Nov 26 19:45:19 2001]  Script:  '/home/yohgaki/public_html/bugs/output/bug.php'
---------------------------------------
output.c(245) : Block 0x0818A668 status:
Beginning:      Overrun (magic=0x401D1178, expected=0x7312F8DC)
      End:      Unknown
---------------------------------------
[Mon Nov 26 19:45:19 2001] [notice] child pid 6681 exit signal Segmentation fault (11)


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

[2001-11-26 06:06:17] [EMAIL PROTECTED]

4.1.0RC and 4.2.0-dev doesn't output last echo statement. 
Nesting level handling problem?

<?php
ob_start();
echo "AAAAAAAAAAAAAAAAAAAAAAA";

ob_end_clean();
ob_end_clean();
ob_end_clean();
ob_end_clean();
ob_end_clean();
ob_end_clean();
ob_end_clean();
ob_end_clean();
ob_end_clean();

echo "BBBBBBBBBBBBBBBBBBBBBBB";

?>



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



Edit this bug report at http://bugs.php.net/?id=14226&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to