cvs: php-src(PHP_5_3) /ext/spl/tests bug46088.phpt
| From: | Felipe Pena | Date: | Mon, 22 Sep 2008 13:09:50 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/spl/tests bug46088.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-53242@lists.php.net to get a copy of this message | ||
felipe Mon Sep 22 13:09:50 2008 UTC
Added files: (Branch: PHP_5_3)
/php-src/ext/spl/tests bug46088.phpt
Log:
- New test
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/tests/bug46088.phpt?view=markup&rev=1.1
Index: php-src/ext/spl/tests/bug46088.phpt
+++ php-src/ext/spl/tests/bug46088.phpt
--TEST--
Bug #46088 (RegexIterator::accept - segfault)
--FILE--
<?php
$x = new RegexIterator(new ArrayIterator(range(1, 10)), '/\d/');
var_dump($x->accept());
?>
--EXPECT--
bool(false)