note 9416 added to substr_count
| From: | ender at sbox dot tu-graz dot ac dot at | Date: | Thu, 02 Nov 2000 11:18:40 +0000 |
| Subject: | note 9416 added to substr_count | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7289@lists.php.net to get a copy of this message | ||
that's true, but your function substr_count () has a big BUG in it. if the $haystack starts
with an occurence of $needle the algorithm fails.
http://www.php.net/manual/function.substr-count.php