note 18239 rejected from function.substr-count by irc-html
| From: | irc-html@php.net | Date: | Tue, 15 Jan 2002 19:55:24 +0000 |
| Subject: | note 18239 rejected from function.substr-count by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-24852@lists.php.net to get a copy of this message | ||
$myString = "L<b>e</b>s Inconnus dis<b>e</b>nt: Il
n<b>e</b> faut pas pr<b>e</b>ndr<b>e</b> l<b>e</b>s
g<b>e</b>ns pour d<b>e</b>s cons mais il n<b>e</b> faut pas
oubli<b>e</b>r qu'ils le son!!";
echo "myString: $MyString<br>\n";
$nbE = substr_count($maChaine, "e");
echo "There is $nbE 'e' in this string<br>\n";
why does this code return 11: there is 10 e !!!!