![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: Bug #46088 (RegexIterator::accept - segfault) ! 3: --FILE-- ! 4: <?php ! 5: ! 6: $x = new RegexIterator(new ArrayIterator(range(1, 10)), '/\d/'); ! 7: var_dump($x->accept()); ! 8: ! 9: ?> ! 10: --EXPECT-- ! 11: bool(false)