note 76103 deleted from function.strstr by thiago
| From: | thiago@php.net | Date: | Tue, 28 Oct 2008 13:41:39 +0000 |
| Subject: | note 76103 deleted from function.strstr by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-145863@lists.php.net to get a copy of this message | ||
Note Submitter: Christian Dywan
----
@Eric:
Please do not test for the occurence of a substring with strstr. As you should already have read
above, strpos is much faster for this.