mirror of
https://github.com/php/php-src.git
synced 2026-04-29 03:03:26 +02:00
cc56225339
Set deprecate Oniguruma(mbregex) Thank you for Oniguruma. Co-authored-by: Tim Düsterhus <timwolla@googlemail.com>
21 lines
457 B
PHP
21 lines
457 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);
|
|
}
|
|
?>
|
|
--EXPECTF--
|
|
Deprecated: Function mb_eregi() is deprecated since 8.6, because the underlying library is no longer maintained in %s on line %d
|
|
ok
|