php-src/ext/bcmath/tests/bcpow_error3.phpt
2010-03-08 15:16:51 +00:00

12 lines
247 B
PHP

--TEST--
bcpow() incorrect argument count
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
--INI--
bcmath.scale=0
--FILE--
<?php
echo bcpow();
?>
--EXPECTF--
Warning: bcpow() expects at least 2 parameters, 0 given in %s on line %d