Home
last modified time | relevance | path

Searched refs:GMP (Results 1 – 25 of 74) sorted by relevance

123

/PHP-8.1/ext/gmp/
H A Dgmp.stub.php5 class GMP class
22 function gmp_add(GMP|int|string $num1, GMP|int|string $num2): GMP {}
24 function gmp_sub(GMP|int|string $num1, GMP|int|string $num2): GMP {}
26 function gmp_mul(GMP|int|string $num1, GMP|int|string $num2): GMP {}
41 function gmp_mod(GMP|int|string $num1, GMP|int|string $num2): GMP {}
69 function gmp_powm(GMP|int|string $num, GMP|int|string $exponent, GMP|int|string $modulus): GMP {}
77 function gmp_gcd(GMP|int|string $num1, GMP|int|string $num2): GMP {}
85 function gmp_lcm(GMP|int|string $num1, GMP|int|string $num2): GMP {}
105 function gmp_and(GMP|int|string $num1, GMP|int|string $num2): GMP {}
107 function gmp_or(GMP|int|string $num1, GMP|int|string $num2): GMP {}
[all …]
H A Dgmp_arginfo.h4 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_gmp_init, 0, 1, GMP, 0)
9 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_gmp_import, 0, 1, GMP, 0)
16 ZEND_ARG_OBJ_TYPE_MASK(0, num, GMP, MAY_BE_LONG|MAY_BE_STRING, NULL)
22 ZEND_ARG_OBJ_TYPE_MASK(0, num, GMP, MAY_BE_LONG|MAY_BE_STRING, NULL)
26 ZEND_ARG_OBJ_TYPE_MASK(0, num, GMP, MAY_BE_LONG|MAY_BE_STRING, NULL)
30 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_gmp_add, 0, 2, GMP, 0)
31 ZEND_ARG_OBJ_TYPE_MASK(0, num1, GMP, MAY_BE_LONG|MAY_BE_STRING, NULL)
154 ZEND_ARG_OBJ_INFO(0, num, GMP, 0)
160 ZEND_ARG_OBJ_INFO(0, num, GMP, 0)
245 ZEND_METHOD(GMP, __serialize);
[all …]
/PHP-8.1/ext/gmp/tests/
H A Doverloading.phpt2 GMP operator overloading
127 object(GMP)#3 (1) {
131 object(GMP)#3 (1) {
135 object(GMP)#3 (1) {
139 object(GMP)#3 (1) {
143 object(GMP)#3 (1) {
147 object(GMP)#3 (1) {
151 object(GMP)#3 (1) {
155 object(GMP)#3 (1) {
159 object(GMP)#3 (1) {
[all …]
H A Dgmp_div_qr.phpt53 object(GMP)#1 (1) {
58 object(GMP)#2 (1) {
67 object(GMP)#2 (1) {
72 object(GMP)#5 (1) {
80 object(GMP)#4 (1) {
85 object(GMP)#3 (1) {
92 object(GMP)#3 (1) {
97 object(GMP)#4 (1) {
104 object(GMP)#4 (1) {
109 object(GMP)#3 (1) {
[all …]
H A Dgmp_binomial.phpt30 object(GMP)#1 (1) {
34 object(GMP)#1 (1) {
38 object(GMP)#2 (1) {
42 object(GMP)#2 (1) {
46 object(GMP)#2 (1) {
50 object(GMP)#2 (1) {
54 object(GMP)#2 (1) {
58 object(GMP)#2 (1) {
62 object(GMP)#2 (1) {
66 object(GMP)#2 (1) {
H A Dserialize.phpt2 GMP serialization and unserialization
20 unserialize('C:3:"GMP":0:{}');
24 unserialize('C:3:"GMP":9:{s:2:"42";}');
28 unserialize('O:3:"GMP":0:{}');
32 unserialize('O:3:"GMP":1:{i:0;i:0;}');
36 unserialize('O:3:"GMP":1:{i:0;s:0:"";}');
45 object(GMP)#%d (1) {
49 string(27) "O:3:"GMP":1:{i:0;s:2:"2a";}"
50 object(GMP)#%d (1) {
55 object(GMP)#%d (2) {
[all …]
H A Dgmp_init_integer_notations.phpt19 object(GMP)#1 (1) {
23 object(GMP)#1 (1) {
27 object(GMP)#1 (1) {
31 object(GMP)#1 (1) {
35 object(GMP)#1 (1) {
39 object(GMP)#1 (1) {
43 object(GMP)#1 (1) {
47 object(GMP)#1 (1) {
H A Dgmp_remroot.phpt37 object(GMP)#%d (1) {
42 object(GMP)#%d (1) {
49 object(GMP)#%d (1) {
54 object(GMP)#%d (1) {
61 object(GMP)#%d (1) {
66 object(GMP)#%d (1) {
73 object(GMP)#%d (1) {
78 object(GMP)#%d (1) {
85 object(GMP)#%d (1) {
90 object(GMP)#%d (1) {
[all …]
H A Dgmp_lcm.phpt20 object(GMP)#1 (1) {
24 object(GMP)#1 (1) {
28 object(GMP)#1 (1) {
32 object(GMP)#1 (1) {
36 object(GMP)#3 (1) {
40 object(GMP)#3 (1) {
44 object(GMP)#3 (1) {
H A Dgmp_div_q.phpt45 object(GMP)#1 (1) {
50 object(GMP)#2 (1) {
55 object(GMP)#1 (1) {
59 object(GMP)#1 (1) {
63 object(GMP)#1 (1) {
67 object(GMP)#1 (1) {
71 object(GMP)#1 (1) {
75 object(GMP)#1 (1) {
79 gmp_div_q(): Argument #1 ($num1) must be of type GMP|string|int, resource given
80 gmp_div_q(): Argument #1 ($num1) must be of type GMP|string|int, array given
H A Dgmp_div_r.phpt45 object(GMP)#1 (1) {
50 object(GMP)#3 (1) {
55 object(GMP)#2 (1) {
59 object(GMP)#3 (1) {
63 object(GMP)#2 (1) {
67 object(GMP)#3 (1) {
71 object(GMP)#2 (1) {
75 object(GMP)#3 (1) {
79 gmp_div_r(): Argument #1 ($num1) must be of type GMP|string|int, resource given
80 gmp_div_r(): Argument #1 ($num1) must be of type GMP|string|int, array given
H A Dgmp_strict_types.phpt2 GMP functions with strict_types=1
41 object(GMP)#2 (1) {
45 object(GMP)#2 (1) {
49 object(GMP)#2 (1) {
53 gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, float given
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
56 gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, null given
57 gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, array given
H A Dgmp_root.phpt36 object(GMP)#%d (1) {
40 object(GMP)#%d (1) {
44 object(GMP)#%d (1) {
48 object(GMP)#%d (1) {
52 object(GMP)#%d (1) {
57 object(GMP)#%d (1) {
H A Dcomparison.phpt2 Overloaded GMP comparison in sort() etc
21 object(GMP)#1 (1) {
28 object(GMP)#2 (1) {
33 object(GMP)#3 (1) {
H A Dgh9308.phpt2 Bug GH-9308: GMP throws the wrong error when a GMP object is passed to gmp_init()
9 /* We need strict_types as GMP has a __toString() handler */
19 gmp_init(): Argument #1 ($num) must be of type string|int, GMP given
H A Dunserialize_with_reference.phpt2 Unserialize GMP instance with internal reference to itself
7 $s = 'C:3:"GMP":23:{s:1:"2";a:1:{i:46;R:1;}}';
11 object(GMP)#1 (2) {
H A Dclone.phpt2 Cloning GMP instances
15 object(GMP)#1 (1) {
19 object(GMP)#2 (1) {
H A Dgmp_sub.phpt41 gmp_sub(): Argument #1 ($num1) must be of type GMP|string|int, array given
42 object(GMP)#1 (1) {
47 object(GMP)#3 (1) {
52 gmp_sub(): Argument #2 ($num2) must be of type GMP|string|int, stdClass given
53 gmp_sub(): Argument #1 ($num1) must be of type GMP|string|int, stdClass given
H A Dgmp_mod.phpt37 object(GMP)#2 (1) {
41 object(GMP)#2 (1) {
46 gmp_mod(): Argument #1 ($num1) must be of type GMP|string|int, array given
47 object(GMP)#4 (1) {
H A Dgmp_php_int_max.phpt18 object(GMP)#%d (%d) {
22 object(GMP)#%d (%d) {
26 object(GMP)#%d (%d) {
H A Dbug81119.phpt2 GMP operators throw errors with wrong parameter names
24 Number must be of type GMP|string|int, array given
26 Number must be of type GMP|string|int, array given
H A Dgmp_pown.phpt78 gmp_powm(): Argument #1 ($num) must be of type GMP|string|int, array given
79 gmp_powm(): Argument #2 ($exponent) must be of type GMP|string|int, array given
80 gmp_powm(): Argument #2 ($exponent) must be of type GMP|string|int, TypeError given
81 gmp_powm(): Argument #1 ($num) must be of type GMP|string|int, array given
83 object(GMP)#6 (1) {
H A Dbug50175.phpt13 object(GMP)#%d (1) {
17 object(GMP)#%d (1) {
H A Dbug74670.phpt2 Bug #74670: Integer Underflow when unserializing GMP and possible other classes
7 $str = 'C:3:"GMP":4:{s:6666666666:""}';
H A Dgmp_hamdist.phpt45 gmp_hamdist(): Argument #2 ($num2) must be of type GMP|string|int, array given
46 gmp_hamdist(): Argument #1 ($num1) must be of type GMP|string|int, array given
47 gmp_hamdist(): Argument #1 ($num1) must be of type GMP|string|int, array given

Completed in 48 milliseconds

123