note 17848 added to function.sscanf
| From: | php at genealogie dot com | Date: | Fri, 28 Dec 2001 18:23:00 +0000 |
| Subject: | note 17848 added to function.sscanf | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-23916@lists.php.net to get a copy of this message | ||
Workaround for PHP3.
A string variable containing a number can be changed to a number
automatically.
$str = "12345";
echo $str + 10;
12355
--
http://www.php.net/manual/en/function.sscanf.php
http://master.php.net/manage/user-notes.php?action=edit+17848
http://master.php.net/manage/user-notes.php?action=delete+17848
http://master.php.net/manage/user-notes.php?action=reject+17848