note 87870 deleted from function.strpos by danbrown
| From: | danbrown@php.net | Date: | Sun, 28 Dec 2008 01:42:21 +0000 |
| Subject: | note 87870 deleted from function.strpos by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-148598@lists.php.net to get a copy of this message | ||
Note Submitter: jburns131 at jbwebware dot com
----
Sorry, syntax error in the previous post:
Make sure you add extra brackets surrounding each clause in the if clause:
<?php
if (((string)$needlePos) === ((string)0)) {
// Do stuff
}
?>