[php-src] master: Update ext/mbstring/tests/gh21036.phpt
tekimen via Yuya Hamada <[email protected]> Sat, 1 Aug 2026 03:02:38 +0000
| Newsgroups | gmane.comp.php.cvs.general |
|---|---|
| Message-ID | <[email protected]> |
Author: tekimen (youkidearitai)
Committer: Yuya Hamada (youkidearitai)
Date: 2026-08-01T12:01:43+09:00
Commit: https://github.com/php/php-src/commit/0ee81b406038e4cbc0b434254c615a6e832d2cdf
Raw diff: https://github.com/php/php-src/commit/0ee81b406038e4cbc0b434254c615a6e832d2cdf.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);