/PHP-7.4/Zend/ |
H A D | zend_operators.c | 3028 int digits = 0, dp_or_e = 0; local 3066 …for (type = IS_LONG; !(digits >= MAX_LENGTH_OF_LONG && (dval || allow_errors == 1)); digits++, ptr… 3087 if (digits >= MAX_LENGTH_OF_LONG) { 3123 if (digits == MAX_LENGTH_OF_LONG - 1) { 3124 int cmp = strcmp(&ptr[-digits], long_min_digits);
|
/PHP-7.4/ext/json/ |
H A D | json_encoder.c | 33 static const char digits[] = "0123456789abcdef"; variable 357 dst[2] = digits[(us >> 12) & 0xf]; in php_json_escape_string() 358 dst[3] = digits[(us >> 8) & 0xf]; in php_json_escape_string() 359 dst[4] = digits[(us >> 4) & 0xf]; in php_json_escape_string() 360 dst[5] = digits[us & 0xf]; in php_json_escape_string() 366 dst[2] = digits[(us >> 12) & 0xf]; in php_json_escape_string() 367 dst[3] = digits[(us >> 8) & 0xf]; in php_json_escape_string() 368 dst[4] = digits[(us >> 4) & 0xf]; in php_json_escape_string() 369 dst[5] = digits[us & 0xf]; in php_json_escape_string() 456 dst[4] = digits[(us >> 4) & 0xf]; in php_json_escape_string() [all …]
|
H A D | json_scanner.re | 174 size_t digits = (size_t) (s->cursor - s->token - negative); 175 if (digits >= PHP_JSON_INT_MAX_LENGTH) { 176 if (digits == PHP_JSON_INT_MAX_LENGTH) {
|
/PHP-7.4/ |
H A D | php.ini-development | 189 ; The number of significant digits displayed in floating point numbers. 295 ; digits after the floating point. The default value ensures that when floats 1302 ; Number of decimal digits for all bcmath functions.
|
H A D | php.ini-production | 189 ; The number of significant digits displayed in floating point numbers. 295 ; digits after the floating point. The default value ensures that when floats 1302 ; Number of decimal digits for all bcmath functions.
|
/PHP-7.4/ext/bcmath/libbcmath/src/ |
H A D | str2num.c | 45 int digits, strscale; in bc_str2num() local 54 digits = 0; in bc_str2num() 59 while (*ptr >= '0' && *ptr <= '9') ptr++, digits++; /* digits */ in bc_str2num() 62 if ((*ptr != '\0') || (digits+strscale == 0)) in bc_str2num() 70 if (digits == 0) in bc_str2num() 73 digits = 1; in bc_str2num() 75 *num = bc_new_num (digits, strscale); in bc_str2num() 94 digits = 0; in bc_str2num() 96 for (;digits > 0; digits--) in bc_str2num()
|
/PHP-7.4/main/ |
H A D | snprintf.c | 138 char *digits, *dst, *src; in php_gcvt() local 151 …snprintf(buf, ndigit + 1, "%s%s", (sign && *digits == 'I') ? "-" : "", *digits == 'I' ? "INF" : "N… in php_gcvt() 152 zend_freedtoa(digits); in php_gcvt() 169 src = digits; in php_gcvt() 204 src = digits; in php_gcvt() 211 for (i = 0, src = digits; i < decpt; i++) { in php_gcvt() 219 if (src == digits) { in php_gcvt() 223 for (i = decpt; digits[i] != '\0'; i++) { in php_gcvt() 224 *dst++ = digits[i]; in php_gcvt() 229 zend_freedtoa(digits); in php_gcvt() [all …]
|
/PHP-7.4/ext/standard/ |
H A D | var_unserializer.re | 868 int digits = YYCURSOR - start - 3; 871 digits--; 875 if (digits >= MAX_LENGTH_OF_LONG - 1) { 876 if (digits == MAX_LENGTH_OF_LONG - 1) {
|
H A D | math.c | 934 static char digits[] = "0123456789abcdefghijklmnopqrstuvwxyz"; in _php_math_longtobase() local 950 *--ptr = digits[value % base]; in _php_math_longtobase() 965 static char digits[] = "0123456789abcdefghijklmnopqrstuvwxyz"; in _php_math_zvaltobase() local 986 *--ptr = digits[(int) fmod(fvalue, base)]; in _php_math_zvaltobase()
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | money_format_basic1.phpt | 25 // Format with 14 positions of width, 8 digits of 28 echo "Format values with 14 positions, 8 digits to left, 2 to right using national format\n"; 61 Format values with 14 positions, 8 digits to left, 2 to right using national format
|
H A D | printf.phpt | 673 Notice: printf(): Requested precision of 988 digits was truncated to PHP maximum of 53 digits in %s…
|
H A D | printf_64bit.phpt | 673 Notice: printf(): Requested precision of 988 digits was truncated to PHP maximum of %d digits in %s…
|
/PHP-7.4/ext/standard/tests/math/ |
H A D | round_basic.phpt | 8 * Description: Returns the rounded value of val to specified precision (number of digits
|
H A D | round_variation1.phpt | 8 * Description: Returns the rounded value of val to specified precision (number of digits
|
/PHP-7.4/ext/date/tests/ |
H A D | idate_variation4.phpt | 25 'Year (1 or 2 digits)' => 'y', 26 'Year 4 digits' => 'Y', 58 --Year (1 or 2 digits)-- 61 --Year 4 digits--
|
H A D | idate_variation6.phpt | 2 Test idate() function : usage variation - Checking return of year(1 or 2 digits) format starting wi…
|
/PHP-7.4/ext/ctype/tests/ |
H A D | ctype_upper_variation3.phpt | 32 "03F", // hexadecimal 'digits'
|
H A D | ctype_punct_variation3.phpt | 34 "03F", // hexadecimal 'digits'
|
H A D | ctype_space_variation3.phpt | 33 "03F", // hexadecimal 'digits'
|
H A D | ctype_xdigit_variation2.phpt | 14 * valid hexadecimal 'digits'
|
H A D | ctype_xdigit_variation3.phpt | 33 "03F", // hexadecimal 'digits'
|
H A D | ctype_xdigit_variation4.phpt | 14 * 1. contain hexadecimal digits 15 * 2. correspond to character codes recognised as hexadecimal digits (see variation2) 23 // contain hexadecimal digits but do not correspond to 'correct' ints 29 // contain hexadecimal digits but do not correspond to 'correct' ints
|
H A D | ctype_alnum_variation3.phpt | 32 "03F", // hexadecimal 'digits'
|
H A D | ctype_alpha_variation3.phpt | 33 "03F", // hexadecimal 'digits'
|
H A D | ctype_cntrl_variation3.phpt | 33 "03F", // hexadecimal 'digits'
|