Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
11 Cards in this Set
- Front
- Back
ctype_alnum — Check for alphanumeric character(s) bool ctype_alnum ( string $text ) |
Checks if all of the characters in the provided string, text, are alphanumeric. Parameters: textThe tested string. Return Values: Returns TRUE if every character in text is either a letter or a digit, FALSE otherwise. |
|
ctype_alpha — Check for alphabetic character(s) bool ctype_alpha ( string $text ) |
Checks if all of the characters in the provided string, text, are alphabetic. In the standard C locale letters are just [A-Za-z] and ctype_alpha() is equivalent to (ctype_upper($text) || ctype_lower($text)) if $text is just a single character, but other languages have letters that are considered neither upper nor lower case. Parameters: textThe tested string. Return Values: Returns TRUE if every character in text is a letter from the current locale, FALSE otherwise. |
|
ctype_cntrl — Check for control character(s) bool ctype_cntrl ( string $text ) |
Checks if all of the characters in the provided string, text, are control characters. Control characters are e.g. line feed, tab, escape. Parameters: textThe tested string. Return Values: Returns TRUE if every character in text is a control character from the current locale, FALSE otherwise. |
|
ctype_digit — Check for numeric character(s) bool ctype_digit ( string $text ) |
Checks if all of the characters in the provided string, text, are numerical. Parameters: text The tested string. Return Values: Returns TRUE if every character in the string text is a decimal digit, FALSE otherwise. |
|
ctype_graph — Check for any printable character(s) except space bool ctype_graph ( string $text ) |
Checks if all of the characters in the provided string, text, creates visible output. Parameters: text The tested string. Return Values: Returns TRUE if every character in text is printable and actually creates visible output (no white space), FALSE otherwise. |
|
ctype_lower — Check for lowercase character(s) bool ctype_lower ( string $text ) |
Checks if all of the characters in the provided string, text, are lowercase letters. Parameters: text The tested string. Return Values: Returns TRUE if every character in text is a lowercase letter in the current locale. |
|
ctype_print — Check for printable character(s) bool ctype_print ( string $text ) |
Checks if all of the characters in the provided string, text, are printable. Parameters: text The tested string. Return Values: 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. |
|
ctype_punct — Check for any printable character which is not whitespace or an alphanumeric character bool ctype_punct ( string $text ) |
Checks if all of the characters in the provided string, text, are punctuation character. Parameters: text The tested string. Return Values: Returns TRUE if every character in text is printable, but neither letter, digit or blank, FALSE otherwise. |
|
ctype_space — Check for whitespace character(s) bool ctype_space ( string $text ) |
Checks if all of the characters in the provided string, text, creates whitespace. Parameters: text The tested string. Return Values: 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. |
|
ctype_upper — Check for uppercase character(s) bool ctype_upper ( string $text ) |
Checks if all of the characters in the provided string, text, are uppercase characters. Parameters: text The tested string. Return Values: Returns TRUE if every character in text is an uppercase letter in the current locale. |
|
ctype_xdigit — Check for character(s) representing a hexadecimal digit bool ctype_xdigit ( string $text ) |
Checks if all of the characters in the provided string, text, are hexadecimal 'digits'. Parameters: text The tested string. Return Values: 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. |