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