PHP 4.0 Bug #9883: octal representation

From: Date: Tue, 20 Mar 2001 23:38:39 +0000
Subject: PHP 4.0 Bug #9883: octal representation
Groups: php.dev 
Request: Send a blank email to php-dev+get-49566@lists.php.net to get a copy of this message
From: koen@cee-kay.net Operating system: Linux PHP version: 4.0.4pl1 PHP Bug Type: *General Issues Bug description: octal representation Hi there, I don't know if this is a bug, but while writing a form to enter lap times like: hours,minutes,seconds,milliseconds milliseconds are likeley to start with a 0 (zero). Now I found that this results in the Decimal value of the Octal-integer. for example: 035 will be represented as: 29 Is this a bug or hidden feature? If this is not a bug, then is there any other way to pass a decimal value starting with a 0 (zero)? Kind regards, Koen Antonissen -- Edit Bug report at: http://bugs.php.net/?id=9883&edit=1

« previous php.dev (#49566) next »