Re: sprintf and strings with NULL byte
| From: | rasmus at lerdorf dot on dot ca | Date: | Wed, 25 Apr 2001 21:26:10 +0000 |
| Subject: | Re: sprintf and strings with NULL byte | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-52441@lists.php.net to get a copy of this message | ||
> On Wed, 25 Apr 2001, rasmus@lerdorf.on.ca wrote:
> > Oh, and I went and fixed this anyway.
>
> That's cool.
>
> > I'd just split that php_formatted_print() function into two parts. One
> > that does the argument handling and one that just does the work like we
> > have done with so many other functions.
>
> Yes, we can do that. But does php_formatted_print() have feature parity
> with glibc printf()?
Well, no, because it is now binary-clean! ;)
Do you need exact 1:1 parity? It does most of the things that glibc
printf() does.
-Rasmus