note 33206 added to function.strpos
| From: | jdolecek at NetBSD dot org | Date: | Thu, 19 Jun 2003 10:13:54 +0000 |
| Subject: | note 33206 added to function.strpos | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-50627@lists.php.net to get a copy of this message | ||
Previous could be done using the !== operator, i.e.:
if ($pos !== false) { echo " selected"; }
----
Manual Page -- http://www.php.net/manual/en/function.strpos.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33206
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33206&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33206&report=yes