/php-src/ |
H A D | NEWS | 260 . Fix GH-12143 (Extend the maximum precision round can handle by one digit).
|
H A D | UPGRADING | 453 one digit.
|
/php-src/ext/bcmath/libbcmath/src/ |
H A D | div.c | 45 static void _one_mult(unsigned char *num, size_t size, int digit, unsigned char *result) in _one_mult() argument 50 if (digit == 0) { in _one_mult() 53 if (digit == 1) { in _one_mult() 62 value = *nptr-- * digit + carry; in _one_mult()
|
/php-src/ext/standard/ |
H A D | math.c | 720 zend_long num = 0, digit, onum; in _php_math_basetolong() local 733 digit = (c >= '0' && c <= '9') ? c - '0' in _php_math_basetolong() 738 if (digit >= base) { in _php_math_basetolong() 743 num = num * base + digit; in _php_math_basetolong()
|
/php-src/ext/standard/tests/math/ |
H A D | round_gh12143_expand-rounding-target.phpt | 2 Feature GH-12143: Extend the maximum precision round can handle by one digit
|
/php-src/ext/intl/uchar/ |
H A D | uchar_arginfo.h | 61 ZEND_ARG_TYPE_INFO(0, digit, IS_LONG, 0) 194 ZEND_METHOD(IntlChar, digit); 257 ZEND_ME(IntlChar, digit, arginfo_class_IntlChar_digit, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
|
H A D | uchar.stub.php | 1430 public static function digit(int|string $codepoint, int $base = 10): int|false|null {} function in IntlChar 1442 public static function forDigit(int $digit, int $base = 10): int {} argument
|
H A D | uchar.c | 419 IC_METHOD(digit) { in IC_METHOD() argument 448 zend_long digit, radix = 10; in IC_METHOD() local 450 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|l", &digit, &radix) == FAILURE) { in IC_METHOD() 454 RETURN_LONG(u_forDigit(digit, radix)); in IC_METHOD()
|
/php-src/ext/opcache/jit/ir/dynasm/ |
H A D | dasm_x86.lua | 1887 local digit, addin, vex 1900 digit = byte(c) - 48 1901 if digit > 48 then digit = digit - 39 1902 elseif digit > 16 then digit = digit - 7 end 1903 opcode = opcode*16 + digit
|
/php-src/ext/date/lib/ |
H A D | parse_date.re | 2273 case TIMELIB_FORMAT_DAY_TWO_DIGIT: /* two digit day, without leading zero */ 2274 case TIMELIB_FORMAT_DAY_TWO_DIGIT_PADDED: /* two digit day, with leading zero */ 2304 case TIMELIB_FORMAT_MONTH_TWO_DIGIT: /* two digit month, without leading zero */ 2305 case TIMELIB_FORMAT_MONTH_TWO_DIGIT_PADDED: /* two digit month, with leading zero */ 2324 case TIMELIB_FORMAT_YEAR_TWO_DIGIT: /* two digit year */ 2337 case TIMELIB_FORMAT_YEAR_FOUR_DIGIT: /* four digit year */ 2355 case TIMELIB_FORMAT_HOUR_TWO_DIGIT_12_MAX: /* two digit hour, without leading zero */ 2393 case TIMELIB_FORMAT_MINUTE_TWO_DIGIT: /* two digit minute, with leading zero */ 2409 case TIMELIB_FORMAT_SECOND_TWO_DIGIT: /* two digit second, with leading zero */ 2425 case TIMELIB_FORMAT_MICROSECOND_SIX_DIGIT: /* up to six digit microsecond */ [all …]
|
/php-src/Zend/tests/zend_ini/ |
H A D | zend_ini_parse_quantity_overflow.phpt | 13 $digit = intval($s[strlen($s)-1]); 16 if ($digit === 9) { 20 return $prefix . strval($digit+1);
|
/php-src/ext/opcache/tests/jit/ |
H A D | gh11917.phpt | 27 $digit = $val[$i] & $mask; 41 $digit |= ($val[$i] & $tempmask) << $remaining; 47 $vals[] = $digit;
|
/php-src/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_htmlent.c | 368 unsigned char digit = *digits++; in mb_htmlent_to_wchar() local 369 if (digit >= '0' && digit <= '9') { in mb_htmlent_to_wchar() 370 value = (value * 16) + (digit - '0'); in mb_htmlent_to_wchar() 371 } else if (digit >= 'A' && digit <= 'F') { in mb_htmlent_to_wchar() 372 value = (value * 16) + (digit - 'A' + 10); in mb_htmlent_to_wchar() 373 } else if (digit >= 'a' && digit <= 'f') { in mb_htmlent_to_wchar() 374 value = (value * 16) + (digit - 'a' + 10); in mb_htmlent_to_wchar() 385 unsigned char digit = *digits++; in mb_htmlent_to_wchar() local 386 if (digit >= '0' && digit <= '9') { in mb_htmlent_to_wchar() 387 value = (value * 10) + (digit - '0'); in mb_htmlent_to_wchar()
|
/php-src/ext/fileinfo/tests/ |
H A D | magic私はガラスを食べられます | 194 # with a version string of the form "V2.<digit>.<digit>\0". 2682 # nul, space or ascii digit 0-7 at start of mode 2687 # space or ascii digit 0 at start of check sum 5686 # it will match only versions like v<digit>.<digit> 14798 # also suffix with digit (1dk .2dk ...); NO example FOUND! 33081 # assume version starts with digit 34590 # skip space or \ and display possible 4th digit of code page string 34593 # possible 5th digit of code page string 34605 # skip \ and NL and show possible 5th digit of language string 34614 # possible 5th digit of language string [all …]
|
H A D | magic | 194 # with a version string of the form "V2.<digit>.<digit>\0". 2682 # nul, space or ascii digit 0-7 at start of mode 2687 # space or ascii digit 0 at start of check sum 5686 # it will match only versions like v<digit>.<digit> 14798 # also suffix with digit (1dk .2dk ...); NO example FOUND! 33081 # assume version starts with digit 34590 # skip space or \ and display possible 4th digit of code page string 34593 # possible 5th digit of code page string 34605 # skip \ and NL and show possible 5th digit of language string 34614 # possible 5th digit of language string [all …]
|
/php-src/ext/standard/tests/strings/ |
H A D | vfprintf_basic.phpt | 28 writeAndDump( $fp, "%d digit", array( '54' ) ); 52 string(8) "54 digit"
|
H A D | strnatcmp_leftalign.phpt | 7 echo "-- Testing strnatcmp() function whitespace, left-align, digit --\n"; 19 -- Testing strnatcmp() function whitespace, left-align, digit --
|
/php-src/ext/standard/tests/http/ |
H A D | server.inc | 79 if (preg_match('#^Content-Length\s*:\s*([[:digit:]]+)\s*$#i', $line, $matches)) {
|
/php-src/ext/pcre/tests/ |
H A D | preg_match_all_basic.phpt | 9 …ring, $match1, PREG_OFFSET_CAPTURE|PREG_PATTERN_ORDER, -10)); //finds any digit that's not 4 10 di…
|
H A D | preg_match_all_edit_basic.phpt | 7 …PREG_OFFSET_CAPTURE|PREG_PATTERN_ORDER, -10)); //finds any digit that's not 4 10 di…
|
H A D | match_flags3.phpt | 44 Warning: preg_match(): Compilation failed: %s name must start with a non-digit at offset %d in %sma…
|
H A D | bug37911.phpt | 40 Warning: preg_replace_callback(): Compilation failed: %s name must start with a non-digit at offset…
|
/php-src/ext/mbstring/tests/ |
H A D | mb_ereg_replace_callback.phpt | 17 echo mb_ereg_replace_callback('(?<word>\w+) (?<digit>\d+).*', function ($m) { 18 return sprintf("%s-%s", $m['digit'], $m['word']);
|
H A D | mb_ereg_variation3.phpt | 25 '234' => '[[:digit:]]+', /*5*/
|
H A D | mb_ereg_variation4.phpt | 27 '[[:digit:]]+',
|