/php-src/ext/spl/tests/ |
H A D | bug66702.phpt | 2 Bug #66702 (RegexIterator inverted result works as expected) 10 $it2 = new \RegexIterator($it, "/^ba/", \RegexIterator::MATCH); 12 $it2 = new \RegexIterator($it, "/^ba/", \RegexIterator::MATCH, \RegexIterator::INVERT_MATCH); 16 $it2 = new \RegexIterator($it, "/^ba/", \RegexIterator::MATCH, \RegexIterator::USE_KEY); 18 $it2 = new \RegexIterator($it, "/^ba/", \RegexIterator::MATCH, \RegexIterator::USE_KEY | \RegexIter…
|
H A D | regexIterator_mode_basic.phpt | 2 SPL: RegexIterator::getMode() and setMode() basic tests 10 $regexIterator = new RegexIterator($iterator, "/f/"); 12 var_dump($regexIterator->getMode() === RegexIterator::MATCH); 14 $regexIterator->setMode(RegexIterator::MATCH); 15 var_dump($regexIterator->getMode() === RegexIterator::MATCH); 17 $regexIterator->setMode(RegexIterator::GET_MATCH); 18 var_dump($regexIterator->getMode() === RegexIterator::GET_MATCH); 20 $regexIterator->setMode(RegexIterator::ALL_MATCHES); 21 var_dump($regexIterator->getMode() === RegexIterator::ALL_MATCHES); 23 $regexIterator->setMode(RegexIterator::SPLIT); [all …]
|
H A D | regexIterator_setMode_error.phpt | 2 SPL: RegexIterator::setMode() error tests 9 $regexIterator = new RegexIterator(new ArrayIterator($array), "/f/"); 23 RegexIterator::setMode(): Argument #1 ($mode) must be RegexIterator::MATCH, RegexIterator::GET_MATC…
|
H A D | regexIterator_flags_basic.phpt | 2 SPL: RegexIterator::getFlags() and setFlags() basic tests 10 $regexIterator = new RegexIterator($iterator, "/f/", RegexIterator::MATCH, RegexIterator::USE_KEY); 12 var_dump($regexIterator->getFlags() === RegexIterator::USE_KEY); 16 var_dump($regexIterator->getFlags() === RegexIterator::USE_KEY); 17 $regexIterator->setFlags(RegexIterator::USE_KEY); 18 var_dump($regexIterator->getFlags() === RegexIterator::USE_KEY);
|
H A D | iterator_051.phpt | 2 SPL: RegexIterator::GET_MATCH, USE_KEY 6 class MyRegexIterator extends RegexIterator 19 $it = new MyRegexIterator($ar, '/(\d),(\d)/', RegexIterator::GET_MATCH, RegexIterator::USE_KEY); 22 $it = new MyRegexIterator($ar, '/(\d)/', RegexIterator::GET_MATCH, RegexIterator::USE_KEY);
|
H A D | iterator_029.phpt | 2 SPL: RegexIterator 8 foreach(new RegexIterator(new ArrayIterator($ar), "/2/") as $k => $v) 17 foreach(new RegexIterator(new ArrayIterator($ar), "/2/", 0, RegexIterator::USE_KEY) as $k => $v)
|
H A D | bug50579.phpt | 2 Bug #50579 (RegexIterator::REPLACE doesn't work) 15 $i = new RegexIterator($h, '/^test(.*)/', RegexIterator::REPLACE); 27 $i = new RegexIterator($h, '/^test(.*)/', RegexIterator::REPLACE);
|
H A D | iterator_055.phpt | 2 SPL: RegexIterator::SPLIT, USE_KEY 6 class MyRegexIterator extends RegexIterator 19 $it = new MyRegexIterator($ar, '/(\d),(\d)/', RegexIterator::SPLIT, RegexIterator::USE_KEY);
|
H A D | regexiterator_getregex.phpt | 2 SPL: RegexIterator::getRegex() basic tests 12 $regexIterator = new RegexIterator($iterator, '/.at/'); 16 $regexIterator = new RegexIterator($iterator, '//'); 20 $regexIterator = new RegexIterator($iterator, '|\b[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b|');
|
H A D | RegexIterator_with_reference_replacement.phpt | 2 RegexIterator with $replacement being a reference 6 $i = new RegexIterator($a, '/^(test)(\d+)/', RegexIterator::REPLACE);
|
H A D | iterator_050.phpt | 2 SPL: RegexIterator::GET_MATCH 6 class MyRegexIterator extends RegexIterator 19 $it = new MyRegexIterator($ar, '/(\d),(\d)/', RegexIterator::GET_MATCH); 22 $it = new MyRegexIterator($ar, '/(\d)/', RegexIterator::GET_MATCH);
|
H A D | bug68128-USE_KEY.phpt | 7 $regexIterator = new RegexIterator($arrayIterator, '/^key/', RegexIterator::MATCH, RegexIterator::U…
|
H A D | bug61418.phpt | 2 Bug #61418: Segmentation fault using FiltesystemIterator & RegexIterator 6 $regexpIterator = new RegexIterator($fileIterator, '#.*#'); 14 $regexpIterator2 = new RegexIterator($dirIterator, '#.*#');
|
H A D | iterator_053.phpt | 2 SPL: RegexIterator::ALL_MATCHES 6 class MyRegexIterator extends RegexIterator 36 $it = new MyRegexIterator($ar, '/(\d),(\d)/', RegexIterator::ALL_MATCHES, RegexIterator::USE_KEY); 39 $it = new MyRegexIterator($ar, '/(\d)/', RegexIterator::ALL_MATCHES, RegexIterator::USE_KEY);
|
H A D | bug54304.phpt | 2 Bug #54304 (Setting replacement value for RegexIterator doesn't work) 13 $i = new RegexIterator($h, '/^test(.*)/', RegexIterator::REPLACE);
|
H A D | iterator_054.phpt | 2 SPL: RegexIterator::SPLIT 6 class MyRegexIterator extends RegexIterator 19 $it = new MyRegexIterator($ar, '/,/', RegexIterator::SPLIT);
|
H A D | bug46088.phpt | 2 Bug #46088 (RegexIterator::accept - segfault) 6 $x = new RegexIterator(new ArrayIterator(range(1, 10)), '/\d/');
|
H A D | bug68175.phpt | 2 Bug #68175 (RegexIterator pregFlags are NULL instead of 0) 6 $regex = new RegexIterator($arr, '/^test/');
|
H A D | gh14290.phpt | 9 $i = new RegexIterator($h, '/^test(.*)/', RegexIterator::REPLACE);
|
H A D | iterator_052.phpt | 2 SPL: RegexIterator::ALL_MATCHES 6 class MyRegexIterator extends RegexIterator 36 $it = new MyRegexIterator($ar, '/(\d),(\d)/', RegexIterator::ALL_MATCHES); 39 $it = new MyRegexIterator($ar, '/(\d)/', RegexIterator::ALL_MATCHES);
|
H A D | regexiterator_setpregflags.phpt | 2 SPL: RegexIterator::setPregFlags() 20 class TestRegexIterator extends RegexIterator{}
|
H A D | regexiterator_getpregflags.phpt | 2 SPL: RegexIterator::getPregFlags() 20 class TestRegexIterator extends RegexIterator{}
|
/php-src/ext/phar/phar/ |
H A D | invertedregexiterator.inc | 9 * Inverted RegexIterator 13 * @brief Inverted RegexIterator 17 class InvertedRegexIterator extends RegexIterator 19 /** @return !RegexIterator::accept() 23 return !RegexIterator::accept();
|
/php-src/Zend/tests/gc/ |
H A D | gc_043.phpt | 6 O:8:"stdClass":2:{i:5;C:8:"SplStack":29:{i:4;:r:1;:O:8:"stdClass":0:{}}i:0;O:13:"RegexIterator":1:{… 12 Deprecated: Creation of dynamic property RegexIterator::$5 is deprecated in %s on line %d 28 object(RegexIterator)#4 (2) {
|
/php-src/ext/pcre/tests/ |
H A D | gh15205_1.phpt | 2 GH-15205: UAF when destroying RegexIterator after pcre request shutdown 8 $regex = [new RegexIterator($array, '/Array/')];
|