xref: /php-src/ext/mbstring/tests/bug77367.phpt (revision 74859783)
1--TEST--
2Bug #77367 (Negative size parameter in mb_split)
3--EXTENSIONS--
4mbstring
5--SKIPIF--
6<?php
7if (!function_exists('mb_split')) die('skip mb_split() not available');
8?>
9--FILE--
10<?php
11mb_regex_encoding('UTF-8');
12var_dump(mb_split("\\w", "\xfc"));
13?>
14--EXPECT--
15bool(false)
16