From 8e3af0a0265c4c2965badfbfd845b19f99c61a3c Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Thu, 20 Jul 2006 22:35:44 +0000 Subject: - Change order of ctor args # Do it before the child falls in the brunnel - aka prior to first release. --- ext/spl/internal/regexiterator.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/spl/internal/regexiterator.inc') diff --git a/ext/spl/internal/regexiterator.inc b/ext/spl/internal/regexiterator.inc index c8ff3162d1..fd923eb826 100755 --- a/ext/spl/internal/regexiterator.inc +++ b/ext/spl/internal/regexiterator.inc @@ -43,13 +43,13 @@ class RegexIterator implements FilterIterator * * @param it inner iterator * @param regex the regular expression to match - * @param flags special flags (self::USE_KEY) * @param mode operation mode (one of self::MATCH, self::GET_MATCH, * self::ALL_MATCHES, self::SPLIT) + * @param flags special flags (self::USE_KEY) * @param preg_flags global PREG_* flags, see preg_match(), * preg_match_all(), preg_split() */ - function __construct(Iterator $it, $regex, $flags = 0, $mode = 0, $preg_flags = 0) { + function __construct(Iterator $it, $regex, $mode = 0, $flags = 0, $preg_flags = 0) { parent::__construct($it); $this->regex = $regex; $this->flags = $flags; -- cgit v1.2.1