Re: sprintf and strings with NULL byte
| From: | (Stig Sæther Bakken) | Date: | Wed, 25 Apr 2001 21:51:49 +0000 |
| Subject: | Re: sprintf and strings with NULL byte | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-52446@lists.php.net to get a copy of this message | ||
[<rasmus@lerdorf.on.ca>]
> > 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.
glibc printf doesn't have %b :-)
- Stig
--
Stig Sæther Bakken <ssb@fast.no>
Fast Search & Transfer ASA, Trondheim, Norway