diff options
| author | Marcus Boerger <helly@php.net> | 2006-07-20 22:35:44 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2006-07-20 22:35:44 +0000 |
| commit | 8e3af0a0265c4c2965badfbfd845b19f99c61a3c (patch) | |
| tree | a0cd1cfadca10cb0a8f1bd9486bebbe98f292912 /ext/spl/internal/regexiterator.inc | |
| parent | c2c5201872065f2f1b1aa80746c599b9ac04dbea (diff) | |
| download | php-git-8e3af0a0265c4c2965badfbfd845b19f99c61a3c.tar.gz | |
- Change order of ctor args
# Do it before the child falls in the brunnel - aka prior to first release.
Diffstat (limited to 'ext/spl/internal/regexiterator.inc')
| -rwxr-xr-x | ext/spl/internal/regexiterator.inc | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
