Re: cvs: php4 /ext/standard filters.c
| From: | Moriyoshi Koizumi | Date: | Tue, 07 Jan 2003 15:16:13 +0000 |
| Subject: | Re: cvs: php4 /ext/standard filters.c | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-93219@lists.php.net to get a copy of this message | ||
On Tue, Jan 07, 2003 at 08:46:09AM -0500, Andrei Zmievski wrote:
> Couldn't you have used parts of ext/standard/base64.c here instead of
> duplicating code?
At first I thought of using php_base64_encode() and php_base64_decode()
rather than reimplementing them. But because those functions are designed to
be used in string semantics while streams require a different facility
due to its statefulness, I couldn't use the existing implementation.
Moriyoshi