--TEST-- gmp_init() with various integer notations and leading spaces --EXTENSIONS-- gmp --FILE-- getMessage(), PHP_EOL; } ?> --EXPECT-- object(GMP)#1 (1) { ["num"]=> string(2) "22" } object(GMP)#1 (1) { ["num"]=> string(2) "22" } object(GMP)#1 (1) { ["num"]=> string(2) "14" } object(GMP)#1 (1) { ["num"]=> string(2) "14" } object(GMP)#1 (1) { ["num"]=> string(2) "14" } object(GMP)#1 (1) { ["num"]=> string(2) "14" } object(GMP)#1 (1) { ["num"]=> string(1) "3" } object(GMP)#1 (1) { ["num"]=> string(1) "3" } object(GMP)#1 (1) { ["num"]=> string(1) "0" } ValueError: gmp_init(): Argument #1 ($num) is not an integer string