Hacker News new | ask | show | jobs
by andi999 1534 days ago
even worse, sometime 011 and 11 is very different even as a number. Some function from php if it converts strings to numbers, considers a trailing 0 as octal representation. Probably intval without base: https://www.php.net/manual/en/function.intval.php
1 comments

That would be a leading 0, not a trailing 0! :)
of course!