note 21239 rejected from language.types.type-juggling by sander
| From: | sander@php.net | Date: | Sat, 04 May 2002 16:13:03 +0000 |
| Subject: | note 21239 rejected from language.types.type-juggling by sander | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-30170@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".