mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
7485978339
This is an automated migration of most SKIPIF extension_loaded checks.
20 lines
327 B
PHP
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
|