Home
last modified time | relevance | path

Searched refs:bcsub (Results 1 – 11 of 11) sorted by relevance

/php-src/ext/bcmath/tests/
H A Dbcsub_error.phpt2 bcsub() requires well-formed values
9 bcsub('a', '1');
15 bcsub('1', 'a');
22 bcsub(): Argument #1 ($num1) is not well-formed
23 bcsub(): Argument #2 ($num2) is not well-formed
H A Dscale.phpt14 'bcsub: ', bcsub('2', '1', 5), PHP_EOL;
23 bcsub: 1.00000
H A Dscale_ini.phpt16 'bcsub: ', bcsub('2', '1'), PHP_EOL;
25 bcsub: 1.00000
H A Dbcsub_zero.phpt2 bcsub() function with number zero
29 run_bcmath_tests($minuends, $subtrahends, "-", bcsub(...));
H A Dbcsub_large_numbers.phpt2 bcsub() function with large numbers
34 run_bcmath_tests($minuends, $subtrahends, "-", bcsub(...));
H A Dbcsub.phpt2 bcsub() function
25 run_bcmath_tests($minuends, $subtrahends, "-", bcsub(...));
H A Dnegative_scale.phpt15 bcsub('1','2',-1);
62 bcsub(): Argument #3 ($scale) must be between 0 and 2147483647
H A Dstr2num_formatting.phpt4 1 and 2 argument of bcadd/bcsub/bcmul/bcdiv/bcmod/bcpowmod/bcpow/bccomp (last one works different t…
/php-src/ext/bcmath/
H A Dbcmath_arginfo.h59 ZEND_FUNCTION(bcsub);
74 ZEND_FE(bcsub, arginfo_bcsub)
H A Dbcmath.stub.php9 function bcsub(string $num1, string $num2, ?int $scale = null): string {} function
H A Dbcmath.c210 PHP_FUNCTION(bcsub) in PHP_FUNCTION() argument

Completed in 13 milliseconds