--TEST--
Function overloading test 1
--SKIPIF--
<?php 
	extension_loaded('mbstring') or die('skip mbstring not available'); 
	if (!function_exists("mail")) {
		die('skip mail() function is not available.');
	}
?>
--INI--
output_handler=
mbstring.func_overload=7
mbstring.internal_encoding=EUC-JP
--FILE--
<?php
echo mb_internal_encoding()."\n";

$ngchars = array('墙','山','唤','ソ');
$str = '傅辖蛙唤序家壕到山附墙蜗山绩苯倘匿私蜗沤烧菇矢方灰徒梦窠片ソファ〖';
var_dump(strlen($str));
var_dump(mb_strlen($str));
--EXPECT--
EUC-JP
int(33)
int(33)
