note 23598 added to function.strpos
| From: | redeagle at chello dot nl | Date: | Tue, 23 Jul 2002 12:39:47 +0000 |
| Subject: | note 23598 added to function.strpos | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-33423@lists.php.net to get a copy of this message | ||
I've just did a test using strpos:
-
$test = strpos("abc", "abc");
echo($test);
-
Note that $test will return zero (false) if the seccond parameter is the same as the first
parameter.
--
http://www.php.net/manual/en/function.strpos.php
http://master.php.net/manage/user-notes.php?action=edit+23598
http://master.php.net/manage/user-notes.php?action=delete+23598
http://master.php.net/manage/user-notes.php?action=reject+23598