Home
last modified time | relevance | path

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

/php-src/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([]);
53 gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, float given
55 gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, true given
[all …]
H A Dbug80560.phpt14 'gmp_abs',
/php-src/ext/gmp/
H A Dgmp_arginfo.h213 ZEND_FUNCTION(gmp_abs);
269 ZEND_FE(gmp_abs, arginfo_gmp_abs)
H A Dgmp.stub.php104 function gmp_abs(GMP|int|string $num): GMP {} function
H A Dgmp.c1278 ZEND_FUNCTION(gmp_abs) in ZEND_FUNCTION() argument

Completed in 14 milliseconds