Lines Matching refs:gmp_cmp
2 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));
20 var_dump(gmp_cmp($n1,$n,1));
21 var_dump(gmp_cmp(array(),array()));
22 var_dump(gmp_cmp(array()));
23 var_dump(gmp_cmp());
37 Warning: gmp_cmp() expects exactly 2 parameters, 3 given in %s on line %d
40 Warning: gmp_cmp(): Unable to convert variable to GMP - wrong type in %s on line %d
43 Warning: gmp_cmp() expects exactly 2 parameters, 1 given in %s on line %d
46 Warning: gmp_cmp() expects exactly 2 parameters, 0 given in %s on line %d