Home
last modified time | relevance | path

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

/PHP-5.5/ext/ctype/tests/
H A Dctype_digit_error.phpt2 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 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-5.5/ext/ctype/
H A Dctype.c38 static PHP_FUNCTION(ctype_digit);
101 PHP_FE(ctype_digit, arginfo_ctype_digit)
207 static PHP_FUNCTION(ctype_digit) in PHP_FUNCTION() argument
/PHP-5.5/ext/pcre/pcrelib/
H A Dpcre_maketables.c140 if (isdigit(i)) x += ctype_digit; in pcre_maketables()
H A Ddftables.c181 ctype_space, ctype_letter, ctype_digit, ctype_xdigit, ctype_word, in main()
H A Dpcre_exec.c2358 (md->ctypes[c] & ctype_digit) != 0 in match()
2375 (md->ctypes[c] & ctype_digit) == 0 in match()
4534 if (c < 128 && (md->ctypes[c] & ctype_digit) != 0) in match()
4549 if (cc >= 128 || (md->ctypes[cc] & ctype_digit) == 0) in match()
4796 if (MAX_255(*eptr) && (md->ctypes[*eptr] & ctype_digit) != 0) in match()
4810 if (!MAX_255(*eptr) || (md->ctypes[*eptr] & ctype_digit) == 0) in match()
5228 if (c < 256 && (md->ctypes[c] & ctype_digit) != 0) in match()
5233 if (c >= 256 || (md->ctypes[c] & ctype_digit) == 0) in match()
5846 if (c < 256 && (md->ctypes[c] & ctype_digit) != 0) break; in match()
5861 if (c >= 256 ||(md->ctypes[c] & ctype_digit) == 0) break; in match()
[all …]
H A Dpcre_internal.h2592 #define ctype_digit 0x04 macro
H A Dpcre_compile.c3520 if (chr < 256 && (cd->ctypes[chr] & ctype_digit) != 0) return FALSE; in compare_opcodes()
3524 if (chr > 255 || (cd->ctypes[chr] & ctype_digit) == 0) return FALSE; in compare_opcodes()
H A Dpcre_jit_compile.c5331 OP2(SLJIT_AND | SLJIT_SET_E, SLJIT_UNUSED, 0, TMP1, 0, SLJIT_IMM, ctype_digit); in compile_char1_matchingpath()
/PHP-5.5/
H A DNEWS10024 - Fixed bug #30276 (Possible crash in ctype_digit on large numbers). (Ilia)

Completed in 112 milliseconds