php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #23965 Output Buffer Control Improvement
Submitted: 2003-06-02 16:07 UTC Modified: 2011-01-01 23:25 UTC
From: prof_moriarty at veryfast dot biz Assigned: jani (profile)
Status: Closed Package: Output Control
PHP Version: 4.3.2 OS: win98
Private report: No CVE-ID: None
 [2003-06-02 16:07 UTC] prof_moriarty at veryfast dot biz
A nice and simple one for you (well it's easy to theorise about, but i suspect it'd be quite a code overhaul of the OB Control stuff)...

Make OB stuff use resources/streams.
Similar to files, MySQL DB connections etc, etc, where you can open many files/connections, and each file/connection will have a unique stream.
How about doing something similar with OB control?

I know you can 'nest' the OB stuff at present, but there are some pretty big pitfuls to doing that.

Making them nice simple resources/streams would make life simpler for complicated scripts where output may appear at numerous places...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-01 23:25 UTC] jani@php.net
-Status: Open +Status: Closed -Package: Feature/Change Request +Package: *General Issues -Assigned To: +Assigned To: jani
 [2011-01-01 23:25 UTC] jani@php.net
OB stuff was rewritten for PHP 5.3 partially and fully in trunk.
 [2011-01-01 23:25 UTC] jani@php.net
-Package: *General Issues +Package: Output Control
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 14:01:28 2024 UTC