Bug #16497: Improper Numeric Conversion (08, 09)

From: Date: Mon, 08 Apr 2002 16:51:27 +0000
Subject: Bug #16497: Improper Numeric Conversion (08, 09)
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-4362@lists.php.net to get a copy of this message
From: ws13461@aod.fedex.com Operating system: Linux 7.2 PHP version: 4.1.2 PHP Bug Type: Variables related Bug description: Improper Numeric Conversion (08, 09) I ran across this problem in an array assignment, but it is reproducible with any variable assignment. PHP doesn't convert the following numeric assignments correctly. $a = 06; $b = 07; $c = 08; $d = 09; $e = 10; print $a; // prints 6 print $b; // prints 7 print $c; // prints 0 print $d; // prints 0 print $e; // prints 10 Thanks, Bill Scheffer FedEx Express (901) 224-4342 ws13461@aod.fedex.com -- Edit bug report at http://bugs.php.net/?id=16497&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16497&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16497&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16497&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16497&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16497&r=support Expected behavior: http://bugs.php.net/fix.php?id=16497&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16497&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16497&r=submittedtwice

« previous php.bugs (#4362) next »