note 10492 added to strlen
| From: | ccaffrey at stanford dot edu | Date: | Sun, 07 Jan 2001 13:02:28 +0000 |
| Subject: | note 10492 added to strlen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9448@lists.php.net to get a copy of this message | ||
To get the lenght of a decimal number you can simply use strlen($integer). Thus, strlen(31337) will
retrun 5.
http://www.php.net/manual/function.strlen.php