note 11837 added to language.types.php
| From: | yasuo_ohgaki at hotmail dot com | Date: | Fri, 09 Mar 2001 07:13:11 +0000 |
| Subject: | note 11837 added to language.types.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-12097@lists.php.net to get a copy of this message | ||
There is another type that is not described here. (I forgot to mention in previous post)
Boolean type which holds TRUE or FALSE.
Null type which holds nothing.
Null, Boolean and Resource type can be tested just like int, string, array.
is_bool($var), is_resource($var),is_null($var)
Refer to
http://www.php.net/manual/en/ref.var.php
for details.
http://www.php.net/manual/en/language.types.php