original_string: protected static function restore_array(array &$arr, array &$original) {
          foreach ($arr as $key => $ignored) {
              $arr[$key] = $original[$key];
          }
      }
code: protected static function restore_array(array &$arr, array &$original) {
          foreach ($arr as $key => $ignored) {
              $arr[$key] = $original[$key];
          }
      }
code_tokens: protected static function restore_array ( array & $ arr , array & $ original ) { foreach ( $ arr as $ key => $ ignored ) { $ arr [ $ key ] = $ original [ $ key ] ; } }
docstring: Restore array contents keeping new keys.
  @static
  @param array $arr
  @param array $original
  @return void modifies $arr
docstring_tokens: Restore array contents keeping new keys .