diff options
Diffstat (limited to 'ext/spl/internal')
-rwxr-xr-x | ext/spl/internal/regexiterator.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/spl/internal/regexiterator.inc b/ext/spl/internal/regexiterator.inc index 96b8f8112..c6addb93d 100755 --- a/ext/spl/internal/regexiterator.inc +++ b/ext/spl/internal/regexiterator.inc @@ -158,6 +158,13 @@ class RegexIterator extends FilterIterator { $this->preg_flags = $preg_flags; } + + /** @return current regular expression + */ + function getRegex() + { + return $this->regex; + } } ?> |