RE: [PHP] Comparison Operator
| From: | Michael Sims | Date: | Thu, 01 Jul 2004 14:31:59 +0000 |
| Subject: | RE: [PHP] Comparison Operator | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-189466@lists.php.net to get a copy of this message | ||
Gabe wrote:
> I was looking at the comparison operators page and noticed that these
> two operators were listed as "PHP4 only". Is that an error, or are
> they really not used in PHP5? I don't want to use them if they're
> going to break when I upgrade. And if they aren't included, then
> does something else replace their functionality?
>
> Operators in question:
> ===
> !==
The "PHP 4 only" means those operators did not exist in PHP version 3. The
documentation should probably say "PHP 4 or later only"...