original_string: public static function select($arr, $includedKeys)
      {
          $ret = [];
          foreach ($includedKeys as $key) {
              if (array_key_exists($key, $arr)) {
                  $ret[$key] = $arr[$key];
              }
          }
          return $ret;
      }
code: public static function select($arr, $includedKeys)
      {
          $ret = [];
          foreach ($includedKeys as $key) {
              if (array_key_exists($key, $arr)) {
                  $ret[$key] = $arr[$key];
              }
          }
          return $ret;
      }
code_tokens: public static function select ( $ arr , $ includedKeys ) { $ ret = [ ] ; foreach ( $ includedKeys as $ key ) { if ( array_key_exists ( $ key , $ arr ) ) { $ ret [ $ key ] = $ arr [ $ key ] ; } } return $ ret ; }
docstring: Create array with given keys
  
  @param array $array
  @param array $includedKeys
  @return array
docstring_tokens: Create array with given keys