Home
last modified time | relevance | path

Searched refs:gmp_abs (Results 1 – 6 of 6) sorted by relevance

/PHP-8.0/ext/gmp/tests/
H A Dgmp_abs.phpt2 gmp_abs() basic tests
9 var_dump(gmp_strval(gmp_abs("")));
13 var_dump(gmp_strval(gmp_abs("0")));
14 var_dump(gmp_strval(gmp_abs(0)));
20 var_dump(gmp_strval(gmp_abs("111111111111111111111")));
21 var_dump(gmp_strval(gmp_abs("-111111111111111111111")));
22 var_dump(gmp_strval(gmp_abs("0000")));
26 var_dump(gmp_strval(gmp_abs("09876543")));
32 var_dump(gmp_strval(gmp_abs("-099987654")));
39 var_dump(gmp_abs(array()));
[all …]
H A Dgmp_strict_types.phpt8 var_dump(gmp_abs(gmp_init(-1)));
9 var_dump(gmp_abs(-1));
10 var_dump(gmp_abs("-1"));
12 gmp_abs(1.0);
17 gmp_abs(false);
22 gmp_abs(true);
27 gmp_abs(null);
32 gmp_abs([]);
52 gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, bool given
53 gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, bool given
[all …]
H A Dbug80560.phpt14 'gmp_abs',
/PHP-8.0/ext/gmp/
H A Dgmp_arginfo.h202 ZEND_FUNCTION(gmp_abs);
256 ZEND_FE(gmp_abs, arginfo_gmp_abs)
H A Dgmp.stub.php40 function gmp_abs(GMP|int|string $num): GMP {} function
H A Dgmp.c1184 ZEND_FUNCTION(gmp_abs) in ZEND_FUNCTION() argument

Completed in 19 milliseconds