Re: PHP output trapping support

From: Date: Sun, 16 May 1999 21:01:13 +0000
Subject: Re: PHP output trapping support
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-5721@lists.php.net to get a copy of this message
----- Original Message ----- From: Zeev Suraski <bourbon@netvision.net.il> To: Manuel Lemos <mlemos@acm.org> Cc: <php3@lists.php.net>; <zend@zend.com>; <php-dev@lists.php.net> Sent: Sunday, May 16, 1999 3:06 PM Subject: Re: [PHP-DEV] PHP output trapping support > On Sun, 16 May 1999, Manuel Lemos wrote: > > > Anyway, I wonder is there is a way to output messages that are not buffered > > even if buffering was enabled so I can output things like error messages > > without changing the current buffer. For instance, will PHP warnings be > > buffered if buffering is enabled? > > Everything is buffered, and is done at a very low level of PHP (in fact, > it belongs in a layer that connects PHP and the Web server). There are no > special cases, and I don't intend to add any. > > This functionality wasn't added to make filters possible within PHP, and > there's no intention to change it to be one. It was meant mostly so that > people can write code more loosely, including header() and setcookie() > calls after output is supposedly generated, without worrying about the > headers being sent prematurely. The fact you can obtain the buffer and > clear it without sending it was added just because it's useful, easy to > implement and arrives at no cost - not because we had a 'strategic > decision' to added filter/layering support into PHP. > > > BTW, do you have a more clear idea of PHP 4/Zend availability dates in > > alpha, beta, final release phases? > > An initial beta of Zend, combined with an alpha of PHP 4.0 has been > released to the core/major developers of PHP about two months ago. Since > then PHP 4.0 advanced significantly and Zend has been mostly stabalized, > which seem to put PHP 4.0 in beta quality. > > I believe we'd have a public beta release of PHP 4.0 within less than two > months (stress on 'believe', not guarentee), as all major parts of it have > been implemented. The final release date depends only on the stability of > the code and the feedback we get from users. > > Zeev > > -- > ----------------------------------------------------- > Zeev Suraski <zeev@zend.com> > For a PGP public key, finger bourbon@netvision.net.il > > > -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#5721) next »