/PHP-8.2/ext/standard/tests/array/ |
H A D | array_fill.phpt | 9 foreach($array1 as $num) 14 echo 'start: '.$start.' num: '.$num.' value: '. var_dump($value); 24 start: 0 num: 0 value: array(0) { 28 start: 0 num: 0 value: array(0) { 32 start: 0 num: 0 value: array(0) { 36 start: 0 num: 0 value: array(0) { 40 start: 0 num: 0 value: array(0) { 44 start: 0 num: 0 value: array(0) { 48 start: 0 num: 1 value: array(1) { 54 start: 0 num: 1 value: array(1) { [all …]
|
/PHP-8.2/ext/dba/libflatfile/ |
H A D | flatfile.c | 106 size_t num; in flatfile_delete() local 123 num = php_stream_read(dba->fp, buf, num); in flatfile_delete() 144 num = php_stream_read(dba->fp, buf, num); in flatfile_delete() 155 size_t num; in flatfile_findkey() local 170 num = php_stream_read(dba->fp, buf, num); in flatfile_findkey() 186 num = php_stream_read(dba->fp, buf, num); in flatfile_findkey() 196 size_t num; in flatfile_firstkey() local 210 num = php_stream_read(dba->fp, buf, num); in flatfile_firstkey() 226 num = php_stream_read(dba->fp, buf, num); in flatfile_firstkey() 252 num = php_stream_read(dba->fp, buf, num); in flatfile_nextkey() [all …]
|
/PHP-8.2/ext/gmp/tests/ |
H A D | overloading_with_float.phpt | 75 ["num"]=> 79 ["num"]=> 83 ["num"]=> 87 ["num"]=> 91 ["num"]=> 95 ["num"]=> 99 ["num"]=> 103 ["num"]=> 107 ["num"]=> 111 ["num"]=> [all …]
|
H A D | overloading_with_int_string.phpt | 75 ["num"]=> 79 ["num"]=> 83 ["num"]=> 87 ["num"]=> 91 ["num"]=> 95 ["num"]=> 99 ["num"]=> 103 ["num"]=> 107 ["num"]=> 111 ["num"]=> [all …]
|
H A D | overloading.phpt | 128 ["num"]=> 132 ["num"]=> 136 ["num"]=> 140 ["num"]=> 144 ["num"]=> 148 ["num"]=> 152 ["num"]=> 156 ["num"]=> 160 ["num"]=> 164 ["num"]=> [all …]
|
H A D | overloading_with_float_fractional.phpt | 76 ["num"]=> 82 ["num"]=> 88 ["num"]=> 94 ["num"]=> 100 ["num"]=> 104 ["num"]=> 110 ["num"]=> 116 ["num"]=> 122 ["num"]=> 126 ["num"]=> [all …]
|
H A D | gmp_div_qr.phpt | 54 ["num"]=> 59 ["num"]=> 68 ["num"]=> 73 ["num"]=> 81 ["num"]=> 86 ["num"]=> 93 ["num"]=> 98 ["num"]=> 105 ["num"]=> 110 ["num"]=> [all …]
|
H A D | gmp_binomial.phpt | 31 ["num"]=> 35 ["num"]=> 39 ["num"]=> 43 ["num"]=> 47 ["num"]=> 51 ["num"]=> 55 ["num"]=> 59 ["num"]=> 63 ["num"]=> 67 ["num"]=>
|
H A D | gmp_init_integer_notations.phpt | 20 ["num"]=> 24 ["num"]=> 28 ["num"]=> 32 ["num"]=> 36 ["num"]=> 40 ["num"]=> 44 ["num"]=> 48 ["num"]=>
|
H A D | gmp_remroot.phpt | 38 ["num"]=> 43 ["num"]=> 50 ["num"]=> 55 ["num"]=> 62 ["num"]=> 67 ["num"]=> 74 ["num"]=> 79 ["num"]=> 86 ["num"]=> 91 ["num"]=> [all …]
|
H A D | gmp_lcm.phpt | 21 ["num"]=> 25 ["num"]=> 29 ["num"]=> 33 ["num"]=> 37 ["num"]=> 41 ["num"]=> 45 ["num"]=>
|
/PHP-8.2/ext/bcmath/libbcmath/src/ |
H A D | init.c | 66 bc_num *num; in _bc_free_num_ex() 69 if (*num == NULL) return; 70 (*num)->n_refs--; 71 if ((*num)->n_refs == 0) { 72 if ((*num)->n_ptr) 75 pefree(*num, persistent); 77 *num = NULL; 97 bc_copy_num (bc_num num) in bc_copy_num() argument 99 num->n_refs++; in bc_copy_num() 100 return num; in bc_copy_num() [all …]
|
H A D | bcmath.h | 97 bc_num bc_copy_num(bc_num num); 99 void bc_init_num(bc_num *num); 105 void bc_int2num(bc_num *num, int val); 107 long bc_num2long(bc_num num); 111 char bc_is_zero(bc_num num); 113 char bc_is_zero_for_scale(bc_num num, int scale); 115 char bc_is_near_zero(bc_num num, int scale); 117 char bc_is_neg(bc_num num); 135 int bc_sqrt(bc_num *num, int scale); 141 #define bc_free_num(num) _bc_free_num_ex((num), 0) argument [all …]
|
H A D | num2str.c | 43 *bc_num2str_ex (num, scale) in bc_num2str_ex() argument 44 bc_num num; in bc_num2str_ex() 53 …signch = num->n_sign != PLUS && !bc_is_zero_for_scale(num, MIN(num->n_scale, scale)); /* Number o… 55 str = zend_string_alloc(num->n_len + scale + signch + 1, 0); 57 str = zend_string_alloc(num->n_len + signch, 0); 64 nptr = num->n_value; 65 for (index=num->n_len; index>0; index--) 72 for (index=0; index<scale && index<num->n_scale; index++) 74 for (index = num->n_scale; index<scale; index++)
|
H A D | sqrt.c | 44 bc_sqrt (bc_num *num, int scale) in bc_sqrt() argument 51 cmp_res = bc_compare (*num, BCG(_zero_)); in bc_sqrt() 58 bc_free_num (num); in bc_sqrt() 59 *num = bc_copy_num (BCG(_zero_)); in bc_sqrt() 63 cmp_res = bc_compare (*num, BCG(_one_)); in bc_sqrt() 66 bc_free_num (num); in bc_sqrt() 67 *num = bc_copy_num (BCG(_one_)); in bc_sqrt() 72 rscale = MAX (scale, (*num)->n_scale); in bc_sqrt() 84 cscale = (*num)->n_scale; in bc_sqrt() 92 bc_int2num (&guess1,(*num)->n_len); in bc_sqrt() [all …]
|
H A D | rmzero.c | 45 _bc_rm_leading_zeros (num) in _bc_rm_leading_zeros() argument 46 bc_num num; in _bc_rm_leading_zeros() 49 while (*num->n_value == 0 && num->n_len > 1) { 50 num->n_value++; 51 num->n_len--;
|
H A D | zero.c | 43 bc_is_zero_for_scale (bc_num num, int scale) in bc_is_zero_for_scale() argument 49 if (num == BCG(_zero_)) return TRUE; in bc_is_zero_for_scale() 52 count = num->n_len + scale; in bc_is_zero_for_scale() 53 nptr = num->n_value; in bc_is_zero_for_scale() 65 bc_is_zero (bc_num num) in bc_is_zero() argument 67 return bc_is_zero_for_scale(num, num->n_scale); in bc_is_zero()
|
H A D | str2num.c | 43 bc_str2num (bc_num *num, char *str, int scale) in bc_str2num() argument 50 bc_free_num (num); in bc_str2num() 64 *num = bc_copy_num (BCG(_zero_)); in bc_str2num() 75 *num = bc_new_num (digits, strscale); in bc_str2num() 81 (*num)->n_sign = MINUS; in bc_str2num() 86 (*num)->n_sign = PLUS; in bc_str2num() 90 nptr = (*num)->n_value; in bc_str2num() 108 if (bc_is_zero (*num)) in bc_str2num() 109 (*num)->n_sign = PLUS; in bc_str2num()
|
H A D | nearzero.c | 45 bc_is_near_zero (num, scale) in bc_is_near_zero() argument 46 bc_num num; in bc_is_near_zero() 53 if (scale > num->n_scale) 54 scale = num->n_scale; 57 count = num->n_len + scale; 58 nptr = num->n_value;
|
H A D | output.c | 91 if (bc_is_zero (num)) in bc_out_num() 97 nptr = num->n_value; in bc_out_num() 98 if (num->n_len > 1 || *nptr != 0) in bc_out_num() 99 for (index=num->n_len; index>0; index--) in bc_out_num() 104 if (leading_zero && bc_is_zero (num)) in bc_out_num() 108 if (num->n_scale > 0) in bc_out_num() 118 if (leading_zero && bc_is_zero (num)) in bc_out_num() 124 bc_divide (num, BCG(_one_), &int_part, 0); in bc_out_num() 128 bc_sub (num, int_part, &frac_part, 0); in bc_out_num() 166 if (num->n_scale > 0) in bc_out_num() [all …]
|
/PHP-8.2/Zend/ |
H A D | zend_bitset.h | 68 if ((num & 0xffffffff) == 0) {n += 32; num = num >> Z_UL(32);} 70 if ((num & 0x0000ffff) == 0) {n += 16; num = num >> 16;} 71 if ((num & 0x000000ff) == 0) {n += 8; num = num >> 8;} 72 if ((num & 0x0000000f) == 0) {n += 4; num = num >> 4;} 73 if ((num & 0x00000003) == 0) {n += 2; num = num >> 2;} 105 x = num >> 32; if (x != 0) {n -= 32; num = x;} 109 x = num >> 16; if (x != 0) {n -= 16; num = x;} 110 x = num >> 8; if (x != 0) {n -= 8; num = x;} 111 x = num >> 4; if (x != 0) {n -= 4; num = x;} 112 x = num >> 2; if (x != 0) {n -= 2; num = x;} [all …]
|
/PHP-8.2/ext/standard/ |
H A D | math.c | 315 double num; in PHP_FUNCTION() local 327 double num; in PHP_FUNCTION() local 339 double num; in PHP_FUNCTION() local 351 double num; in PHP_FUNCTION() local 363 double num; in PHP_FUNCTION() local 375 double num; in PHP_FUNCTION() local 400 double num; in PHP_FUNCTION() local 412 double num; in PHP_FUNCTION() local 424 double num; in PHP_FUNCTION() local 697 num = num * base + digit; in _php_math_basetolong() [all …]
|
/PHP-8.2/ext/calendar/tests/ |
H A D | cal_days_in_month.phpt | 7 $num = cal_days_in_month(CAL_GREGORIAN, 8, 2003); 8 echo "There are $num days in August 2003\n"; 9 $num = cal_days_in_month(CAL_GREGORIAN, 2, 2003); 10 echo "There are $num days in February 2003\n"; 11 $num = cal_days_in_month(CAL_GREGORIAN, 2, 2004); 12 echo "There are $num days in February 2004\n"; 13 $num = cal_days_in_month(CAL_GREGORIAN, 12, 2034); 14 echo "There are $num days in December 2034\n";
|
/PHP-8.2/ext/pdo_sqlite/tests/ |
H A D | bug_63916-2.phpt | 11 $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, PDO::PARAM_INT); 20 $stmt = $conn->query('SELECT num FROM users'); 23 var_dump($num,$result[0]);
|
H A D | bug_63916.phpt | 11 $num = 100004313234244; // 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, PDO::PARAM_INT); 20 $stmt = $conn->query('SELECT num FROM users'); 23 var_dump($num,$result[0]);
|