Re: Re: your mail

From: Date: Sat, 15 May 1999 22:39:42 +0000
Subject: Re: Re: your mail
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-5653@lists.php.net to get a copy of this message
On Sun, May 16, 1999 at 01:17:20AM +0300, Zeev Suraski wrote: > It's done. PHP 4.0 supports output buffering. Using output buffering, > you can easily collect your output into a standard PHP variable, and then > feed it to a function or a file or whatever you have in mind. > > Zeev In the same sense, it would be useful, if there would exist a standard way of referring to stdin/stdout/stderr. I usually end up in opening the respective /dev/std* but this is indoubtly unportable. Additionally, having something like Perl's select() function would be cool which sets the standard output channel (maybe this is already covered by "output buffering"). E.g. $some_fd = fopen(...,"w"); select($some_fd); print "file content"; -- Regards, Sascha Schumann Consultant -- 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 (#5653) next »