#18921 [NEW]: integer values 08, 09 convert to string as 0

From: Date: Thu, 15 Aug 2002 17:54:48 +0000
Subject: #18921 [NEW]: integer values 08, 09 convert to string as 0
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16921@lists.php.net to get a copy of this message
From:             ben@parcelrecords.com
Operating system: Windows 2000
PHP version:      4.2.2
PHP Bug Type:     Strings related
Bug description:  integer values 08, 09 convert to string as 0

Ok,
<? echo 01, 02, 03, 04, 05, 06, 07, 08, 09, 10; ?>
prints
12345670010
instead of
12345678910

8 and 9 are now zeroes
-- 
Edit bug report at http://bugs.php.net/?id=18921&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=18921&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=18921&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=18921&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=18921&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18921&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=18921&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=18921&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=18921&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=18921&r=globals



Thread (2 messages)

« previous php.bugs (#16921) next »