mirror of
https://github.com/php/php-src.git
synced 2024-10-02 23:36:16 +00:00
14 lines
319 B
PHP
14 lines
319 B
PHP
--TEST--
|
|
bcdiv — Divide two arbitrary precision numbers
|
|
--CREDITS--
|
|
Antoni Torrents
|
|
antoni@solucionsinternet.com
|
|
--SKIPIF--
|
|
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
|
|
--FILE--
|
|
<?php
|
|
echo bcdiv('1', '2', '3', '4');
|
|
?>
|
|
--EXPECTF--
|
|
Warning: bcdiv() expects at most 3 parameters, 4 given in %s.php on line %d
|