PHP 4.0 Bug #9883 Updated: octal representation

From: Date: Wed, 21 Mar 2001 06:05:37 +0000
Subject: PHP 4.0 Bug #9883 Updated: octal representation
Groups: php.dev 
Request: Send a blank email to php-dev+get-49586@lists.php.net to get a copy of this message
ID: 9883 Updated by: derick Reported By: koen@cee-kay.net Old-Status: Open Status: Bogus Bug Type: *General Issues Assigned To: Comments: This is indeed a feature. You can strip the null from the resulting string later, bu you have to do that by hand. Previous Comments: --------------------------------------------------------------------------- [2001-03-20 18:38:19] koen@cee-kay.net 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 --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9883&edit=2

« previous php.dev (#49586) next »