diff options
Diffstat (limited to 'ext/bcmath/tests/bcdiv_error2.phpt')
-rw-r--r-- | ext/bcmath/tests/bcdiv_error2.phpt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ext/bcmath/tests/bcdiv_error2.phpt b/ext/bcmath/tests/bcdiv_error2.phpt new file mode 100644 index 0000000..a90c79e --- /dev/null +++ b/ext/bcmath/tests/bcdiv_error2.phpt @@ -0,0 +1,13 @@ +--TEST-- +bcdiv — Divide two arbitrary precision numbers +--CREDITS-- +Antoni Torrents +antoni@solucionsinternet.com +--SKIPIF-- +<?php if(!extension_loaded("bcmath")) print "skip"; ?> +--FILE-- +<?php +echo bcdiv('1', '2', '3', '4'); +?> +--EXPECTF-- +Warning: bcdiv() expects at most 3 parameters, 4 given in %s.php on line %d |