ArrayIterator::setFlags

(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 returned.

This function is currently not documented; only its argument list is available.

See also:

ArrayIterator::getFlags() -

doc_php
2016-02-24 16:19:41
Comments
Leave a Comment

Please login to continue.