Re: [PHP4BETA] cvs: /php4/ext/standard formatted_print.c
| From: | Zeev Suraski | Date: | Wed, 04 Aug 1999 20:19:34 +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-3118@lists.php.net to get a copy of this message | ||
22:18 zeev-ttyp8 Bourbon2:~/php4/cgi> ./php
<?
printf("%06d",-400);
?>
Content-Type: text/html
00-400
(that's not the latest version).
It does seem as if your box is on drugs..?
Zeev
At 00:21 04/08/99 , Rasmus Lerdorf wrote:
-- Zeev Suraski <zeev@zend.com> http://www.zend.com/ For a PGP public key, finger bourbon@netvision.net.ilModified files:Hmm, it works fine for me - what doesn't work for you? Maybe my box is on drugs then. But this script: <?/php4/ext/standard formatted_print.cLog: [s]printf fix for bug #1952 (note, [s]printf doesn't work in PHP 4 yet)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