ID:               34155
 Updated by:       [EMAIL PROTECTED]
 Reported By:      scott at vbulletin dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         mbstring related
 Operating System: Irrelevant
 PHP Version:      5CVS-2005-08-16 (CVS)
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php




Previous Comments:
------------------------------------------------------------------------

[2005-08-16 20:56:53] scott at vbulletin dot com

Description:
------------
If you use mbstring.func_overload in php.ini various string functions
will be overloaded with their mb_* equivalents.

The mb functions will trigger warnings when certain parameters are
empty or null unlike their native counterparts.

Reproduce code:
---------------
<?php

var_dump(strrpos('', '/'));
var_dump(mb_strrpos('', '/'));

?>

Expected result:
----------------
bool(false)
bool(false)

Actual result:
--------------
bool(false)
Warning: mb_strrpos(): Empty haystack in
/home/vbulletin/public_html/dev/test.php on line 4
bool(false)


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=34155&edit=1

Reply via email to