note 83111 deleted from tutorial.useful by philip
| From: | philip@php.net | Date: | Fri, 13 Jun 2008 04:36:05 +0000 |
| Subject: | note 83111 deleted from tutorial.useful by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-140398@lists.php.net to get a copy of this message | ||
Note Submitter: daniel
----
In response to the "Double Negative" post.
I think you missed the line where it says that the function does not return 'true' it
returns a position. So you cannot evaluate == true you must evaluate !== false because strpos() only
returns a number or false.