php-src/ext/bcmath/tests/bcdiv_error1.phpt
2009-08-30 11:10:20 +00:00

13 lines
240 B
PHP
Executable File

--TEST--
bcdiv Divide two arbitrary precision numbers
--CREDITS--
TestFest2009
Antoni Torrents
antoni@solucionsinternet.com
--FILE--
<?php
echo bcdiv('10.99', '0');
?>
--EXPECTF--
Warning: bcdiv(): Division by zero in %s.php on line %d