ArrayIterator::setFlags
ArrayIterator::setFlags
(PHP 5 >= 5.1.0, PHP 7)
ArrayIterator::setFlags — Set behaviour flags
Description
public void ArrayIterator::setFlags ( string $flags )
Sets behaviour flags.
Warning
This function is currently not documented; only its argument list is available.
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.
Return Values
No value is returned.
See Also
- ArrayIterator::getFlags() - Get flags
← ArrayIterator::serialize
ArrayIterator::uasort →
© 1997–2017 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.