]> granicus.if.org Git - php/commitdiff
- Typo.
authorMarkus Fischer <mfischer@php.net>
Mon, 10 Jun 2002 22:43:49 +0000 (22:43 +0000)
committerMarkus Fischer <mfischer@php.net>
Mon, 10 Jun 2002 22:43:49 +0000 (22:43 +0000)
ext/pcre/php_pcre.c

index fd7b7ef1d383db5057481a880d948007128c18a6..30646f6464704dd53565d7cbe5387ec80d9466fc 100644 (file)
@@ -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;
                }