Bug #13109 Updated: Differences in echoing 01 to 07 and 08 to 09
| From: | sander@php.net | Date: | Mon, 03 Sep 2001 16:24:06 +0000 |
| Subject: | Bug #13109 Updated: Differences in echoing 01 to 07 and 08 to 09 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-64977@lists.php.net to get a copy of this message | ||
ID: 13109
Updated by: sander
Reported By: guido.heckmann@wwl.de
Old Status: Open
Status: Bogus
Bug Type: Variables related
Operating System: Windows NT 4.0 build 1381
PHP Version: 4.0.6
New Comment:
The 0 means that the number is in octal representation. Octal 8 doesn't exists, octal uses only
0-7.
Previous Comments:
------------------------------------------------------------------------
[2001-09-03 11:08:53] guido.heckmann@wwl.de
When I write the following:
$monat = 01;
echo $monat;
the echovalue is: 1
but with:
$monat = 08;
echo $monat;
the echovalue is: 0
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13109&edit=1