note 26049 deleted from function.strpos by vincent
| From: | vincent@php.net | Date: | Sun, 07 Sep 2003 11:39:57 +0000 |
| Subject: | note 26049 deleted from function.strpos by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-55563@lists.php.net to get a copy of this message | ||
Note Submitter: batman@superheroes.com
----
There is a mistake in the French Translation of one of the examples :
it reads :
// versions plus anciennes que 4.0b3:
$pos = strpos("b", $machaine);
if (is_string($pos) && !$pos) {
// non trouvé
}
but the arguments are inverted !
it should be
$pos = strpos($machaine,"b");
as in the english version.