$b * - zero if $a == $b * - a negative value if $a < $b * * @param resource $a The first number * @param resource $b The second number * @return int */ public function cmp( $a, $b ) { return gmp_cmp( $a, $b ); } /** * Returns the string representation of number $a. * * @param resource $a The number to be represented as a string * @return string */ public function toString( $a ) { return gmp_strval( $a ); } } ?>