Home
last modified time | relevance | path

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

1234

/php-src/ext/gmp/
H A Dgmp.stub.php79 function gmp_add(GMP|int|string $num1, GMP|int|string $num2): GMP {}
81 function gmp_sub(GMP|int|string $num1, GMP|int|string $num2): GMP {}
83 function gmp_mul(GMP|int|string $num1, GMP|int|string $num2): GMP {}
98 function gmp_mod(GMP|int|string $num1, GMP|int|string $num2): GMP {}
100 function gmp_divexact(GMP|int|string $num1, GMP|int|string $num2): GMP {}
126 function gmp_powm(GMP|int|string $num, GMP|int|string $exponent, GMP|int|string $modulus): GMP {}
134 function gmp_gcd(GMP|int|string $num1, GMP|int|string $num2): GMP {}
142 function gmp_lcm(GMP|int|string $num1, GMP|int|string $num2): GMP {}
162 function gmp_and(GMP|int|string $num1, GMP|int|string $num2): GMP {}
164 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)
154 ZEND_ARG_OBJ_INFO(0, num, GMP, 0)
160 ZEND_ARG_OBJ_INFO(0, num, GMP, 0)
249 ZEND_METHOD(GMP, __construct);
250 ZEND_METHOD(GMP, __serialize);
[all …]
/php-src/ext/gmp/tests/
H A Dconstruct.phpt2 Constructor for GMP
7 var_dump(new GMP);
8 var_dump(new GMP(0));
9 var_dump(new GMP(123));
10 var_dump(new GMP("0xAA"));
11 var_dump(new GMP("12", 4));
29 object(GMP)#1 (1) {
33 object(GMP)#1 (1) {
37 object(GMP)#1 (1) {
41 object(GMP)#1 (1) {
[all …]
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) {
59 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_init_leading_spaces.phpt25 object(GMP)#1 (1) {
29 object(GMP)#1 (1) {
33 object(GMP)#1 (1) {
37 object(GMP)#1 (1) {
41 object(GMP)#1 (1) {
45 object(GMP)#1 (1) {
49 object(GMP)#1 (1) {
53 object(GMP)#1 (1) {
57 object(GMP)#1 (1) {
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 Doverloading_with_float.phpt74 object(GMP)#2 (1) {
78 object(GMP)#2 (1) {
82 object(GMP)#2 (1) {
86 object(GMP)#2 (1) {
90 object(GMP)#2 (1) {
94 object(GMP)#2 (1) {
98 object(GMP)#2 (1) {
102 object(GMP)#2 (1) {
106 object(GMP)#2 (1) {
110 object(GMP)#2 (1) {
[all …]
H A Doverloading_with_int_string.phpt74 object(GMP)#2 (1) {
78 object(GMP)#2 (1) {
82 object(GMP)#2 (1) {
86 object(GMP)#2 (1) {
90 object(GMP)#2 (1) {
94 object(GMP)#2 (1) {
98 object(GMP)#2 (1) {
102 object(GMP)#2 (1) {
106 object(GMP)#2 (1) {
110 object(GMP)#2 (1) {
[all …]
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, false given
55 gmp_abs(): Argument #1 ($num) must be of type GMP|string|int, true 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 Doverloading_with_array.phpt2 GMP operator overloading does not support []
74 TypeError: Number must be of type GMP|string|int, array given
75 TypeError: Number must be of type GMP|string|int, array given
76 TypeError: Number must be of type GMP|string|int, array given
77 TypeError: Number must be of type GMP|string|int, array given
78 TypeError: Number must be of type GMP|string|int, array given
79 TypeError: Unsupported operand types: GMP ** array
80 TypeError: Number must be of type GMP|string|int, array given
81 TypeError: Number must be of type GMP|string|int, array given
83 TypeError: Unsupported operand types: GMP << array
[all …]
H A Doverloading_with_null.phpt2 GMP operator overloading does not support null
74 TypeError: Number must be of type GMP|string|int, null given
75 TypeError: Number must be of type GMP|string|int, null given
76 TypeError: Number must be of type GMP|string|int, null given
77 TypeError: Number must be of type GMP|string|int, null given
78 TypeError: Number must be of type GMP|string|int, null given
79 TypeError: Unsupported operand types: GMP ** null
80 TypeError: Number must be of type GMP|string|int, null given
81 TypeError: Number must be of type GMP|string|int, null given
83 TypeError: Unsupported operand types: GMP << null
[all …]
H A Doverloading_with_object_not_stringable.phpt2 GMP operator overloading does not support non-stringable objects
75 TypeError: Number must be of type GMP|string|int, stdClass given
76 TypeError: Number must be of type GMP|string|int, stdClass given
77 TypeError: Number must be of type GMP|string|int, stdClass given
78 TypeError: Number must be of type GMP|string|int, stdClass given
79 TypeError: Number must be of type GMP|string|int, stdClass given
80 TypeError: Unsupported operand types: GMP ** stdClass
81 TypeError: Number must be of type GMP|string|int, stdClass given
82 TypeError: Number must be of type GMP|string|int, stdClass given
84 TypeError: Unsupported operand types: GMP << stdClass
[all …]
H A Doverloading_with_object_stringable.phpt2 GMP operator overloading does not support stringable objects
81 TypeError: Number must be of type GMP|string|int, T given
82 TypeError: Number must be of type GMP|string|int, T given
83 TypeError: Number must be of type GMP|string|int, T given
84 TypeError: Number must be of type GMP|string|int, T given
85 TypeError: Number must be of type GMP|string|int, T given
86 TypeError: Unsupported operand types: GMP ** T
87 TypeError: Number must be of type GMP|string|int, T given
88 TypeError: Number must be of type GMP|string|int, T given
90 TypeError: Unsupported operand types: GMP << T
[all …]
H A Doverloading_with_resource.phpt2 GMP operator overloading does not support resources
74 TypeError: Number must be of type GMP|string|int, resource given
75 TypeError: Number must be of type GMP|string|int, resource given
76 TypeError: Number must be of type GMP|string|int, resource given
77 TypeError: Number must be of type GMP|string|int, resource given
78 TypeError: Number must be of type GMP|string|int, resource given
79 TypeError: Unsupported operand types: GMP ** resource
80 TypeError: Number must be of type GMP|string|int, resource given
81 TypeError: Number must be of type GMP|string|int, resource given
83 TypeError: Unsupported operand types: GMP << resource
[all …]
H A Doverloading_with_float_fractional.phpt75 object(GMP)#2 (1) {
81 object(GMP)#2 (1) {
87 object(GMP)#2 (1) {
93 object(GMP)#2 (1) {
99 object(GMP)#2 (1) {
103 object(GMP)#2 (1) {
109 object(GMP)#2 (1) {
115 object(GMP)#2 (1) {
121 object(GMP)#2 (1) {
125 object(GMP)#2 (1) {
[all …]
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 Dserialize_via_methods.phpt2 GMP serialization and unserialization via magic methods
20 object(GMP)#1 (1) {
28 object(GMP)#2 (1) {
32 object(GMP)#2 (1) {

Completed in 116 milliseconds

1234