From: hongnk at hotmail dot com
Operating system: Win2K
PHP version: 4.3.4
PHP Bug Type: Scripting Engine problem
Bug description: strrpos gives wrong result

Description:
------------
Strrpos (count last occurence) give wrong result. Only in 4.3.4 and maybe
earlier. 5.00b2 is OK. But strpos (count ocurrence) is correct in all
versions.

Running Apache with php4apache.dll module on Win2K.

Reproduce code:
---------------
var_dump(strrpos("Admins;Users;","All Users"));

Expected result:
----------------
boolean false

Actual result:
--------------
int 0;

--
Edit bug report at [url]http://bugs.php.net/?id=26255&edit=1[/url]
--
Try a CVS snapshot (php4): [url]http://bugs.php.net/fix.php?id=26255&r=trysnapshot4[/url]
Try a CVS snapshot (php5): [url]http://bugs.php.net/fix.php?id=26255&r=trysnapshot5[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=26255&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=26255&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=26255&r=needtrace[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=26255&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=26255&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=26255&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=26255&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=26255&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=26255&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=26255&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=26255&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=26255&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=26255&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=26255&r=float[/url]