original_string: public function merge(ArrayObject $other, $recursive = TRUE) {
          foreach($other as $key => $value) {
              if($recursive && $this->offsetExists($key)) {
                  $ownvalue = $this->offsetGet($key);
                  if($ownvalue instanceof ArrayObject && $value instanceof ArrayObject) {
                      $ownvalue->merge($value, TRUE);
                      continue;
                  }
              }
  
              $this->offsetSet($key, $value);
          }
  
          return $this;
      }
code: public function merge(ArrayObject $other, $recursive = TRUE) {
          foreach($other as $key => $value) {
              if($recursive && $this->offsetExists($key)) {
                  $ownvalue = $this->offsetGet($key);
                  if($ownvalue instanceof ArrayObject && $value instanceof ArrayObject) {
                      $ownvalue->merge($value, TRUE);
                      continue;
                  }
              }
  
              $this->offsetSet($key, $value);
          }
  
          return $this;
      }
code_tokens: public function merge ( ArrayObject $ other , $ recursive = TRUE ) { foreach ( $ other as $ key => $ value ) { if ( $ recursive && $ this -> offsetExists ( $ key ) ) { $ ownvalue = $ this -> offsetGet ( $ key ) ; if ( $ ownvalue instanceof ArrayObject && $ value instanceof ArrayObject ) { $ ownvalue -> merge ( $ value , TRUE ) ; continue ; } } $ this -> offsetSet ( $ key , $ value ) ; } return $ this ; }
docstring: Merges values from another Loops\ArrayObject into this one by keys
  
  @param Loops\ArrayObject $other Merge values from this array object
  @param bool $recursive Recursively merge values (i.e. if both values are of type Loops\ArrayObject)
docstring_tokens: Merges values from another Loops \ ArrayObject into this one by keys