note 26049 added to function.strpos

From: Date: Wed, 16 Oct 2002 10:58:13 +0000
Subject: note 26049 added to function.strpos
Groups: php.notes 
Request: Send a blank email to php-notes+get-38153@lists.php.net to get a copy of this message
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. -- http://www.php.net/manual/en/function.strpos.php http://master.php.net/manage/user-notes.php?action=edit+26049 http://master.php.net/manage/user-notes.php?action=delete+26049 http://master.php.net/manage/user-notes.php?action=reject+26049

« previous php.notes (#38153) next »