summaryrefslogtreecommitdiff
path: root/ext/bcmath/tests/bcmod_error1.phpt
blob: e36dce285db71a7e7d6b5fd2fb62a6e6984c2843 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
bcmod — Get modulus of an arbitrary precision number
--CREDITS--
Antoni Torrents
antoni@solucionsinternet.com
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
--FILE--
<?php
echo bcmod('1', '2', '3');
?>
--EXPECTF--
Warning: bcmod() expects exactly 2 parameters, 3 given in %s.php on line %d