summaryrefslogtreecommitdiff
path: root/ext/mbstring/php_mbregex.c
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-07-25 05:38:50 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2018-07-25 11:57:11 +0200
commita5e80b22e11c2db7fd5ff07b5b7a28f80745e89b (patch)
tree31d5964b5ceeb8ca1f81511f08bc4b89d872e8a7 /ext/mbstring/php_mbregex.c
parenta29a800cb0749c19a99a7019219c44b5415b6a78 (diff)
downloadphp-git-a5e80b22e11c2db7fd5ff07b5b7a28f80745e89b.tar.gz
Fix typos in code comments
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 dd1bef031a..68922b6966 100644
--- a/ext/mbstring/php_mbregex.c
+++ b/ext/mbstring/php_mbregex.c
@@ -665,7 +665,7 @@ mb_regex_groups_iter(const OnigUChar* name, const OnigUChar* name_end, int ngrou
int gn, beg, end;
/*
- * In case of duplicate groups, keep only the last suceeding one
+ * In case of duplicate groups, keep only the last succeeding one
* to be consistent with preg_match with the PCRE_DUPNAMES option.
*/
gn = onig_name_to_backref_number(reg, name, name_end, args->region);