Home
last modified time | relevance | path

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

/PHP-5.3/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.3/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.3/ext/pcre/pcrelib/
H A Dpcre_maketables.c135 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.c2336 (md->ctypes[c] & ctype_digit) != 0 in match()
2353 (md->ctypes[c] & ctype_digit) == 0 in match()
4425 if (c < 128 && (md->ctypes[c] & ctype_digit) != 0) in match()
4441 if (cc >= 128 || (md->ctypes[cc] & ctype_digit) == 0) in match()
4692 if (MAX_255(*eptr) && (md->ctypes[*eptr] & ctype_digit) != 0) in match()
4706 if (!MAX_255(*eptr) || (md->ctypes[*eptr] & ctype_digit) == 0) in match()
5111 if (c < 256 && (md->ctypes[c] & ctype_digit) != 0) in match()
5116 if (c >= 256 || (md->ctypes[c] & ctype_digit) == 0) in match()
5718 if (c < 256 && (md->ctypes[c] & ctype_digit) != 0) break; in match()
5733 if (c >= 256 ||(md->ctypes[c] & ctype_digit) == 0) break; in match()
[all …]
H A Dpcre_compile.c3221 return next > 255 || (cd->ctypes[next] & ctype_digit) == 0; in check_auto_possessive()
3224 return next <= 255 && (cd->ctypes[next] & ctype_digit) != 0; in check_auto_possessive()
3287 return c > 255 || (cd->ctypes[c] & ctype_digit) == 0; in check_auto_possessive()
3290 return c <= 255 && (cd->ctypes[c] & ctype_digit) != 0; in check_auto_possessive()
6801 if ((cd->ctypes[*p] & ctype_digit) == 0) is_a_number = FALSE; in compile_branch()
H A Dpcre_internal.h2536 #define ctype_digit 0x04 macro
/PHP-5.3/
H A DNEWS6974 - Fixed bug #30276 (Possible crash in ctype_digit on large numbers). (Ilia)

Completed in 124 milliseconds