Re: PHP newbie question
| From: | Neil Zanella | Date: | Wed, 10 Jan 2001 21:11:10 +0000 |
| Subject: | Re: PHP newbie question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-33779@lists.php.net to get a copy of this message | ||
On Wed, 10 Jan 2001, Hsieh, Wen-Yang wrote:
> "" is false.
The following three seem to be the same in PHP3:
1) false
2) ""
3) 0
I guess that "" is automatically cast to 0 or to false
wherever an integer is required. Where can I find the
exact casting rules in PHP3/4 ?
Thanks,
Neil