php-src/ext/bcmath/tests/bcdiv_error2.phpt

14 lines
319 B
Plaintext
Raw Normal View History

2009-08-30 11:10:20 +00:00
--TEST--
bcdiv — Divide two arbitrary precision numbers
--CREDITS--
Antoni Torrents
antoni@solucionsinternet.com
2009-08-31 19:22:29 +00:00
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
2009-08-30 11:10:20 +00:00
--FILE--
<?php
echo bcdiv('1', '2', '3', '4');
?>
--EXPECTF--
Warning: bcdiv() expects at most 3 parameters, 4 given in %s.php on line %d