|
MultipleIterator::__construct新しい MultipleIterator を作成する 説明
public MultipleIterator::__construct(int
$flags = MultipleIterator::MIT_NEED_ALL | MultipleIterator::MIT_KEYS_NUMERIC)新しい MultipleIterator を作成します。 パラメータ
例
例1 MultipleIterator の反復処理
Array ( [0] => John [1] => Developer ) Array ( [0] => Jane [1] => Scrum Master ) Array ( [0] => Jack [1] => Project Owner )
Array ( [0] => John [1] => Developer ) Array ( [0] => Jane [1] => Scrum Master ) Array ( [0] => Jack [1] => Project Owner ) Array ( [0] => Judy [1] => )
Array ( [person] => John [role] => Developer ) Array ( [person] => Jane [role] => Scrum Master ) Array ( [person] => Jack [role] => Project Owner )
Array ( [person] => John [role] => Developer ) Array ( [person] => Jane [role] => Scrum Master ) Array ( [person] => Jack [role] => Project Owner ) Array ( [person] => Judy [role] => ) |