php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6506 ob_start() and output_buffering collide
Submitted: 2000-09-02 16:46 UTC Modified: 2000-09-03 06:03 UTC
From: m dot pohl at gmx dot de Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0.2 OS: Linux 2.2.16
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: m dot pohl at gmx dot de
New email:
PHP Version: OS:

 

 [2000-09-02 16:46 UTC] m dot pohl at gmx dot de
Hi,

while testing the latest version 4.0.2 i discovered that explicitly activating output buffering while the global flag "output_buffering" is on, breaks the output. This bugs is new and not in 4.0.1pl2.

The following small script show this effect 

<?php
ob_start();

print "<br>";
?>

if you set output_buffering=On, you will get no output.

Marc


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-03 06:03 UTC] stas@php.net
I guess you should do ob_end if you did ob_start...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 06:01:32 2024 UTC