(PHP 5 >= 5.1.0, PHP 7)
Set behaviour flags
public void ArrayIterator::setFlags ( string $flags )
Sets behaviour flags.
Parameters:
flags
A bitmask as follows:
0 = Properties of the object have their normal functionality when accessed as list (var_dump, foreach, etc.). 1 = Array indices can be accessed as properties in read/write.
Returns:
No value is ret