From: Markus Fischer Date: Mon, 10 Jun 2002 22:43:49 +0000 (+0000) Subject: - Typo. X-Git-Tag: php5_5_0~80 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9b1ec11184932c13f56769b3dc7e984c2f564656;p=php - Typo. --- 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; }