original_string: protected static function _matchToken($key, $token)
      {
          switch ($token) {
              case '{n}':
                  return is_numeric($key);
              case '{s}':
                  return is_string($key);
              case '{*}':
                  return true;
              default:
                  return is_numeric($token) ? ($key == $token) : $key === $token;
          }
      }
code: protected static function _matchToken($key, $token)
      {
          switch ($token) {
              case '{n}':
                  return is_numeric($key);
              case '{s}':
                  return is_string($key);
              case '{*}':
                  return true;
              default:
                  return is_numeric($token) ? ($key == $token) : $key === $token;
          }
      }
code_tokens: protected static function _matchToken ( $ key , $ token ) { switch ( $ token ) { case '{n}' : return is_numeric ( $ key ) ; case '{s}' : return is_string ( $ key ) ; case '{*}' : return true ; default : return is_numeric ( $ token ) ? ( $ key == $ token ) : $ key === $ token ; } }
docstring: Check a key against a token.
  
  @param string $key The key in the array being searched.
  @param string $token The token being matched.
  @return bool
docstring_tokens: Check a key against a token .