/PHP-8.3/ext/bcmath/libbcmath/src/ |
H A D | str2num.c | 40 size_t digits = 0; in bc_str2num() local 63 digits++; in bc_str2num() 84 if ((*ptr != '\0') || (digits + strscale == 0)) { in bc_str2num() 91 if (digits == 0) { in bc_str2num() 93 digits = 1; in bc_str2num() 95 *num = bc_new_num (digits, strscale); in bc_str2num() 113 digits = 0; in bc_str2num() 115 for (; digits > 0; digits--) { in bc_str2num()
|
H A D | output.c | 58 char digits[40]; in bc_out_long() local 62 snprintf(digits, sizeof(digits), "%ld", val); in bc_out_long() 63 len = strlen(digits); in bc_out_long() 69 (*out_char)(digits[ix]); in bc_out_long() 81 stk_rec *digits, *temp; in bc_out_num() local 120 digits = NULL; in bc_out_num() 140 temp->next = digits; in bc_out_num() 141 digits = temp; in bc_out_num() 146 if (digits != NULL) { in bc_out_num() 149 temp = digits; in bc_out_num() [all …]
|
/PHP-8.3/ext/standard/tests/strings/ |
H A D | strnatcmp_leftalign.phpt | 2 Test strnatcmp() function : left align, whitespace, digits 8 echo "-- Leading whitespace, digits, string 1 longer --\n"; 13 echo "-- Leading whitespace, digits, string 2 longer --\n"; 20 -- Leading whitespace, digits, string 1 longer -- 22 -- Leading whitespace, digits, string 2 longer --
|
H A D | bug36392.phpt | 2 Bug #36392 (wrong number of decimal digits with %e specifier in sprintf)
|
H A D | sprintf_variation52.phpt | 49 Notice: sprintf(): Requested precision of 988 digits was truncated to PHP maximum of %d digits in %…
|
/PHP-8.3/ext/standard/tests/array/range/ |
H A D | range_inputs_string_digits.phpt | 2 Test range() function with string digits 5 echo "Only digits\n"; 9 echo "Only digits and char\n"; 15 Only digits 56 Only digits and char
|
H A D | range_inputs_string_digits_float_step.phpt | 2 Test range() function where boundary are string digits and step is a float
|
/PHP-8.3/Zend/tests/zend_ini/ |
H A D | zend_ini_parse_quantity_error.phpt | 11 'K', # No digits 14 '1.0K', # Non integral digits. 42 Warning: Invalid quantity "K": no valid leading digits, interpreting as "0" for backwards compatibi… 62 Warning: Invalid quantity "0X": no digits after base prefix, interpreting as "0" for backwards comp… 72 Warning: Invalid quantity "0XK": no valid leading digits, interpreting as "0" for backwards compati… 77 Warning: Invalid quantity "++": no valid leading digits, interpreting as "0" for backwards compatib… 82 Warning: Invalid quantity "-+": no valid leading digits, interpreting as "0" for backwards compatib… 87 Warning: Invalid quantity "+ 25": no valid leading digits, interpreting as "0" for backwards compat… 92 Warning: Invalid quantity "- 25": no valid leading digits, interpreting as "0" for backwards compat… 102 Warning: Invalid quantity "\x00 123K": no valid leading digits, interpreting as "0" for backwards c… [all …]
|
H A D | gh11876.phpt | 23 Warning: Invalid quantity "0x0x12": no digits after base prefix, interpreting as "0" for backwards … 26 Warning: Invalid quantity "0b+10": no digits after base prefix, interpreting as "0" for backwards c… 29 Warning: Invalid quantity "0o+10": no digits after base prefix, interpreting as "0" for backwards c… 32 Warning: Invalid quantity "0x+10": no digits after base prefix, interpreting as "0" for backwards c… 35 Warning: Invalid quantity "0b 10": no digits after base prefix, interpreting as "0" for backwards c… 38 Warning: Invalid quantity "0o 10": no digits after base prefix, interpreting as "0" for backwards c… 41 Warning: Invalid quantity "0x 10": no digits after base prefix, interpreting as "0" for backwards c…
|
/PHP-8.3/ext/date/tests/ |
H A D | idate_variation4.phpt | 19 'Year (1 or 2 digits)' => 'y', 20 'Year 4 digits' => 'Y', 51 --Year (1 or 2 digits)-- 54 --Year 4 digits--
|
H A D | bug41844.phpt | 2 Bug #41844 (Format returns incorrect number of digits for negative years -0001 to -0999)
|
H A D | bug50392.phpt | 2 Bug #50392 (date_create_from_format enforces 6 digits for 'u' format character)
|
H A D | idate_variation6.phpt | 2 Test idate() function : usage variation - Checking return of year(1 or 2 digits) format starting wi…
|
/PHP-8.3/Zend/ |
H A D | zend_ini.c | 601 return digits; in zend_ini_consume_quantity_prefix() 623 char *digits = str; in zend_ini_parse_quantity_internal() local 632 while (digits < str_end && zend_is_whitespace(*digits)) {++digits;} in zend_ini_parse_quantity_internal() 637 if (digits == str_end) { in zend_ini_parse_quantity_internal() 643 if (digits[0] == '+') { in zend_ini_parse_quantity_internal() 644 ++digits; in zend_ini_parse_quantity_internal() 647 ++digits; in zend_ini_parse_quantity_internal() 665 if (digits[0] == '0' && !isdigit(digits[1])) { in zend_ini_parse_quantity_internal() 672 switch (digits[1]) { in zend_ini_parse_quantity_internal() 695 digits[1]); in zend_ini_parse_quantity_internal() [all …]
|
/PHP-8.3/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_htmlent.c | 359 unsigned char *digits = p + 1; in mb_htmlent_to_wchar() local 360 if (*digits == 'x' || *digits == 'X') { in mb_htmlent_to_wchar() 362 digits++; in mb_htmlent_to_wchar() 363 if (digits == terminator) { in mb_htmlent_to_wchar() 366 while (digits < terminator) { in mb_htmlent_to_wchar() 367 unsigned char digit = *digits++; in mb_htmlent_to_wchar() 380 if (digits == terminator) { in mb_htmlent_to_wchar() 383 while (digits < terminator) { in mb_htmlent_to_wchar() 384 unsigned char digit = *digits++; in mb_htmlent_to_wchar()
|
/PHP-8.3/ext/bcmath/libbcmath/ |
H A D | README.md | 29 GMP has "integers" (no digits after a decimal), "rational numbers" (stored as 33 of digits to represent after the decimal point. The multiplying two of these 34 numbers requires one to calculate an exact number of digits after the decimal 35 point regardless of the number of digits in the integer part. GMP floats have 37 dropping digits BC must calculate.
|
/PHP-8.3/ext/mbstring/tests/ |
H A D | mb_decode_numericentity.phpt | 46 echo "6: " . mb_decode_numericentity('�', $convmap), "\n"; // Too many digits 47 echo "7: " . mb_decode_numericentity('�', $convmap), "\n"; // Too many digits 48 echo "8: " . mb_decode_numericentity('�', $convmap), "\n"; // Too many digits 49 echo "9: " . mb_decode_numericentity('�', $convmap), "\n"; // Too many digits 56 echo "11e: " . mb_decode_numericentity('�', $convmap), "\n"; // Too many digits 88 test("10 digits for decimal entity", "A", "A", [0, 0xFFFF, 0, 0xFFFF], 'ASCII'); 91 test("8 digits for hex entity", "A", "A", [0, 0xFFFF, 0, 0xFFFF], 'ASCII'); 159 die("Decimal entity with huge number of digits broken"); 163 die("Hexadecimal entity with huge number of digits broken"); 192 10 digits for decimal entity: string(13) "A" => string(1) "A" (Good) [all …]
|
H A D | mb_ereg_variation4.phpt | 19 //contains japanese characters, ASCII digits and different, UTF-8 encoded digits
|
H A D | mb_encode_numericentity.phpt | 60 // Regression test; the old implementation could only emit decimal entities with about 7 digits 64 // Regression test; the old implementation could only emit hexadecimal entities with about 5 digits
|
/PHP-8.3/ext/json/ |
H A D | json_encoder.c | 32 static const char digits[] = "0123456789abcdef"; variable 434 dst[2] = digits[(us >> 12) & 0xf]; in php_json_escape_string() 435 dst[3] = digits[(us >> 8) & 0xf]; in php_json_escape_string() 436 dst[4] = digits[(us >> 4) & 0xf]; in php_json_escape_string() 437 dst[5] = digits[us & 0xf]; in php_json_escape_string() 443 dst[2] = digits[(us >> 12) & 0xf]; in php_json_escape_string() 444 dst[3] = digits[(us >> 8) & 0xf]; in php_json_escape_string() 445 dst[4] = digits[(us >> 4) & 0xf]; in php_json_escape_string() 446 dst[5] = digits[us & 0xf]; in php_json_escape_string() 533 dst[4] = digits[(us >> 4) & 0xf]; in php_json_escape_string() [all …]
|
/PHP-8.3/ext/pcre/tests/ |
H A D | preg_match_all_edit_basic.phpt | 7 …G_PATTERN_ORDER, -10)); //finds any digit that's not 4 10 digits from the end(1 mat… 16 var_dump(preg_match_all('/\d{2}$/', $string, $match4)); //tries to find 2 digits at the en…
|
H A D | preg_match_all_basic.phpt | 9 …SET_CAPTURE|PREG_PATTERN_ORDER, -10)); //finds any digit that's not 4 10 digits from the end(1 mat… 15 var_dump(preg_match_all('/\d{2}$/', $string, $match4)); //tries to find 2 digits at the end of a st…
|
/PHP-8.3/ext/fileinfo/libmagic/ |
H A D | der.c | 186 uint8_t digits, i; in getlength() local 201 digits = c[(*p)++] & 0x7f; in getlength() 202 if (*p + digits >= l) { in getlength() 203 DPRINTF(("%s:[2] %zu + %u >= %zu\n", __func__, *p, digits, l)); in getlength() 208 return digits; in getlength() 215 for (i = 0; i < digits; i++) in getlength()
|
/PHP-8.3/ext/iconv/tests/ |
H A D | bug53304.phpt | 2 Bug #53304 (quot_print_decode does not handle lower-case hex digits)
|
/PHP-8.3/ext/ctype/tests/ |
H A D | ctype_digit_variation2.phpt | 9 * valid decimal digits
|