[php-src] PHP-8.4: Update ext/mbstring/tests/gh21036.phpt
tekimen via Yuya Hamada <[email protected]> Sat, 1 Aug 2026 03:02:30 +0000
| Newsgroups | gmane.comp.php.cvs.general |
|---|---|
| Message-ID | <[email protected]> |
Author: tekimen (youkidearitai)
Committer: Yuya Hamada (youkidearitai)
Date: 2026-08-01T12:01:59+09:00
Commit: https://github.com/php/php-src/commit/f699538427921f409421ddd6f06992bd9b1dd1d5
Raw diff: https://github.com/php/php-src/commit/f699538427921f409421ddd6f06992bd9b1dd1d5.diff
Update ext/mbstring/tests/gh21036.phpt
Changed paths:
M ext/mbstring/tests/gh21036.phpt
Diff:
diff --git a/ext/mbstring/tests/gh21036.phpt b/ext/mbstring/tests/gh21036.phpt
index 60c63038510c..495d261c36bb 100644
--- a/ext/mbstring/tests/gh21036.phpt
+++ b/ext/mbstring/tests/gh21036.phpt
@@ -2,6 +2,10 @@
GH-21036 (mb_ereg_search_getregs() after regex cache invalidation)
--EXTENSIONS--
mbstring
+--SKIPIF--
+<?php
+if (!function_exists("mb_ereg")) print "skip mb_ereg() not available";
+?>
--FILE--
<?php
error_reporting(E_ALL & ~E_DEPRECATED);