note 21239 added to language.types.type-juggling
| From: | brewman at nospam dot gmx dot at | Date: | Sat, 04 May 2002 15:43:54 +0000 |
| Subject: | note 21239 added to language.types.type-juggling | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-30169@lists.php.net to get a copy of this message | ||
The conversion functions set the variable to 0 if the conversion doesn't work out.
i.e.:
$dateconv=(int)("illegal string");
echo $dateconv;
yields output of "0".
--
http://www.php.net/manual/en/language.types.type-juggling.php
http://master.php.net/manage/user-notes.php?action=edit+21239
http://master.php.net/manage/user-notes.php?action=delete+21239
http://master.php.net/manage/user-notes.php?action=reject+21239