ArrayIterator
PHP Manual

ArrayIterator::setFlags

(PHP 5 >= 5.1.0, PHP 7)

ArrayIterator::setFlagsSet behaviour flags

说明

public void ArrayIterator::setFlags ( string $flags )

Sets behaviour flags.

Warning

本函数还未编写文档,仅有参数列表。

参数

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.

返回值

没有返回值。

参见


ArrayIterator
PHP Manual