1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 19:52:20 +02:00
Files
archived-php-src/ext/spl/tests/bug68175.phpt
2018-08-18 14:36:16 +02:00

19 lines
307 B
PHP

--TEST--
Bug #68175 (RegexIterator pregFlags are NULL instead of 0)
--FILE--
<?php
$arr = new ArrayIterator(array());
$regex = new RegexIterator($arr, '/^test/');
var_dump(
$regex->getMode(),
$regex->getFlags(),
$regex->getPregFlags()
);
?>
===DONE===
--EXPECT--
int(0)
int(0)
int(0)
===DONE===