From cd98a956dbfbd54fa2d3ff20e86c8ab7fa252d00 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Thu, 4 Aug 2011 11:33:50 +0000 Subject: [PATCH] Availability column git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@314246 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/pcre/constants.xml | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/reference/pcre/constants.xml b/reference/pcre/constants.xml index 826ac2bcae..fca3f889ee 100644 --- a/reference/pcre/constants.xml +++ b/reference/pcre/constants.xml @@ -10,6 +10,7 @@ constant description + since @@ -21,6 +22,7 @@ parenthesized subpattern, and so on. This flag is only used with preg_match_all. + PREG_SET_ORDER @@ -29,14 +31,15 @@ matches, $matches[1] is an array of second set of matches, and so on. This flag is only used with preg_match_all. + PREG_OFFSET_CAPTURE See the description of - PREG_SPLIT_OFFSET_CAPTURE. This flag is - available since PHP 4.3.0. + PREG_SPLIT_OFFSET_CAPTURE. + 4.3.0 PREG_SPLIT_NO_EMPTY @@ -44,14 +47,15 @@ This flag tells preg_split to return only non-empty pieces. + PREG_SPLIT_DELIM_CAPTURE This flag tells preg_split to capture - parenthesized expression in the delimiter pattern as well. This flag - is available since PHP 4.0.5. + parenthesized expression in the delimiter pattern as well. + 4.0.5 PREG_SPLIT_OFFSET_CAPTURE @@ -60,48 +64,50 @@ offset will also be returned. Note that this changes the return values in an array where every element is an array consisting of the matched string at offset 0 and its string offset within subject at - offset 1. This flag is available since PHP 4.3.0 - and is only used for preg_split. + offset 1. This flag is only used for preg_split. + 4.3.0 PREG_NO_ERROR Returned by preg_last_error if there were no - errors. Available since PHP 5.2.0. + errors. + 5.2.0 PREG_INTERNAL_ERROR Returned by preg_last_error if there was an - internal PCRE error. Available since PHP 5.2.0. + internal PCRE error. + 5.2.0 PREG_BACKTRACK_LIMIT_ERROR Returned by preg_last_error if backtrack limit was exhausted. - Available since PHP 5.2.0. + 5.2.0 PREG_RECURSION_LIMIT_ERROR Returned by preg_last_error if recursion limit was exhausted. - Available since PHP 5.2.0. + 5.2.0 PREG_BAD_UTF8_ERROR Returned by preg_last_error if the last error was caused by malformed UTF-8 data (only when running a regex in UTF-8 mode). Available - since PHP 5.2.0. + linkend="reference.pcre.pattern.modifiers">UTF-8 mode). + 5.2.0 PREG_BAD_UTF8_OFFSET_ERROR @@ -109,15 +115,16 @@ Returned by preg_last_error if the offset didn't correspond to the begin of a valid UTF-8 code point (only when running a regex in UTF-8 - mode). Available since PHP 5.3.0. + mode). + 5.3.0 PCRE_VERSION PCRE version and release date (e.g. "7.0 18-Dec-2006"). - Available since PHP 5.2.4. + 5.2.4