Home
last modified time | relevance | path

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

/php-src/ext/ctype/tests/
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 ***
101 Deprecated: ctype_digit(): Argument of type int will be interpreted as string in the future in %s o…
106 Deprecated: ctype_digit(): Argument of type int will be interpreted as string in the future in %s o…
111 Deprecated: ctype_digit(): Argument of type int will be interpreted as string in the future in %s o…
116 Deprecated: ctype_digit(): Argument of type int will be interpreted as string in the future in %s o…
[all …]
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_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(chr($i))) {
25 *** 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 Dbug34645.phpt8 var_dump(ctype_digit($id));
12 Deprecated: ctype_digit(): Argument of type int will be interpreted as string in the future in %s o…
H A D001.phpt22 ctype_test_001("ctype_digit");
35 ctype_digit 10
H A D002.phpt26 ctype_test_002("ctype_digit");
41 ctype_digit 10 10 0
H A Dbug25745.phpt10 "ctype_alnum", "ctype_alpha", "ctype_cntrl", "ctype_digit",
/php-src/ext/ctype/
H A Dctype_arginfo.h31 ZEND_FUNCTION(ctype_digit);
44 ZEND_FE(ctype_digit, arginfo_ctype_digit)
H A Dctype.stub.php11 function ctype_digit(mixed $text): bool {} function
H A Dctype.c131 PHP_FUNCTION(ctype_digit) in PHP_FUNCTION() argument
/php-src/ext/pcre/pcre2lib/
H A Dpcre2_maketables.c146 if (isdigit(i)) x += ctype_digit;
H A Dpcre2_auto_possess.c996 if (chr < 256 && (cb->ctypes[chr] & ctype_digit) != 0) return FALSE; in compare_opcodes()
1000 if (chr > 255 || (cb->ctypes[chr] & ctype_digit) == 0) return FALSE; in compare_opcodes()
H A Dpcre2_match.c2312 if (CHMAX_255(fc) && (mb->ctypes[fc] & ctype_digit) != 0) in match()
2324 if (!CHMAX_255(fc) || (mb->ctypes[fc] & ctype_digit) == 0) in match()
3156 if (fc < 128 && (mb->ctypes[fc] & ctype_digit) != 0) in match()
3171 if (cc >= 128 || (mb->ctypes[cc] & ctype_digit) == 0) in match()
3422 if (MAX_255(*Feptr) && (mb->ctypes[*Feptr] & ctype_digit) != 0) in match()
3924 if (fc < 256 && (mb->ctypes[fc] & ctype_digit) != 0) in match()
3929 if (fc >= 256 || (mb->ctypes[fc] & ctype_digit) == 0) in match()
4068 if (MAX_255(fc) && (mb->ctypes[fc] & ctype_digit) != 0) in match()
4073 if (!MAX_255(fc) || (mb->ctypes[fc] & ctype_digit) == 0) in match()
4617 if (fc < 256 && (mb->ctypes[fc] & ctype_digit) != 0) break; in match()
[all …]
H A Dpcre2_dfa_match.c277 ctype_digit, ctype_digit,
285 ctype_digit, 0,
H A Dpcre2_internal.h600 #define ctype_digit 0x08 macro
H A Dpcre2_jit_compile.c8919 OP2U(SLJIT_AND | SLJIT_SET_Z, TMP1, 0, SLJIT_IMM, ctype_digit); in compile_char1_matchingpath()

Completed in 94 milliseconds