PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

ArrayIterator::setFlags

(PHP 5 >= 5.1.0)

ArrayIterator::setFlagsSet 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

PHP Manual