-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmygmp.stub.php
More file actions
28 lines (20 loc) · 814 Bytes
/
mygmp.stub.php
File metadata and controls
28 lines (20 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
/**
* @generate-function-entries
* @generate-class-entries
*/
function mygmp_version(): void {}
function mygmp_get_version(): string {}
function mygmp_add(string $a, string $b): string|false {}
function mygmp_add_array(array $arr): string {}
function mygmp_sum(array $nums): string|false {}
function mygmp_random_ints(int $count, int $bits = 64): array|false {}
class MyGMP {
public function __construct(int|float|string $num = 0) {}
public function __toString(): string {}
public function __debugInfo(): array {}
public function add(\MyGMP|int|float|string $other): \MyGMP {}
public function sub(\MyGMP|int|float|string $other): \MyGMP {}
public function mul(\MyGMP|int|float|string $other): \MyGMP {}
public function divq(\MyGMP|int|float|string $other): \MyGMP {}
}