ArrayIterator 锟斤拷

(PHP 5, PHP 7)

锟斤拷锟�

锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷诒锟斤拷锟斤拷锟斤拷锟酵讹拷锟斤拷时删锟斤拷锟酵革拷锟斤拷值锟斤拷锟斤拷锟�

锟斤拷锟斤拷锟斤拷锟轿憋拷锟斤拷锟斤拷同锟斤拷锟斤拷时锟斤拷锟斤拷要实锟斤拷锟斤拷 ArrayObject锟斤拷然锟斤拷锟斤拷锟斤拷锟绞碉拷锟斤拷锟斤拷锟揭伙拷锟� ArrayIteratror 实锟斤拷锟斤拷 锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟酵拷锟斤拷锟绞憋拷锟斤拷锟斤拷锟斤拷要实锟斤拷 ArrayObject 锟斤拷锟斤拷锟斤拷锟斤拷锟绞碉拷锟斤拷锟斤拷锟揭伙拷锟� ArrayIteratror 实锟斤拷锟斤拷然锟斤拷使锟斤拷foreach 锟斤拷锟斤拷 锟街讹拷锟斤拷锟斤拷 getIterator() 锟斤拷锟斤拷锟斤拷

锟斤拷摘要

ArrayIterator implements ArrayAccess , SeekableIterator , Countable , Serializable {
/* 锟斤拷锟斤拷 */
const integer STD_PROP_LIST = 1 ;
const integer ARRAY_AS_PROPS = 2 ;
/* 锟斤拷锟斤拷 */
public append ( mixed $value ) : void
public asort ( void ) : void
public __construct ([ mixed $array = array() [, int $flags = 0 ]] )
public count ( void ) : int
public current ( void ) : mixed
public getArrayCopy ( void ) : array
public getFlags ( void ) : void
public key ( void ) : mixed
public ksort ( void ) : void
public natcasesort ( void ) : void
public natsort ( void ) : void
public next ( void ) : void
public offsetExists ( mixed $index ) : bool
public offsetGet ( mixed $index ) : mixed
public offsetSet ( mixed $index , mixed $newval ) : void
public offsetUnset ( mixed $index ) : void
public rewind ( void ) : void
public seek ( int $position ) : void
public serialize ( void ) : string
public setFlags ( string $flags ) : void
public uasort ( callable $cmp_function ) : void
public uksort ( callable $cmp_function ) : void
public unserialize ( string $serialized ) : string
public valid ( void ) : bool
}

预锟斤拷锟藉常锟斤拷

ArrayIterator 锟斤拷锟�

ArrayIterator::STD_PROP_LIST

Properties of the object have their normal functionality when accessed as list (var_dump, foreach, etc.).

ArrayIterator::ARRAY_AS_PROPS

锟斤拷锟斤拷通锟斤拷锟斤拷锟皆凤拷锟斤拷锟斤拷目锟斤拷锟斤拷写锟斤拷支锟街o拷锟斤拷

Table of Contents