note 99954 added to function.intval
| From: | tratcomcardotcodotuk at osu1 dot php dot net | Date: | Thu, 16 Sep 2010 13:35:59 +0000 |
| Subject: | note 99954 added to function.intval | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-172638@lists.php.net to get a copy of this message | ||
Be careful when passing this function a string value with a leading "0". If you give it
"09" for example, it will treat it as BASE 8 - 9. I was going crazy as my code was telling
me that 09 > 9.
----
Server IP: 69.147.83.197
Probable Submitter: 82.32.26.149
----
Manual Page -- http://www.php.net/manual/en/function.intval.php
Edit -- https://master.php.net/note/edit/99954
Del: integrated -- https://master.php.net/note/delete/99954/integrated
Del: useless -- https://master.php.net/note/delete/99954/useless
Del: bad code -- https://master.php.net/note/delete/99954/bad+code
Del: spam -- https://master.php.net/note/delete/99954/spam
Del: non-english -- https://master.php.net/note/delete/99954/non-english
Del: in docs -- https://master.php.net/note/delete/99954/in+docs
Del: other reasons-- https://master.php.net/note/delete/99954
Reject -- https://master.php.net/note/reject/99954
Search -- https://master.php.net/manage/user-notes.php