/php-src/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-src/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-src/Zend/tests/zend_ini/ |
H A D | zend_ini_parse_quantity_error.phpt | 11 'K', # No digits 14 '1.0K', # Non integral digits. 43 Warning: Invalid quantity "K": no valid leading digits, interpreting as "0" for backwards compatibi… 63 Warning: Invalid quantity "0X": no digits after base prefix, interpreting as "0" for backwards comp… 73 Warning: Invalid quantity "0XK": no valid leading digits, interpreting as "0" for backwards compati… 78 Warning: Invalid quantity "++": no valid leading digits, interpreting as "0" for backwards compatib… 83 Warning: Invalid quantity "-+": no valid leading digits, interpreting as "0" for backwards compatib… 88 Warning: Invalid quantity "+ 25": no valid leading digits, interpreting as "0" for backwards compat… 93 Warning: Invalid quantity "- 25": no valid leading digits, interpreting as "0" for backwards compat… 103 Warning: Invalid quantity "\x00 123K": no valid leading digits, interpreting as "0" for backwards c… [all …]
|
H A D | gh11876.phpt | 24 Warning: Invalid quantity "0x0x12": no digits after base prefix, interpreting as "0" for backwards … 27 Warning: Invalid quantity "0b+10": no digits after base prefix, interpreting as "0" for backwards c… 30 Warning: Invalid quantity "0o+10": no digits after base prefix, interpreting as "0" for backwards c… 33 Warning: Invalid quantity "0x+10": no digits after base prefix, interpreting as "0" for backwards c… 36 Warning: Invalid quantity "0b 10": no digits after base prefix, interpreting as "0" for backwards c… 39 Warning: Invalid quantity "0o 10": no digits after base prefix, interpreting as "0" for backwards c… 42 Warning: Invalid quantity "0x 10": no digits after base prefix, interpreting as "0" for backwards c…
|
/php-src/ext/bcmath/libbcmath/src/ |
H A D | str2num.c | 131 size_t digits = ptr - integer_ptr; in bc_str2num() local 194 if (digits + str_scale == 0) { in bc_str2num() 199 if (digits == 0) { in bc_str2num() 201 digits = 1; in bc_str2num() 203 *num = bc_new_num_nonzeroed(digits, str_scale); in bc_str2num() 215 const char *integer_end = integer_ptr + digits; in bc_str2num()
|
H A D | convert.c | 155 uint32_t digits = bc_expand_lut(LUT[lower]) << 16 | bc_expand_lut(LUT[upper]); in bc_write_bcd_representation() local 158 uint32_t digits = bc_expand_lut(LUT[upper]) << 16 | bc_expand_lut(LUT[lower]); in bc_write_bcd_representation() local 160 memcpy(str, &digits, sizeof(digits)); in bc_write_bcd_representation()
|
/php-src/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 81 test("10 digits for decimal entity", "A", "A", [0, 0xFFFF, 0, 0xFFFF], 'ASCII'); 84 test("8 digits for hex entity", "A", "A", [0, 0xFFFF, 0, 0xFFFF], 'ASCII'); 132 die("Decimal entity with huge number of digits broken"); 136 die("Hexadecimal entity with huge number of digits broken"); 164 10 digits for decimal entity: string(13) "A" => string(1) "A" (Good) [all …]
|
H A D | mb_encode_numericentity_large_ints.phpt | 10 // Regression test; the old implementation could only emit hexadecimal entities with about 5 digits
|
H A D | mb_ereg_variation4.phpt | 19 //contains japanese characters, ASCII digits and different, UTF-8 encoded digits
|
/php-src/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-src/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-src/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_htmlent.c | 360 unsigned char *digits = p + 1; in mb_htmlent_to_wchar() local 361 if (*digits == 'x' || *digits == 'X') { in mb_htmlent_to_wchar() 363 digits++; in mb_htmlent_to_wchar() 364 if (digits == terminator) { in mb_htmlent_to_wchar() 367 while (digits < terminator) { in mb_htmlent_to_wchar() 368 unsigned char digit = *digits++; in mb_htmlent_to_wchar() 381 if (digits == terminator) { in mb_htmlent_to_wchar() 384 while (digits < terminator) { in mb_htmlent_to_wchar() 385 unsigned char digit = *digits++; in mb_htmlent_to_wchar()
|
/php-src/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-src/ext/json/ |
H A D | json_encoder.c | 33 static const char digits[] = "0123456789abcdef"; variable 468 dst[2] = digits[(us >> 12) & 0xf]; in php_json_escape_string() 469 dst[3] = digits[(us >> 8) & 0xf]; in php_json_escape_string() 470 dst[4] = digits[(us >> 4) & 0xf]; in php_json_escape_string() 471 dst[5] = digits[us & 0xf]; in php_json_escape_string() 477 dst[2] = digits[(us >> 12) & 0xf]; in php_json_escape_string() 478 dst[3] = digits[(us >> 8) & 0xf]; in php_json_escape_string() 479 dst[4] = digits[(us >> 4) & 0xf]; in php_json_escape_string() 480 dst[5] = digits[us & 0xf]; in php_json_escape_string() 567 dst[4] = digits[(us >> 4) & 0xf]; in php_json_escape_string() [all …]
|
/php-src/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-src/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-src/ext/iconv/tests/ |
H A D | bug53304.phpt | 2 Bug #53304 (quot_print_decode does not handle lower-case hex digits)
|
/php-src/ext/dom/lexbor/lexbor/core/ |
H A D | conv.c | 33 static const lxb_char_t *digits = (const lxb_char_t *) "0123456789"; in lexbor_conv_int64_to_data() local 82 buf[i] = digits[ num % 10 ]; in lexbor_conv_int64_to_data()
|