note 112761 added to function.strpos
| From: | Marek | Date: | Sat, 20 Jul 2013 09:01:19 +0000 |
| Subject: | note 112761 added to function.strpos | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-195687@lists.php.net to get a copy of this message | ||
To ensure that you do not mix the false value with the position zero index, you may want to add
(concatenate) a space " ". with your string to be searched prior to using strpos, or
whatever character you do not expect to be looking for in the string.
----
Server IP: 69.147.83.199
Probable Submitter: 95.160.12.150
----
Manual Page -- http://php.net/manual/en/function.strpos.php
Edit -- https://master.php.net/note/edit/112761
Del: integrated -- https://master.php.net/note/delete/112761/integrated
Del: useless -- https://master.php.net/note/delete/112761/useless
Del: bad code -- https://master.php.net/note/delete/112761/bad+code
Del: spam -- https://master.php.net/note/delete/112761/spam
Del: non-english -- https://master.php.net/note/delete/112761/non-english
Del: in docs -- https://master.php.net/note/delete/112761/in+docs
Del: other reasons-- https://master.php.net/note/delete/112761
Reject -- https://master.php.net/note/reject/112761
Search -- https://master.php.net/manage/user-notes.php