|
>>
|
No. 486
>>482
Ok, I admit that that's a feature,not a bug.
But still ? how many php developers use octal numbers?
and how many developers who need to parse, say, current date, surprisingly find that 15/08/2008 is earlier than 15/07/2008 because of that so-called feature?
>and your solution doesn't solve anything - you just push the burden of the hard to find bug to anyone who is actually using octal values and gets bad input
if I'll ever use octal numbers or other similar things, I'd tripple check them, and everybody should do the same, because you never know, what surprises interpreter got for you in that case.
anyway, my point is ? if interpreter/compiles is not sure if, say, 06789 is decimal or octal, it should at least give you a warning, and don't just silently ignore the rest of numbers
|