Home
last modified time | relevance | path

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

/PHP-8.1/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.phpt10 var_dump(gmp_abs(gmp_init(-1)));
11 var_dump(gmp_abs(-1));
12 var_dump(gmp_abs("-1"));
14 gmp_abs(1.0);
19 gmp_abs(false);
24 gmp_abs(true);
29 gmp_abs(null);
34 gmp_abs([]);
54 gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, bool given
55 gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, bool given
[all …]
H A Dbug80560.phpt14 'gmp_abs',
/PHP-8.1/ext/gmp/
H A Dgmp_arginfo.h209 ZEND_FUNCTION(gmp_abs);
265 ZEND_FE(gmp_abs, arginfo_gmp_abs)
H A Dgmp.stub.php47 function gmp_abs(GMP|int|string $num): GMP {} function
H A Dgmp.c1185 ZEND_FUNCTION(gmp_abs) in ZEND_FUNCTION() argument

Completed in 16 milliseconds