#23894 [NEW]: sprinf format Problem

From: Date: Fri, 30 May 2003 10:12:17 +0000
Subject: #23894 [NEW]: sprinf format Problem
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-40695@lists.php.net to get a copy of this message
From: s dot masugata at digicom dot dnp dot co dot jp Operating system: RedHat Linux6.2J PHP version: 4.3.2 PHP Bug Type: Strings related Bug description: sprinf format Problem 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 bug report at http://bugs.php.net/?id=23894&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23894&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23894&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23894&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23894&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23894&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23894&r=support Expected behavior: http://bugs.php.net/fix.php?id=23894&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23894&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23894&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23894&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23894&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23894&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23894&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23894&r=gnused

« previous php.bugs (#40695) next »