PHP 4.0 Bug #8403: Number Parsing error

From: Date: Sun, 24 Dec 2000 15:35:48 +0000
Subject: PHP 4.0 Bug #8403: Number Parsing error
Groups: php.dev 
Request: Send a blank email to php-dev+get-42218@lists.php.net to get a copy of this message
From: anil@recoil.org Operating system: OpenBSD 2.8 PHP version: 4.0.4 PHP Bug Type: Scripting Engine problem Bug description: Number Parsing error A friend pointed this out, and it really does seem wierd. This script: <? $a = 090; var_dump($a); $b = 90; var_dump($b); ?> Produces the following output: int(0) int(90) Why is '090' getting parsed to int(0), when it should be int(90) ? -- Edit Bug report at: http://bugs.php.net/?id=8403&edit=1

« previous php.dev (#42218) next »