Home
last modified time | relevance | path

Searched refs:ctype_digit (Results 1 – 18 of 18) sorted by relevance

/PHP-8.0/ext/ctype/tests/
H A Dctype_digit_basic.phpt2 Test ctype_digit() function : basic functionality
7 echo "*** Testing ctype_digit() : basic functionality ***\n";
14 var_dump(ctype_digit($c1));
15 var_dump(ctype_digit($c2));
20 *** Testing ctype_digit() : basic functionality ***
H A Dctype_digit_variation4.phpt2 Test ctype_digit() function : usage variations - octal and hexadecimal values
8 * Pass octal and hexadecimal values as $c argument to ctype_digit() to test behaviour
11 echo "*** Testing ctype_digit() : usage variations ***\n";
22 var_dump(ctype_digit($c));
30 var_dump(ctype_digit($c));
37 *** Testing ctype_digit() : usage variations ***
H A Dctype_digit_variation2.phpt2 Test ctype_digit() function : usage variations - different integers
8 * Pass different integers to ctype_digit() to test which character codes are considered
12 echo "*** Testing ctype_digit() : usage variations ***\n";
17 if (ctype_digit($i)) {
25 *** Testing ctype_digit() : usage variations ***
H A Dctype_digit_variation1.phpt2 Test ctype_digit() function : usage variations - different data types as $c arg
8 * Pass different data types as $c argument to ctype_digit() to test behaviour
11 echo "*** Testing ctype_digit() : usage variations ***\n";
84 // loop through each element of $inputs to check the behavior of ctype_digit()
88 var_dump( ctype_digit($input) );
97 *** Testing ctype_digit() : usage variations ***
H A Dctype_digit_variation3.phpt2 Test ctype_digit() function : usage variations - different strings
8 * Pass strings containing different character types to ctype_digit() to test
12 echo "*** Testing ctype_digit() : usage variations ***\n";
53 var_dump( ctype_digit($value) );
60 *** Testing ctype_digit() : usage variations ***
H A D001.phpt19 ctype_test_001("ctype_digit");
32 ctype_digit 10
H A D002.phpt26 ctype_test_002("ctype_digit");
41 ctype_digit 10 10 0
H A Dbug34645.phpt8 var_dump(ctype_digit($id));
H A Dbug25745.phpt8 "ctype_alnum", "ctype_alpha", "ctype_cntrl", "ctype_digit",
/PHP-8.0/ext/ctype/
H A Dctype_arginfo.h32 ZEND_FUNCTION(ctype_digit);
46 ZEND_FE(ctype_digit, arginfo_ctype_digit)
H A Dctype.stub.php11 function ctype_digit(mixed $text): bool {} function
H A Dctype.c119 PHP_FUNCTION(ctype_digit) in PHP_FUNCTION() argument
/PHP-8.0/ext/pcre/pcre2lib/
H A Dpcre2_maketables.c144 if (isdigit(i)) x += ctype_digit;
H A Dpcre2_match.c2244 if (CHMAX_255(fc) && (mb->ctypes[fc] & ctype_digit) != 0) in match()
2256 if (!CHMAX_255(fc) || (mb->ctypes[fc] & ctype_digit) == 0) in match()
2992 if (fc < 128 && (mb->ctypes[fc] & ctype_digit) != 0) in match()
3007 if (cc >= 128 || (mb->ctypes[cc] & ctype_digit) == 0) in match()
3258 if (MAX_255(*Feptr) && (mb->ctypes[*Feptr] & ctype_digit) != 0) in match()
3689 if (fc < 256 && (mb->ctypes[fc] & ctype_digit) != 0) in match()
3694 if (fc >= 256 || (mb->ctypes[fc] & ctype_digit) == 0) in match()
3833 if (MAX_255(fc) && (mb->ctypes[fc] & ctype_digit) != 0) in match()
3838 if (!MAX_255(fc) || (mb->ctypes[fc] & ctype_digit) == 0) in match()
4315 if (fc < 256 && (mb->ctypes[fc] & ctype_digit) != 0) break; in match()
[all …]
H A Dpcre2_auto_possess.c972 if (chr < 256 && (cb->ctypes[chr] & ctype_digit) != 0) return FALSE; in compare_opcodes()
976 if (chr > 255 || (cb->ctypes[chr] & ctype_digit) == 0) return FALSE; in compare_opcodes()
H A Dpcre2_dfa_match.c275 ctype_digit, ctype_digit,
283 ctype_digit, 0,
H A Dpcre2_internal.h583 #define ctype_digit 0x08 macro
H A Dpcre2_jit_compile.c8446 OP2(SLJIT_AND | SLJIT_SET_Z, SLJIT_UNUSED, 0, TMP1, 0, SLJIT_IMM, ctype_digit); in compile_char1_matchingpath()

Completed in 78 milliseconds