original_string: protected function char2hex($a)
      {
          return
              $a >= 48 && $a <= 57 ? $a - 48 : // 0-9
                  ($a >= 65 && $a <= 70 ? $a - 55 : // A-F
                      ($a >= 97 && $a <= 102 ? $a - 87 : -1)); // a-f
      }
code: protected function char2hex($a)
      {
          return
              $a >= 48 && $a <= 57 ? $a - 48 : // 0-9
                  ($a >= 65 && $a <= 70 ? $a - 55 : // A-F
                      ($a >= 97 && $a <= 102 ? $a - 87 : -1)); // a-f
      }
code_tokens: protected function char2hex ( $ a ) { return $ a >= 48 && $ a <= 57 ? $ a - 48 : // 0-9 ( $ a >= 65 && $ a <= 70 ? $ a - 55 : // A-F ( $ a >= 97 && $ a <= 102 ? $ a - 87 : - 1 ) ) ; // a-f }
docstring: Converts a hex character to its integer value.
  '0' becomes 0, '9' becomes 9
  'A' becomes 10, 'F' becomes 15
  'a' becomes 10, 'f' becomes 15
  
  Returns -1 on error.
  
  @param $a
  
  @return int
docstring_tokens: Converts a hex character to its integer value . 0 becomes 0 9 becomes 9 A becomes 10 F becomes 15 a becomes 10 f becomes 15