diff --git a/functions/array.xml b/functions/array.xml index 40f72f62e9..1ff4a2ae93 100644 --- a/functions/array.xml +++ b/functions/array.xml @@ -1680,8 +1680,6 @@ while (list ($key, $val) = each ($HTTP_POST_VARS)) { - - EXTR_PREFIX_INVALID diff --git a/functions/pcre.xml b/functions/pcre.xml index f6e50e1d33..291548c22f 100644 --- a/functions/pcre.xml +++ b/functions/pcre.xml @@ -88,11 +88,11 @@ Returns true if a match for pattern was found in the subject string, or false if not match was found - or an error occurred. - + or an error occurred. + - find the string of text "php" + Find the string of text "php" // the "i" after the pattern delimiter indicates a case-insensitive search if (preg_match ("/php/i", "PHP is the web scripting language of choice.")) { @@ -365,7 +365,7 @@ part 3: </a> the line containing preg_replace. - /F modifier means that the + /F modifier means that the replacement is taken to be a function name. This function will be called and passed an array of matched elements in the subject string. The function should return the replacement string. This @@ -703,8 +703,8 @@ $fl_array = preg_grep ("/^(\d+)?\.\d+$/", $array); If this modifier is set, preg_replace does normal substitution of backreferences in the replacement string, evaluates it as PHP code, and uses the - result for replacing the search string. This modifier cannot be used along - with /F modifier. + result for replacing the search string. This modifier cannot + be used along with /F modifier. Only preg_replace uses this modifier; @@ -717,15 +717,16 @@ $fl_array = preg_grep ("/^(\d+)?\.\d+$/", $array); If this modifier is set, preg_replace - treats the replacement parameter as a function name that should be called - to provide the replacement string. The function is passed an array of - matched elements in the subject string. This modifier cannot be used along - with /e modifier. + treats the replacement parameter as a function name that + should be called to provide the replacement string. The + function is passed an array of matched elements in the + subject string. This modifier cannot be used along with + /e modifier. Only preg_replace uses this modifier; - it is ignored by other PCRE functions. This modifier was added in PHP - 4.0.4. + it is ignored by other PCRE functions. This modifier was + added in PHP 4.0.4.