--TEST-- gmp_sub() tests --SKIPIF-- --FILE-- --EXPECTF-- Warning: gmp_sub() expects exactly 2 parameters, 0 given in %s on line %d NULL Warning: gmp_sub() expects exactly 2 parameters, 1 given in %s on line %d NULL Warning: gmp_sub(): Unable to convert variable to GMP - string is not an integer in %s on line %d bool(false) Warning: gmp_sub() expects exactly 2 parameters, 3 given in %s on line %d NULL Warning: gmp_sub(): Unable to convert variable to GMP - wrong type in %s on line %d bool(false) object(GMP)#%d (1) { ["num"]=> string(2) "-1" } string(2) "-1" object(GMP)#%d (1) { ["num"]=> string(5) "10001" } string(5) "10001" Warning: gmp_sub(): Unable to convert variable to GMP - wrong type in %s on line %d bool(false) string(1) "0" Warning: gmp_sub(): Unable to convert variable to GMP - wrong type in %s on line %d bool(false) string(1) "0" Done