Home
last modified time | relevance | path

Searched refs:num (Results 26 – 50 of 380) sorted by relevance

12345678910>>...16

/php-src/ext/gmp/
H A Dgmp.stub.php75 function gmp_intval(GMP|int|string $num): int {} argument
102 function gmp_neg(GMP|int|string $num): GMP {} argument
104 function gmp_abs(GMP|int|string $num): GMP {} argument
106 function gmp_fact(GMP|int|string $num): GMP {} argument
108 function gmp_sqrt(GMP|int|string $num): GMP {} argument
114 function gmp_sqrtrem(GMP|int|string $num): array {} argument
154 function gmp_sign(GMP|int|string $num): int {} argument
166 function gmp_com(GMP|int|string $num): GMP {} argument
172 function gmp_clrbit(GMP $num, int $index): void {} argument
180 function gmp_popcount(GMP|int|string $num): int {} argument
[all …]
/php-src/ext/sqlite3/tests/
H A Dbug63921-32bit.phpt11 $num = PHP_INT_MAX; // 32 bits
13 $conn->query('CREATE TABLE users (id INTEGER NOT NULL, num INTEGER NOT NULL, PRIMARY KEY(id))');
15 $stmt = $conn->prepare('insert into users (id, num) values (:id, :num)');
17 $stmt->bindValue(':num', $num, SQLITE3_INTEGER);
20 $stmt = $conn->query('SELECT num FROM users');
23 var_dump($num,$result[0]);
H A Dbug63921-64bit.phpt11 $num = 100004313234244; // notice this exceeds 32 bits
13 $conn->query('CREATE TABLE users (id INTEGER NOT NULL, num INTEGER NOT NULL, PRIMARY KEY(id))');
15 $stmt = $conn->prepare('insert into users (id, num) values (:id, :num)');
17 $stmt->bindValue(':num', $num, SQLITE3_INTEGER);
20 $stmt = $conn->query('SELECT num FROM users');
23 var_dump($num,$result[0]);
/php-src/ext/bcmath/libbcmath/src/
H A Dinit.c65 void _bc_free_num_ex(bc_num *num, bool persistent) in _bc_free_num_ex() argument
67 if (*num == NULL) { in _bc_free_num_ex()
70 (*num)->n_refs--; in _bc_free_num_ex()
71 if ((*num)->n_refs == 0) { in _bc_free_num_ex()
72 pefree(*num, persistent); in _bc_free_num_ex()
74 *num = NULL; in _bc_free_num_ex()
91 void bc_init_num(bc_num *num) in bc_init_num() argument
93 *num = bc_copy_num(BCG(_zero_)); in bc_init_num()
H A Dnearzero.c40 bool bc_is_near_zero(bc_num num, size_t scale) in bc_is_near_zero() argument
43 if (scale > num->n_scale) { in bc_is_near_zero()
44 scale = num->n_scale; in bc_is_near_zero()
48 size_t count = num->n_len + scale; in bc_is_near_zero()
49 const char *nptr = num->n_value; in bc_is_near_zero()
H A Dint2num.c36 void bc_int2num(bc_num *num, int val) in bc_int2num() argument
63 bc_free_num (num); in bc_int2num()
64 *num = bc_new_num (ix, 0); in bc_int2num()
66 (*num)->n_sign = MINUS; in bc_int2num()
70 vptr = (*num)->n_value; in bc_int2num()
H A Dnum2long.c40 long bc_num2long(bc_num num) in bc_num2long() argument
44 const char *nptr = num->n_value; in bc_num2long()
45 for (size_t index = num->n_len; index > 0; index--) { in bc_num2long()
60 if (num->n_sign == PLUS) { in bc_num2long()
/php-src/ext/session/tests/user_session_module/
H A Dsession_set_save_handler_class_008.phpt16 public $num;
17 public function __construct($num) {
18 $this->num = $num;
19 echo "(#$this->num) constructor called\n";
22 echo "(#$this->num) destructor called\n";
26 echo "(#$this->num) finish called $id\n";
30 echo "(#$this->num) writing $id = $data\n";
35 echo "(#$this->num) closing $id\n";
H A Dsession_set_save_handler_class_009.phpt16 public $num;
17 public function __construct($num) {
18 $this->num = $num;
19 echo "(#$this->num) constructor called\n";
22 echo "(#$this->num) destructor called\n";
26 echo "(#$this->num) finish called $id\n";
30 echo "(#$this->num) writing $id = $data\n";
35 echo "(#$this->num) closing $id\n";
H A Dsession_set_save_handler_class_010.phpt16 public $num;
17 public function __construct($num) {
18 $this->num = $num;
19 echo "(#$this->num) constructor called\n";
22 echo "(#$this->num) destructor called\n";
26 echo "(#$this->num) finish called $id\n";
30 echo "(#$this->num) writing $id = $data\n";
35 echo "(#$this->num) closing $id\n";
H A Dsession_set_save_handler_class_007.phpt16 public $num;
17 public function __construct($num) {
18 $this->num = $num;
19 echo "(#$this->num) constructor called\n";
22 echo "(#$this->num) destructor called\n";
26 echo "(#$this->num) finish called $id\n";
30 echo "(#$this->num) writing $id = $data\n";
35 echo "(#$this->num) closing $id\n";
/php-src/ext/gmp/tests/
H A Dsurprising_integer_literals.phpt27 gmp_init(): Argument #1 ($num) is not an integer string
28 gmp_init(): Argument #1 ($num) is not an integer string
29 gmp_init(): Argument #1 ($num) is not an integer string
30 gmp_init(): Argument #1 ($num) is not an integer string
31 gmp_init(): Argument #1 ($num) is not an integer string
32 gmp_init(): Argument #1 ($num) is not an integer string
33 gmp_init(): Argument #1 ($num) is not an integer string
H A Dconstruct.phpt30 ["num"]=>
34 ["num"]=>
38 ["num"]=>
42 ["num"]=>
46 ["num"]=>
50 GMP::__construct(): Argument #1 ($num) is not an integer string
51 GMP::__construct(): Argument #1 ($num) is not an integer string
H A Dgmp_strict_types.phpt42 ["num"]=>
46 ["num"]=>
50 ["num"]=>
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 Dgmp_div_q.phpt46 ["num"]=>
51 ["num"]=>
56 ["num"]=>
60 ["num"]=>
64 ["num"]=>
68 ["num"]=>
72 ["num"]=>
76 ["num"]=>
H A Dgmp_div_r.phpt46 ["num"]=>
51 ["num"]=>
56 ["num"]=>
60 ["num"]=>
64 ["num"]=>
68 ["num"]=>
72 ["num"]=>
76 ["num"]=>
H A Dgmp_root.phpt37 ["num"]=>
41 ["num"]=>
45 ["num"]=>
49 ["num"]=>
53 ["num"]=>
58 ["num"]=>
/php-src/ext/pcre/tests/
H A Drequest47456.phpt8 preg_match_all('/(?J)(?<chr>[ac])(?<num>\d)|(?<chr>[b])/', 'a1bc3', $m, PREG_SET_ORDER);
12 preg_match_all('/(?<chr>[ac])(?<num>\d)|(?<chr>[b])/J', 'a1bc3', $m, PREG_SET_ORDER);
25 ["num"]=>
38 ["num"]=>
53 ["num"]=>
68 ["num"]=>
81 ["num"]=>
96 ["num"]=>
/php-src/ext/pgsql/tests/
H A D14pg_update.phpt17 $fields = array('num'=>'1234', 'str'=>'ABC', 'bin'=>'XYZ');
18 $ids = array('num'=>'1234');
27 UPDATE "php_pgsql_test" SET "num"=1234,"str"=E'ABC',"bin"=E'XYZ' WHERE "num"=1234;
28 UPDATE "php_pgsql_test" SET "num='1234',"str='ABC',"bin='XYZ' WHERE "num='1234';
H A D14pg_update_9.phpt18 pg_query($db, "CREATE TABLE {$table_name} (num int, str text, bin bytea)");
24 $fields = array('num'=>'1234', 'str'=>'ABC', 'bin'=>'XYZ');
25 $ids = array('num'=>'1234');
42 UPDATE "table_14pg_update_9" SET "num"=1234,"str"=E'ABC',"bin"=E'\\x58595a' WHERE "num"=1234;
43 UPDATE "table_14pg_update_9" SET "num"='1234',"str"='ABC',"bin"='XYZ' WHERE "num"='1234';
/php-src/ext/soap/tests/bugs/
H A Dbug36999.phpt10 function echoLong($num) {
11 return $num;
35 function test($num) {
38 printf("%s %0.0f\n", gettype($num), $num);
39 $ret = $soap->echoLong($num);
/php-src/ext/bcmath/
H A Dbcmath.stub.php21 function bcpowmod(string $num, string $exponent, string $modulus, ?int $scale = null): string {} argument
24 function bcpow(string $num, string $exponent, ?int $scale = null): string {} argument
27 function bcsqrt(string $num, ?int $scale = null): string {} argument
34 function bcfloor(string $num): string {} argument
37 function bcceil(string $num): string {} argument
40 function bcround(string $num, int $precision = 0, int $mode = PHP_ROUND_HALF_UP): string {} argument
/php-src/tests/classes/
H A Diterators_004.phpt21 public $num = 0;
25 return $this->num;
29 $this->num++;
33 return $this->num < $this->max;
37 switch($this->num) {
58 object:num=>0
/php-src/ext/pdo_mysql/tests/
H A Dlast_insert_id.phpt15 print_r($db->query("CREATE TABLE test_last_insert_id (id INT AUTO_INCREMENT PRIMARY KEY, num INT)")…
17 print_r($db->query("INSERT INTO test_last_insert_id (id, num) VALUES (23, 42)"));
19 print_r($db->query("INSERT INTO test_last_insert_id (num) VALUES (451)"));
32 [queryString] => CREATE TABLE test_last_insert_id (id INT AUTO_INCREMENT PRIMARY KEY, num INT)
36 [queryString] => INSERT INTO test_last_insert_id (id, num) VALUES (23, 42)
40 [queryString] => INSERT INTO test_last_insert_id (num) VALUES (451)
/php-src/sapi/phpdbg/
H A Dphpdbg_set.c64 if (param->num) { in PHPDBG_SET()
84 PHPDBG_G(lines) = param->num; in PHPDBG_SET()
99 if (param->next->num) { in PHPDBG_SET()
100 phpdbg_enable_breakpoint(param->num); in PHPDBG_SET()
102 phpdbg_disable_breakpoint(param->num); in PHPDBG_SET()
105 phpdbg_breakbase_t *brake = phpdbg_find_breakbase(param->num); in PHPDBG_SET()
109 phpdbg_error("Failed to find breakpoint #"ZEND_LONG_FMT, param->num); in PHPDBG_SET()
127 if (param->num) { in PHPDBG_SET()
184 if (param->num) { in PHPDBG_SET()
205 if (param->num) { in PHPDBG_SET()
[all …]

Completed in 44 milliseconds

12345678910>>...16