note 126856 deleted from tutorial.useful by cmb
| From: | cmb@php.net | Date: | Wed, 16 Feb 2022 11:41:10 +0000 |
| Subject: | note 126856 deleted from tutorial.useful by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-217622@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
Why use if a negative if?
You could write the following:
if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') === TRUE) {
That would make a thousand times more sense in my world.
Why use the negative and False? I really don't get it