note 84428 deleted from language.operators.comparison by mgf
| From: | mgf@php.net | Date: | Mon, 14 Jul 2008 12:25:00 +0000 |
| Subject: | note 84428 deleted from language.operators.comparison by mgf | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-141481@lists.php.net to get a copy of this message | ||
Note Submitter: gnackattack at gmail dot com
----
In response to Irobeth...
I think that occurs simply because
'if' . ($sql === "equals")
would evaluate to true, as far as I'm aware. As I understand it, the ternary operator will
process the entire thing, and since 'if' is not an empty or null string it will evaluate
to true.