Searched refs:ctype_digit (Results 1 – 17 of 17) sorted by relevance
/PHP-7.1/ext/ctype/tests/ |
H A D | ctype_digit_error.phpt | 2 Test ctype_digit() function : error conditions - incorrect number of arguments 7 /* Prototype : bool ctype_digit(mixed $c) 13 * Pass an incorrect number of arguments to ctype_digit() to test behaviour 16 echo "*** Testing ctype_digit() : error conditions ***\n"; 19 echo "\n-- Testing ctype_digit() function with Zero arguments --\n"; 20 var_dump( ctype_digit() ); 22 //Test ctype_digit with one more than the expected number of arguments 26 var_dump( ctype_digit($c, $extra_arg) ); 30 *** Testing ctype_digit() : error conditions *** 32 -- Testing ctype_digit() function with Zero arguments -- [all …]
|
H A D | ctype_digit_basic.phpt | 2 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 D | ctype_digit_variation4.phpt | 2 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 D | ctype_digit_variation2.phpt | 2 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 D | ctype_digit_variation1.phpt | 2 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 D | ctype_digit_variation3.phpt | 2 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 D | 001.phpt | 19 ctype_test_001("ctype_digit"); 32 ctype_digit 10
|
H A D | 002.phpt | 26 ctype_test_002("ctype_digit"); 41 ctype_digit 10 10 0
|
H A D | bug34645.phpt | 8 var_dump(ctype_digit($id));
|
H A D | bug25745.phpt | 8 "ctype_alnum", "ctype_alpha", "ctype_cntrl", "ctype_digit",
|
/PHP-7.1/ext/ctype/ |
H A D | ctype.c | 38 static PHP_FUNCTION(ctype_digit); 101 PHP_FE(ctype_digit, arginfo_ctype_digit) 207 static PHP_FUNCTION(ctype_digit) in PHP_FUNCTION() argument
|
/PHP-7.1/ext/pcre/pcrelib/ |
H A D | pcre_maketables.c | 138 if (isdigit(i)) x += ctype_digit; in pcre_maketables()
|
H A D | dftables.c | 179 ctype_space, ctype_letter, ctype_digit, ctype_xdigit, ctype_word, in main()
|
H A D | pcre_exec.c | 2356 (md->ctypes[c] & ctype_digit) != 0 in match() 2373 (md->ctypes[c] & ctype_digit) == 0 in match() 4532 if (c < 128 && (md->ctypes[c] & ctype_digit) != 0) in match() 4547 if (cc >= 128 || (md->ctypes[cc] & ctype_digit) == 0) in match() 4794 if (MAX_255(*eptr) && (md->ctypes[*eptr] & ctype_digit) != 0) in match() 4808 if (!MAX_255(*eptr) || (md->ctypes[*eptr] & ctype_digit) == 0) in match() 5226 if (c < 256 && (md->ctypes[c] & ctype_digit) != 0) in match() 5231 if (c >= 256 || (md->ctypes[c] & ctype_digit) == 0) in match() 5844 if (c < 256 && (md->ctypes[c] & ctype_digit) != 0) break; in match() 5859 if (c >= 256 ||(md->ctypes[c] & ctype_digit) == 0) break; in match() [all …]
|
H A D | pcre_internal.h | 2588 #define ctype_digit 0x04 macro
|
H A D | pcre_compile.c | 3518 if (chr < 256 && (cd->ctypes[chr] & ctype_digit) != 0) return FALSE; in compare_opcodes() 3522 if (chr > 255 || (cd->ctypes[chr] & ctype_digit) == 0) return FALSE; in compare_opcodes()
|
H A D | pcre_jit_compile.c | 5331 OP2(SLJIT_AND | SLJIT_SET_E, SLJIT_UNUSED, 0, TMP1, 0, SLJIT_IMM, ctype_digit); in compile_char1_matchingpath()
|
Completed in 118 milliseconds