RE: PHP 4.0 Bug #9883 Updated: octal representation

From: Date: Thu, 22 Mar 2001 08:40:18 +0000
Subject: RE: PHP 4.0 Bug #9883 Updated: octal representation
Groups: php.dev 
Request: Send a blank email to php-dev+get-49713@lists.php.net to get a copy of this message
Thank you for your quick response, May I suggest to, in future updates, implement this feature in a different syntax, for example 0c instead of 0 for Octals, because I think a number starting with a zero, the zero should be ignored as in most languages. Kind regards, Koen -----Original Message----- From: Bug Database [mailto:php-dev@lists.php.net] Sent: woensdag 21 maart 2001 7:06 To: Koen Antonissen Subject: PHP 4.0 Bug #9883 Updated: octal representation 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 (#49713) next »