xref: /PHP-5.6/ext/bcmath/tests/bcdiv_error1.phpt (revision 610c7fbe)
1--TEST--
2bcdiv — Divide two arbitrary precision numbers
3--CREDITS--
4TestFest2009
5Antoni Torrents
6antoni@solucionsinternet.com
7--SKIPIF--
8<?php if(!extension_loaded("bcmath")) print "skip"; ?>
9--FILE--
10<?php
11echo bcdiv('10.99', '0');
12?>
13--EXPECTF--
14Warning: bcdiv(): Division by zero in %s.php on line %d
15