1--TEST-- 2Bug #77418 (Heap overflow in utf32be_mbc_to_code) 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-32"); 11var_dump(mb_split("\x00\x00\x00\x5c\x00\x00\x00B","000000000000000000000000000000")); 12?> 13--EXPECT-- 14bool(false) 15