From 57b33ec289d408356fc0a404a5083fdc9f4db87e Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Thu, 16 Aug 2007 10:03:31 +0000 Subject: [PATCH] Description of matches depend on flags (bug #42159) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241301 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/pcre/functions/preg-match-all.xml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/reference/pcre/functions/preg-match-all.xml b/reference/pcre/functions/preg-match-all.xml index 7ac44d06c4..9d07bb9110 100644 --- a/reference/pcre/functions/preg-match-all.xml +++ b/reference/pcre/functions/preg-match-all.xml @@ -1,5 +1,5 @@ - + preg_match_all @@ -52,11 +52,8 @@ matches - In this case, $matches[0] is the first set of matches, and - $matches[0][0] has text matched by full pattern, - $matches[0][1] has text matched by first - subpattern and so on. Similarly, $matches[1] is - the second set of matches, etc. + Array of all matches in multi-dimensional array ordered according to + flags.