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

Reply via email to