note 110602 deleted from language.types.intro by googleguy
| From: | googleguy@php.net | Date: | Thu, 15 Nov 2012 18:57:17 +0000 |
| Subject: | note 110602 deleted from language.types.intro by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-192005@lists.php.net to get a copy of this message | ||
Note Submitter: rakesh
----
The reason why is_* functions should be used instead of gettype is that the string returned from
gettype will probably change in future versions and is_* functions are faster because there is no
string comparisons involved