15 lines
335 B
PHP
15 lines
335 B
PHP
--TEST--
|
|
Bug #77367 (Negative size parameter in mb_split)
|
|
--SKIPIF--
|
|
<?php
|
|
if (!extension_loaded('mbstring')) die('skip mbstring extension not available');
|
|
if (!function_exists('mb_split')) die('skip mb_split() not available');
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
mb_regex_encoding('UTF-8');
|
|
var_dump(mb_split("\\w", "\xfc"));
|
|
?>
|
|
--EXPECT--
|
|
bool(false)
|