Home
last modified time | relevance | path

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

/PHP-7.4/ext/ctype/tests/
H A Dctype_digit_basic.phpt2 Test ctype_digit() function : basic functionality
7 /* Prototype : bool ctype_digit(mixed $c)
12 echo "*** Testing ctype_digit() : basic functionality ***\n";
19 var_dump(ctype_digit($c1));
20 var_dump(ctype_digit($c2));
26 *** Testing ctype_digit() : basic functionality ***
H A Dctype_digit_variation4.phpt2 Test ctype_digit() function : usage variations - octal and hexadecimal values
7 /* Prototype : bool ctype_digit(mixed $c)
13 * Pass octal and hexadecimal values as $c argument to ctype_digit() to test behaviour
16 echo "*** Testing ctype_digit() : usage variations ***\n";
27 var_dump(ctype_digit($c));
35 var_dump(ctype_digit($c));
43 *** Testing ctype_digit() : usage variations ***
H A Dctype_digit_variation2.phpt2 Test ctype_digit() function : usage variations - different integers
7 /* Prototype : bool ctype_digit(mixed $c)
13 * Pass different integers to ctype_digit() to test which character codes are considered
17 echo "*** Testing ctype_digit() : usage variations ***\n";
22 if (ctype_digit($i)) {
31 *** Testing ctype_digit() : usage variations ***
H A Dctype_digit_variation1.phpt2 Test ctype_digit() function : usage variations - different data types as $c arg
7 /* Prototype : bool ctype_digit(mixed $c)
13 * Pass different data types as $c argument to ctype_digit() to test behaviour
16 echo "*** Testing ctype_digit() : usage variations ***\n";
89 // loop through each element of $inputs to check the behavior of ctype_digit()
93 var_dump( ctype_digit($input) );
103 *** Testing ctype_digit() : usage variations ***
H A Dctype_digit_variation3.phpt2 Test ctype_digit() function : usage variations - different strings
7 /* Prototype : bool ctype_digit(mixed $c)
13 * Pass strings containing different character types to ctype_digit() to test
17 echo "*** Testing ctype_digit() : usage variations ***\n";
58 var_dump( ctype_digit($value) );
66 *** 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-7.4/ext/ctype/
H A Dctype.c38 static PHP_FUNCTION(ctype_digit);
101 PHP_FE(ctype_digit, arginfo_ctype_digit)
203 static PHP_FUNCTION(ctype_digit) in PHP_FUNCTION() argument
/PHP-7.4/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 82 milliseconds