|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-08-17 13:23 UTC] scott at vbulletin dot com
[2005-08-18 12:57 UTC] sniper@php.net
[2005-08-26 01:00 UTC] php-bugs at lists dot php dot net
[2007-06-14 08:20 UTC] nil at hippy dot csoma dot elte dot hu
[2007-06-18 16:33 UTC] scottmac@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 21:00:01 2025 UTC |
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)