| 
 
update : 2015.11.03
 
php.shukuma.com검색:
  
 | 
MultipleIterator::__construct(PHP 5 >= 5.3.0) MultipleIterator::__construct — Constructs a new MultipleIterator 설명
   public
   MultipleIterator::__construct
    ([ 
    int
      
  $flags
     = MultipleIterator::MIT_NEED_ALL|MultipleIterator::MIT_KEYS_NUMERIC
   
  ] )Construct a new MultipleIterator. 인수
 
 반환값값을 반환하지 않습니다. 예제
 Example #1 Iterating a MultipleIterator 
<?phpOutput with $flags = MIT_NEED_ALL|MIT_KEYS_NUMERIC 
Array
(
    [0] => John
    [1] => Developer
)
Array
(
    [0] => Jane
    [1] => Scrum Master
)
Array
(
    [0] => Jack
    [1] => Project Owner
)Output with $flags = MIT_NEED_ANY|MIT_KEYS_NUMERIC 
Array
(
    [0] => John
    [1] => Developer
)
Array
(
    [0] => Jane
    [1] => Scrum Master
)
Array
(
    [0] => Jack
    [1] => Project Owner
)
Array
(
    [0] => Judy
    [1] =>
)Output with $flags = MIT_NEED_ALL|MIT_KEYS_ASSOC 
Array
(
    [person] => John
    [role] => Developer
)
Array
(
    [person] => Jane
    [role] => Scrum Master
)
Array
(
    [person] => Jack
    [role] => Project Owner
)Output with $flags = MIT_NEED_ANY|MIT_KEYS_ASSOC 
Array
(
    [person] => John
    [role] => Developer
)
Array
(
    [person] => Jane
    [role] => Scrum Master
)
Array
(
    [person] => Jack
    [role] => Project Owner
)
Array
(
    [person] => Judy
    [role] =>
) |