note 57245 deleted from function.strpos by danbrown
| From: | danbrown@php.net | Date: | Sun, 17 May 2009 16:38:48 +0000 |
| Subject: | note 57245 deleted from function.strpos by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-154871@lists.php.net to get a copy of this message | ||
Note Submitter: paul at goldenbakery dot nl
----
@talthen at wp dot pl
Or you could just have typed:
if (strpos($string,$searchfor)===0)) ....
All you needed was en extra = instead of a whole function.