1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/ext/spl/tests/bug46088.phpt
2008-09-22 13:06:29 +00:00

12 lines
187 B
PHP

--TEST--
Bug #46088 (RegexIterator::accept - segfault)
--FILE--
<?php
$x = new RegexIterator(new ArrayIterator(range(1, 10)), '/\d/');
var_dump($x->accept());
?>
--EXPECT--
bool(false)