Home
last modified time | relevance | path

Searched refs:gmp_cmp (Results 1 – 5 of 5) sorted by relevance

/PHP-8.0/ext/gmp/tests/
H A Dgmp_cmp.phpt2 gmp_cmp() basic tests
8 var_dump(gmp_cmp(123123,-123123));
9 var_dump(gmp_cmp("12345678900987654321","12345678900987654321"));
10 var_dump(gmp_cmp("12345678900987654321","123456789009876543211"));
11 var_dump(gmp_cmp(0,0));
12 var_dump(gmp_cmp(1231222,0));
13 var_dump(gmp_cmp(0,345355));
16 var_dump(gmp_cmp(0,$n) < 0);
18 var_dump(gmp_cmp($n1,$n));
21 var_dump(gmp_cmp(array(),array()));
[all …]
H A Dbug80560.phpt53 'gmp_cmp',
/PHP-8.0/ext/gmp/
H A Dgmp_arginfo.h220 ZEND_FUNCTION(gmp_cmp);
274 ZEND_FE(gmp_cmp, arginfo_gmp_cmp)
H A Dgmp.stub.php76 function gmp_cmp(GMP|int|string $num1, GMP|int|string $num2): int {} function
H A Dgmp.c178 static void gmp_cmp(zval *return_value, zval *a_arg, zval *b_arg, bool is_operator);
430 gmp_cmp(&result, op1, op2, /* is_operator */ true); in gmp_compare()
679 static void gmp_cmp(zval *return_value, zval *a_arg, zval *b_arg, bool is_operator) /* {{{ */ in gmp_cmp() function
1685 ZEND_FUNCTION(gmp_cmp) in ZEND_FUNCTION() argument
1693 gmp_cmp(return_value, a_arg, b_arg, /* is_operator */ false); in ZEND_FUNCTION()

Completed in 11 milliseconds