Commit cc507facf4d for php.net

commit cc507facf4da31e644676c87d769e505a4190bf0
Author: Gina Peter Banyard <girgias@php.net>
Date:   Tue Sep 1 18:34:21 2026 +0100

    pcre: use php_pcre_error_code type instead of int type

diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c
index 997c20d1109..9cb778f1b2d 100644
--- a/ext/pcre/php_pcre.c
+++ b/ext/pcre/php_pcre.c
@@ -104,7 +104,7 @@ static void php_pcre_free_char_table(zval *data)

 static void pcre_handle_exec_error(int pcre_code) /* {{{ */
 {
-	int preg_code = 0;
+	php_pcre_error_code preg_code = PHP_PCRE_NO_ERROR;

 	switch (pcre_code) {
 		case PCRE2_ERROR_MATCHLIMIT: