note 51489 deleted from function.strpos by danbrown
| From: | danbrown@php.net | Date: | Sun, 17 May 2009 16:40:56 +0000 |
| Subject: | note 51489 deleted from function.strpos by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-154877@lists.php.net to get a copy of this message | ||
Note Submitter: webKami [at] akdomains.com
----
You can easily skip these two meaningless comment lines in my last function.These comments are for
old version of the function, I was not using length of needle in that version. Code is fine itself,
I suppose ;)
<?
...
//start $pos from -1, cause we are adding 1 into it while searchig
//so the very first iteration will be 0
...
?>