#23894 [Opn->Ver]: sprinf format Problem
| From: | moriyoshi@php.net | Date: | Fri, 30 May 2003 13:12:04 +0000 |
| Subject: | #23894 [Opn->Ver]: sprinf format Problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-40704@lists.php.net to get a copy of this message | ||
ID: 23894
Updated by: moriyoshi@php.net
Reported By: s dot masugata at digicom dot dnp dot co dot jp
-Status: Open
+Status: Verified
Bug Type: Strings related
Operating System: RedHat Linux6.2J
PHP Version: 4.3.2
-Assigned To:
+Assigned To: moriyoshi
Previous Comments:
------------------------------------------------------------------------
[2003-05-30 05:12:17] s dot masugata at digicom dot dnp dot co dot jp
Operation of sprintf is amusing.
<?
$A = -1;
echo bin2hex( sprintf( "%02d:", $A ) );
phpinfo( );
?>
reslt:[2d31003a]
NULL is added.
It's satisfactory at 4.1.2 or 4.3.1.
An environmental problem?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23894&edit=1