note 91729 deleted from language.types.type-juggling by danbrown
| From: | danbrown@php.net | Date: | Wed, 24 Jun 2009 13:33:45 +0000 |
| Subject: | note 91729 deleted from language.types.type-juggling by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-157359@lists.php.net to get a copy of this message | ||
Note Submitter: edgar at goodforall dot eu
----
Therefore you need to use === instead of ==, the first prevents casting and compares type and value.