bcdiv_error2.phpt 319 B

12345678910111213
  1. --TEST--
  2. bcdiv — Divide two arbitrary precision numbers
  3. --CREDITS--
  4. Antoni Torrents
  5. antoni@solucionsinternet.com
  6. --SKIPIF--
  7. <?php if(!extension_loaded("bcmath")) print "skip"; ?>
  8. --FILE--
  9. <?php
  10. echo bcdiv('1', '2', '3', '4');
  11. ?>
  12. --EXPECTF--
  13. Warning: bcdiv() expects at most 3 parameters, 4 given in %s.php on line %d