Skip to content

Commit 5b2e413

Browse files
committed
Merge branch 'PHP-8.1'
* PHP-8.1: NEWS for GH-8685 NEWS for GH-8685 Fix GH-8685 mbstring requires pcre
2 parents e17fd1f + c9ec5cf commit 5b2e413

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

ext/mbstring/mbstring.c

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,18 @@ static const php_mb_nls_ident_list php_mb_default_identify_list[] = {
163163

164164
/* }}} */
165165

166+
/* {{{ mbstring_deps[] */
167+
static const zend_module_dep mbstring_deps[] = {
168+
ZEND_MOD_REQUIRED("pcre")
169+
ZEND_MOD_END
170+
};
171+
/* }}} */
172+
166173
/* {{{ zend_module_entry mbstring_module_entry */
167174
zend_module_entry mbstring_module_entry = {
168-
STANDARD_MODULE_HEADER,
175+
STANDARD_MODULE_HEADER_EX,
176+
NULL,
177+
mbstring_deps,
169178
"mbstring",
170179
ext_functions,
171180
PHP_MINIT(mbstring),

0 commit comments

Comments
 (0)