Home
last modified time | relevance | path

Searched refs:ctype_xdigit (Results 1 – 14 of 14) sorted by relevance

/PHP-7.2/ext/ctype/tests/
H A Dctype_xdigit_error.phpt2 Test ctype_xdigit() function : error conditions - Incorrect number of args
7 /* Prototype : bool ctype_xdigit(mixed $c)
13 * Pass incorrect number of arguments to ctype_xdigit() to test behaviour
16 echo "*** Testing ctype_xdigit() : error conditions ***\n";
19 echo "\n-- Testing ctype_xdigit() function with Zero arguments --\n";
20 var_dump( ctype_xdigit() );
22 //Test ctype_xdigit with one more than the expected number of arguments
26 var_dump( ctype_xdigit($c, $extra_arg) );
30 *** Testing ctype_xdigit() : error conditions ***
32 -- Testing ctype_xdigit() function with Zero arguments --
[all …]
H A Dctype_xdigit_basic.phpt2 Test ctype_xdigit() function : basic functionality
7 /* Prototype : bool ctype_xdigit(mixed $c)
12 echo "*** Testing ctype_xdigit() : basic functionality ***\n";
18 var_dump(ctype_xdigit($c1));
19 var_dump(ctype_xdigit($c2));
25 *** Testing ctype_xdigit() : basic functionality ***
H A Dctype_xdigit_variation4.phpt2 Test ctype_xdigit() function : usage variations - heaxadecimal and octal values
7 /* Prototype : bool ctype_xdigit(mixed $c)
19 echo "*** Testing ctype_xdigit() : usage variations ***\n";
38 var_dump(ctype_xdigit($c));
42 var_dump(ctype_xdigit($c));
48 var_dump(ctype_xdigit($c));
52 var_dump(ctype_xdigit($c));
58 *** Testing ctype_xdigit() : usage variations ***
H A Dctype_xdigit_variation1.phpt2 Test ctype_xdigit() function : usage variations - different data typse as $c arg
7 /* Prototype : bool ctype_xdigit(mixed $c)
13 * Pass different data types as $c argument to ctype_xdigit() to test behaviour
16 echo "*** Testing ctype_xdigit() : usage variations ***\n";
89 // loop through each element of $inputs to check the behavior of ctype_xdigit()
93 var_dump( ctype_xdigit($input) );
103 *** Testing ctype_xdigit() : usage variations ***
H A Dctype_xdigit_variation3.phpt2 Test ctype_xdigit() function : usage variations - Different strings
7 /* Prototype : bool ctype_xdigit(mixed $c)
13 * Pass strings containing different character types to ctype_xdigit() to test
17 echo "*** Testing ctype_xdigit() : usage variations ***\n";
53 var_dump( ctype_xdigit($value) );
61 *** Testing ctype_xdigit() : usage variations ***
H A Dctype_xdigit_variation2.phpt2 Test ctype_xdigit() function : usage variations - different integers
7 /* Prototype : bool ctype_xdigit(mixed $c)
13 * Pass different integers to ctype_xdigit() to test which character codes are considered
17 echo "*** Testing ctype_xdigit() : usage variations ***\n";
22 if (ctype_xdigit($c)) {
31 *** Testing ctype_xdigit() : usage variations ***
H A D001.phpt26 ctype_test_001("ctype_xdigit");
39 ctype_xdigit 22
H A D002.phpt33 ctype_test_002("ctype_xdigit");
48 ctype_xdigit 22 22 0
H A Dbug25745.phpt10 "ctype_space", "ctype_upper", "ctype_xdigit"
/PHP-7.2/ext/ctype/
H A Dctype.c45 static PHP_FUNCTION(ctype_xdigit);
108 PHP_FE(ctype_xdigit, arginfo_ctype_xdigit)
264 static PHP_FUNCTION(ctype_xdigit) in PHP_FUNCTION() argument
/PHP-7.2/ext/pcre/pcrelib/
H A Dpcre_maketables.c141 if (isxdigit(i)) x += ctype_xdigit; in pcre_maketables()
H A Ddftables.c181 ctype_space, ctype_letter, ctype_digit, ctype_xdigit, ctype_word, in main()
H A Dpcre_compile.c1062 if (MAX_255(ptr[1]) && (digitab[ptr[1]] & ctype_xdigit) != 0 in check_escape()
1063 && MAX_255(ptr[2]) && (digitab[ptr[2]] & ctype_xdigit) != 0 in check_escape()
1064 && MAX_255(ptr[3]) && (digitab[ptr[3]] & ctype_xdigit) != 0 in check_escape()
1065 && MAX_255(ptr[4]) && (digitab[ptr[4]] & ctype_xdigit) != 0) in check_escape()
1314 if (MAX_255(ptr[1]) && (digitab[ptr[1]] & ctype_xdigit) != 0 in check_escape()
1315 && MAX_255(ptr[2]) && (digitab[ptr[2]] & ctype_xdigit) != 0) in check_escape()
1351 while (MAX_255(*ptr) && (digitab[*ptr] & ctype_xdigit) != 0) in check_escape()
1379 while (MAX_255(*ptr) && (digitab[*ptr] & ctype_xdigit) != 0) ptr++; in check_escape()
1401 while (i++ < 2 && MAX_255(ptr[1]) && (digitab[ptr[1]] & ctype_xdigit) != 0) in check_escape()
H A Dpcre_internal.h2589 #define ctype_xdigit 0x08 macro

Completed in 54 milliseconds