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