The IntlChar::islower() function check whether the given input character is a lowercase character or not.
Syntax
bool IntlChar::islower(val)
Parameters
val − A character encoded as a UTF-8 string.
Return
The IntlChar::islower() function returns TRUE if the entered value is a lowercase character.
Example
The following is an example −
<?php var_dump(IntlChar::islower("a")); echo "<br>"; var_dump(IntlChar::islower("A")); ?>
Output
The following is the output −
bool(true) bool(false)