summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
authorMarkus Fischer <mfischer@php.net>2002-06-10 22:43:49 +0000
committerMarkus Fischer <mfischer@php.net>2002-06-10 22:43:49 +0000
commit9b1ec11184932c13f56769b3dc7e984c2f564656 (patch)
treee8cb4c64b3a30bb76b7af95970c8c76c80af4f8b /ext/pcre/php_pcre.c
parenta4ecce0cd9544af04fae196210ba32454503c388 (diff)
downloadphp-git-9b1ec11184932c13f56769b3dc7e984c2f564656.tar.gz
- Typo.
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r--ext/pcre/php_pcre.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c
index fd7b7ef1d3..30646f6464 100644
--- a/ext/pcre/php_pcre.c
+++ b/ext/pcre/php_pcre.c
@@ -1350,7 +1350,7 @@ PHP_FUNCTION(preg_grep)
}
if (Z_TYPE_PP(input) != IS_ARRAY) {
- zend_error(E_WARNING, "Secong argument to preg_grep() should be an array");
+ zend_error(E_WARNING, "Second argument to preg_grep() should be an array");
return;
}
@@ -1389,7 +1389,7 @@ PHP_FUNCTION(preg_grep)
/* Check for too many substrings condition. */
if (count == 0) {
- zend_error(E_NOTICE, "Matched, but too many substrings\n");
+ zend_error(E_NOTICE, "Matched, but too many substrings");
count = size_offsets/3;
}