Re: [PHP4BETA] cvs: /php4/ext/standard formatted_print.c
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: [PHP4BETA] cvs: /php4/ext/standard formatted_print.c | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3079@lists.php.net to get a copy of this message | ||
> > Modified files:
> > /php4/ext/standard formatted_print.c
> > Log:
> > [s]printf fix for bug #1952
> > (note, [s]printf doesn't work in PHP 4 yet)
>
> Hmm, it works fine for me - what doesn't work for you?
Maybe my box is on drugs then. But this script:
<?
printf("%06d",-400);
?>
generates:
<b>Warning</b>: Wrong parameter count for printf() in <b>e</b> on line
<b>2</b><br>
Using the cgi version on Linux.
-Rasmus