Home
last modified time | relevance | path

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

/php-src/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-src/ext/gmp/
H A Dgmp_arginfo.h231 ZEND_FUNCTION(gmp_cmp);
287 ZEND_FE(gmp_cmp, arginfo_gmp_cmp)
H A Dgmp.stub.php152 function gmp_cmp(GMP|int|string $num1, GMP|int|string $num2): int {} function
H A Dgmp.c184 static void gmp_cmp(zval *return_value, zval *a_arg, zval *b_arg, bool is_operator);
499 gmp_cmp(&result, op1, op2, /* is_operator */ true); in gmp_compare()
751 static void gmp_cmp(zval *return_value, zval *a_arg, zval *b_arg, bool is_operator) /* {{{ */ in gmp_cmp() function
1796 ZEND_FUNCTION(gmp_cmp) in ZEND_FUNCTION() argument
1804 gmp_cmp(return_value, a_arg, b_arg, /* is_operator */ false); in ZEND_FUNCTION()

Completed in 18 milliseconds