original_string: private function getFromConst($line)
      {
          $eq_pos = strpos($line, '=');
          $semicolon_pos = strrpos($line, ';');
  
          $constant_name = trim(substr($line, 6, $eq_pos - 6));
          $value = trim(substr($line, $eq_pos + 1, $semicolon_pos - $eq_pos - 1));
  
          return [$constant_name, $this->getNativeValueFromDefinition($value)];
      }
code: private function getFromConst($line)
      {
          $eq_pos = strpos($line, '=');
          $semicolon_pos = strrpos($line, ';');
  
          $constant_name = trim(substr($line, 6, $eq_pos - 6));
          $value = trim(substr($line, $eq_pos + 1, $semicolon_pos - $eq_pos - 1));
  
          return [$constant_name, $this->getNativeValueFromDefinition($value)];
      }
code_tokens: private function getFromConst ( $ line ) { $ eq_pos = strpos ( $ line , '=' ) ; $ semicolon_pos = strrpos ( $ line , ';' ) ; $ constant_name = trim ( substr ( $ line , 6 , $ eq_pos - 6 ) ) ; $ value = trim ( substr ( $ line , $ eq_pos + 1 , $ semicolon_pos - $ eq_pos - 1 ) ) ; return [ $ constant_name , $ this -> getNativeValueFromDefinition ( $ value ) ] ; }
docstring: Return single option from const DB_XYZ defition line
  
  @param  string $line
  @return string
docstring_tokens: Return single option from const DB_XYZ defition line