set_file_buffer() weirdness
| From: | Colin Viebrock | Date: | Wed, 12 Apr 2000 21:59:19 +0000 |
| Subject: | set_file_buffer() weirdness | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-13476@lists.php.net to get a copy of this message | ||
Here's the start of the script:
#!/usr/local/bin/php -q
<?
$STDIN = fopen('php://stdin', 'r');
$STDOUT = fopen('php://stdout', 'w');
set_file_buffer($STDOUT, 0);
... etc. I'm getting:
Call to undefined function: set_file_buffer() on line 5
All I want to do is set the output buffer to 0 when writing to STDOUT.
Ideas?