Search Results
See Also ¶ ctype_alpha () - Check for alphabetic character (s) ctype_upper () - Check for uppercase character (s) setlocale () - Set locale information IntlChar::islower () - Check if code point is a lowercase letter
- Parameters
- Return Value
- Example 1
- Example 2
- Example 3
This function accepts a single parameter, which is described below − 1. text (required)− A string needs to be tested.
This function returns "true" if every character in the text is a lowercase letter, and "false" otherwise.
If every character in the provided string (or text) is a lowercase letter, the PHP ctype_lower()function returns true −
If every character in the provided string (or text) is not a lowercase letter, the PHP ctype_lower() function returns false−
Checking multiple strings (texts). In the example below, we create an array of a string containing multiple strings and, using the PHP ctype_lower()function to determine whether every character in strings is in lowercase −
À partir de PHP 8.1.0, passer un argument différent d'une chaîne est obsolète. À l'avenir, l'argument sera interprété comme une chaîne de caractères au lieu d'un point de code ASCII. Selon le comportement souhaité, l'argument doit être transtypé en chaîne de caractères ou un appel explicite à chr () doit être effectué.
Description ctype_lower ( mixed $text ) : bool Checks if all of the characters in the provided string, text, are lowercase letters.
PHP ctype_lower () function: In this tutorial, we will learn about the PHP ctype_lower () function with its usage, syntax, parameters, return value, and examples.
Ctype Functions ¶ Table of Contents ¶ ctype_alnum — Check for alphanumeric character (s) ctype_alpha — Check for alphabetic character (s) ctype_cntrl — Check for control character (s) ctype_digit — Check for numeric character (s) ctype_graph — Check for any printable character (s) except space ctype_lower — Check for lowercase ...
Execute ctype_lower Online. Info and examples on ctype_lower PHP Function from Character type checking - Variable and Type Related Extensions
