original_string: public function balance() 
      {
          $url = self::HOST . self::BALANCE;
  
          $params = $this->get_default_params();
          $result = $this->request($url, $params);
          $result = explode("\n", $result);
  
          return array(
              'code' => $result[0],
              'balance' => $result[1]
          );
      }
code: public function balance() 
      {
          $url = self::HOST . self::BALANCE;
  
          $params = $this->get_default_params();
          $result = $this->request($url, $params);
          $result = explode("\n", $result);
  
          return array(
              'code' => $result[0],
              'balance' => $result[1]
          );
      }
code_tokens: public function balance ( ) { $ url = self :: HOST . self :: BALANCE ; $ params = $ this -> get_default_params ( ) ; $ result = $ this -> request ( $ url , $ params ) ; $ result = explode ( "\n" , $ result ) ; return array ( 'code' => $ result [ 0 ] , 'balance' => $ result [ 1 ] ) ; }
docstring: Check user balance
  @return array
docstring_tokens: Check user balance