note 126703 deleted from function.strpos by cmb
| From: | cmb@php.net | Date: | Wed, 22 Dec 2021 11:22:39 +0000 |
| Subject: | note 126703 deleted from function.strpos by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-217404@lists.php.net to get a copy of this message | ||
Note Submitter: axew3 at axew3 dot com
----
That's really stupid obvious to mention:
if( is_int(strpos( '/adm2/phpbb33/adm/index.php?sid=5ffeb20ed9e870f03cc1fcef3faae65d',
'/adm')) )
{
echo'found0 ';
}
if( is_int(strpos(
'/adm2/phpbb33/adm/index.php?sid=5ffeb20ed9e870f03cc1fcef3faae65d', '/adm2')) )
{
echo'found1 ';
}
if( is_int(strpos(
'/adm2/phpbb33/adm/index.php?sid=5ffeb20ed9e870f03cc1fcef3faae65d', '/adm22')) )
{
echo'found2'; // not found, do not display
}