mirror of
https://github.com/php/php-src.git
synced 2024-12-01 13:54:10 +08:00
23 lines
400 B
PHP
23 lines
400 B
PHP
--TEST--
|
|
Bug #52931 (strripos not overloaded with function overloading enabled)
|
|
--INI--
|
|
mbstring.func_overload = 7
|
|
mbstring.internal_encoding = utf-8
|
|
--FILE--
|
|
<?php
|
|
|
|
$string = '<body>Umlauttest öüä</body>';
|
|
|
|
var_dump(strlen($string));
|
|
var_dump(mb_strlen($string));
|
|
|
|
var_dump(strripos($string, '</body>'));
|
|
var_dump(mb_strripos($string, '</body>'));
|
|
|
|
?>
|
|
--EXPECTF--
|
|
int(27)
|
|
int(27)
|
|
int(20)
|
|
int(20)
|