Re: PHP 4.0 Bug #8803 Updated: crazy implementation of printf/sprintf
| From: | Stig Venaas | Date: | Sun, 21 Jan 2001 10:11:34 +0000 |
| Subject: | Re: PHP 4.0 Bug #8803 Updated: crazy implementation of printf/sprintf | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-44670@lists.php.net to get a copy of this message | ||
On Fri, Jan 19, 2001 at 04:24:16PM +0100, Sascha Schumann wrote:
> Does %.2x work? If not, then it is indeed not in compliance
> with C99. 7.19.6 says:
The comments in ext/standard/formatted_print.c says:
* New sprintf implementation for PHP.
*
* Modifiers:
*
* " " pad integers with spaces
* "-" left adjusted field
* n field size
* "."n precision (floats only)
I think this should be implemented as well, maybe make it a
feature request.
Stig