ArrayIterator::setFlags
  (PHP 5 >= 5.1.0, PHP 7)
ArrayIterator::setFlags — Set behaviour flags
  
 
  说明
  
   public void ArrayIterator::setFlags
    ( string $flags
   )
  
  
  
 
  参数
  
   
    
     - 
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.