diff options
Diffstat (limited to 'ext/gmp/tests/bug32773.phpt')
-rw-r--r-- | ext/gmp/tests/bug32773.phpt | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/ext/gmp/tests/bug32773.phpt b/ext/gmp/tests/bug32773.phpt deleted file mode 100644 index feb9d8d755..0000000000 --- a/ext/gmp/tests/bug32773.phpt +++ /dev/null @@ -1,22 +0,0 @@ ---TEST-- -Bug #32773 binary GMP functions returns unexpected value, when second parameter is int(0) ---SKIPIF-- -<?php if (!extension_loaded("gmp")) print "skip"; ?> ---FILE-- -<?php -echo '10 + 0 = ', gmp_strval(gmp_add(10, 0)), "\n"; -echo '10 + "0" = ', gmp_strval(gmp_add(10, '0')), "\n"; - -echo gmp_strval(gmp_div(10, 0))."\n"; -echo gmp_strval(gmp_div_qr(10, 0))."\n"; - -?> ---EXPECTF-- -10 + 0 = 10 -10 + "0" = 10 - -Warning: gmp_div(): Zero operand not allowed in %s on line %d -0 - -Warning: gmp_div_qr(): Zero operand not allowed in %s on line %d -0 |