summaryrefslogtreecommitdiff
path: root/ext/mbstring/php_mbregex.c
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-01-15 11:27:29 +0100
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-01-17 14:52:46 +0100
commitd1764ca33018f1f2e4a05926c879c67ad4aa8da5 (patch)
tree443cab099d2d5989a93a8102f599b51d36acc64e /ext/mbstring/php_mbregex.c
parent117b18d22d14fb6a597b3cd6d52e75cef2d088bb (diff)
downloadphp-git-d1764ca33018f1f2e4a05926c879c67ad4aa8da5.tar.gz
Make error messages more consistent by fixing capitalization
Closes GH-5066 As a first step, let's capitalize their initial letter when it is applicable.
Diffstat (limited to 'ext/mbstring/php_mbregex.c')
-rw-r--r--ext/mbstring/php_mbregex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mbstring/php_mbregex.c b/ext/mbstring/php_mbregex.c
index c43644a2d5..3a49bc8614 100644
--- a/ext/mbstring/php_mbregex.c
+++ b/ext/mbstring/php_mbregex.c
@@ -921,7 +921,7 @@ static void _php_mb_regex_ereg_exec(INTERNAL_FUNCTION_PARAMETERS, int icase)
}
if (arg_pattern_len == 0) {
- php_error_docref(NULL, E_WARNING, "empty pattern");
+ php_error_docref(NULL, E_WARNING, "Empty pattern");
RETVAL_FALSE;
goto out;
}