php-src/ext/mbstring/tests/bug78633.phpt
Nikita Popov 7485978339
Migrate SKIPIF -> EXTENSIONS (#7138)
This is an automated migration of most SKIPIF extension_loaded checks.
2021-06-11 11:57:42 +02:00

20 lines
327 B
PHP

--TEST--
Bug #78633 (Heap buffer overflow (read) in mb_eregi)
--EXTENSIONS--
mbstring
--SKIPIF--
<?php
if (!function_exists('mb_eregi')) die('skip mb_eregi function not available');
?>
--FILE--
<?php
$res = mb_eregi(".+Isssǰ", ".+Isssǰ");
if (is_bool($res)) {
echo "ok\n";
} else {
var_dump($res);
}
?>
--EXPECT--
ok