original_string: public static function int_to_roman($number) {
          if (!is_integer($number) || $number < 1 || $number > 3999) {
              throw new coding_exception('Only integers between 0 and 3999 can be ' .
                      'converted to roman numerals.', $number);
          }
  
          return self::$thousands[$number / 1000 % 10] . self::$hundreds[$number / 100 % 10] .
                  self::$tens[$number / 10 % 10] . self::$units[$number % 10];
      }
code: public static function int_to_roman($number) {
          if (!is_integer($number) || $number < 1 || $number > 3999) {
              throw new coding_exception('Only integers between 0 and 3999 can be ' .
                      'converted to roman numerals.', $number);
          }
  
          return self::$thousands[$number / 1000 % 10] . self::$hundreds[$number / 100 % 10] .
                  self::$tens[$number / 10 % 10] . self::$units[$number % 10];
      }
code_tokens: public static function int_to_roman ( $ number ) { if ( ! is_integer ( $ number ) || $ number < 1 || $ number > 3999 ) { throw new coding_exception ( 'Only integers between 0 and 3999 can be ' . 'converted to roman numerals.' , $ number ) ; } return self :: $ thousands [ $ number / 1000 % 10 ] . self :: $ hundreds [ $ number / 100 % 10 ] . self :: $ tens [ $ number / 10 % 10 ] . self :: $ units [ $ number % 10 ] ; }
docstring: Convert an integer to roman numerals.
  @param int $number an integer between 1 and 3999 inclusive. Anything else
  will throw an exception.
  @return string the number converted to lower case roman numerals.
docstring_tokens: Convert an integer to roman numerals .