1--TEST-- 2Bug #68175 (RegexIterator pregFlags are NULL instead of 0) 3--FILE-- 4<?php 5$arr = new ArrayIterator(array()); 6$regex = new RegexIterator($arr, '/^test/'); 7var_dump( 8 $regex->getMode(), 9 $regex->getFlags(), 10 $regex->getPregFlags() 11); 12?> 13===DONE=== 14--EXPECT-- 15int(0) 16int(0) 17int(0) 18===DONE=== 19