diff options
author | William Martin <wimartin@php.net> | 2010-03-08 15:16:51 +0000 |
---|---|---|
committer | William Martin <wimartin@php.net> | 2010-03-08 15:16:51 +0000 |
commit | d42fd45f970b99ff551365b4731a9a971e918536 (patch) | |
tree | 8d59f892b517b44dc7d342d44fe8b55ed62de682 /ext/bcmath/tests/bcscale_variation002.phpt | |
parent | b961634c5a28c401d81ed473c064ca9ad8114a8e (diff) | |
download | php-git-d42fd45f970b99ff551365b4731a9a971e918536.tar.gz |
Add some bcmath tests
Diffstat (limited to 'ext/bcmath/tests/bcscale_variation002.phpt')
-rw-r--r-- | ext/bcmath/tests/bcscale_variation002.phpt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/bcmath/tests/bcscale_variation002.phpt b/ext/bcmath/tests/bcscale_variation002.phpt new file mode 100644 index 0000000000..0db6cff9f2 --- /dev/null +++ b/ext/bcmath/tests/bcscale_variation002.phpt @@ -0,0 +1,12 @@ +--TEST-- +bcadd() incorrect argument count +--SKIPIF-- +<?php if(!extension_loaded("bcmath")) print "skip"; ?> +--INI-- +bcmath.scale=-2 +--FILE-- +<?php +echo bcadd("-4.27", "7.3"); +?> +--EXPECTF-- +3
\ No newline at end of file |