1--TEST-- 2Bug #77367 (Negative size parameter in mb_split) 3--SKIPIF-- 4<?php 5if (!extension_loaded('mbstring')) die('skip mbstring extension not available'); 6if (!function_exists('mb_split')) die('skip mb_split() not available'); 7?> 8--FILE-- 9<?php 10mb_regex_encoding('UTF-8'); 11var_dump(mb_split("\\w", "\xfc")); 12?> 13--EXPECT-- 14bool(false) 15