Ctype implementation through regex.
◆ convert_int_to_char_for_ctype()
static convert_int_to_char_for_ctype |
( |
|
$int, |
|
|
|
$function |
|
) |
| |
|
staticprivate |
Converts integers to their char versions according to normal ctype behaviour, if needed.
If an integer between -128 and 255 inclusive is provided, it is interpreted as the ASCII value of a single character (negative values have 256 added in order to allow characters in the Extended ASCII range). Any other integer is interpreted as a string containing the decimal digits of the integer.
- Paramètres
-
mixed | $int | |
string | $function | |
- Renvoie
- mixed
Références $function.
◆ ctype_alnum()
static ctype_alnum |
( |
|
$text | ) |
|
|
static |
Returns TRUE if every character in text is either a letter or a digit, FALSE otherwise.
- Voir également
- https://php.net/ctype-alnum
- Paramètres
-
- Renvoie
- bool
Références $text.
◆ ctype_alpha()
static ctype_alpha |
( |
|
$text | ) |
|
|
static |
◆ ctype_cntrl()
static ctype_cntrl |
( |
|
$text | ) |
|
|
static |
Returns TRUE if every character in text is a control character from the current locale, FALSE otherwise.
- Voir également
- https://php.net/ctype-cntrl
- Paramètres
-
- Renvoie
- bool
Références $text.
◆ ctype_digit()
static ctype_digit |
( |
|
$text | ) |
|
|
static |
Returns TRUE if every character in the string text is a decimal digit, FALSE otherwise.
- Voir également
- https://php.net/ctype-digit
- Paramètres
-
- Renvoie
- bool
Références $text.
◆ ctype_graph()
static ctype_graph |
( |
|
$text | ) |
|
|
static |
Returns TRUE if every character in text is printable and actually creates visible output (no white space), FALSE otherwise.
- Voir également
- https://php.net/ctype-graph
- Paramètres
-
- Renvoie
- bool
Références $text.
◆ ctype_lower()
static ctype_lower |
( |
|
$text | ) |
|
|
static |
◆ ctype_print()
static ctype_print |
( |
|
$text | ) |
|
|
static |
Returns TRUE if every character in text will actually create output (including blanks). Returns FALSE if text contains control characters or characters that do not have any output or control function at all.
- Voir également
- https://php.net/ctype-print
- Paramètres
-
- Renvoie
- bool
Références $text.
◆ ctype_punct()
static ctype_punct |
( |
|
$text | ) |
|
|
static |
Returns TRUE if every character in text is printable, but neither letter, digit or blank, FALSE otherwise.
- Voir également
- https://php.net/ctype-punct
- Paramètres
-
- Renvoie
- bool
Références $text.
◆ ctype_space()
static ctype_space |
( |
|
$text | ) |
|
|
static |
Returns TRUE if every character in text creates some sort of white space, FALSE otherwise. Besides the blank character this also includes tab, vertical tab, line feed, carriage return and form feed characters.
- Voir également
- https://php.net/ctype-space
- Paramètres
-
- Renvoie
- bool
Références $text.
◆ ctype_upper()
static ctype_upper |
( |
|
$text | ) |
|
|
static |
◆ ctype_xdigit()
static ctype_xdigit |
( |
|
$text | ) |
|
|
static |
Returns TRUE if every character in text is a hexadecimal 'digit', that is a decimal digit or a character from [A-Fa-f] , FALSE otherwise.
- Voir également
- https://php.net/ctype-xdigit
- Paramètres
-
- Renvoie
- bool
Références $text.
La documentation de cette classe a été générée à partir du fichier suivant :