PHP | IntlChar::isULowercase() Function
The IntlChar::isULowercase() function is an inbuilt function in PHP which is used to check whether the given input character is a Lowercase character or not.
Syntax:
bool IntlChar::isULowercase( $codepoint )
Parameters: This function accepts single parameter $codepoint which is mandotary. The input parameter is a character or interger value , which is encoded as a UTF-8 string.
Return Value: If $codepoint is an Lowercase Unicode character then it return True, otherwise return False.
Note: This function is different from IntlChar::islower() function.
Below programs illustrate the IntlChar::isULowercase() Function in PHP:
Program 1:
<?php // PHP code to illustrate IntlChar::iscntrl() // function // Input data is Capital letter or character var_dump(IntlChar::isULowercase("M")); echo "<br>"; // Input data is small letter or character var_dump(IntlChar::isULowercase("m")); echo "<br>"; // Input data is Capital letter string var_dump(IntlChar::isULowercase("GEEKS")); echo "<br>"; // Input data is small letter string var_dump(IntlChar::isULowercase("geeks")); echo "<br>"; // Input data is interger value var_dump(IntlChar::isULowercase("7")); echo "<br>"; ?> |
Output:
bool(false) bool(true) NULL NULL bool(false)
Program 2:
<?php // PHP code to IntlChar::isULowercase() // function // Declare an array $arr $arr = array("G", "Sudo", "^", "s", "6", "\n"); // Loop run for every array element foreach ($arr as $val){ // Check each element as code point data var_dump(IntlChar::isULowercase($val)); echo "<br>"; } ?> |
Output:
bool(false) NULL bool(false) bool(true) bool(false) bool(false)
Related Articles:
Reference: http://php.net/manual/en/intlchar.isulowercase.php
Recommended Posts:
- How to call a function that return another function in JavaScript ?
- How to get the function name from within that function using JavaScript ?
- PHP | ord() Function
- p5.js | nf() Function
- D3.js | d3.map.set() Function
- p5.js | arc() Function
- p5.js | box() Function
- p5.js | nfc() function
- CSS | hsl() Function
- CSS | rgb() Function
- PHP | tan( ) Function
- D3.js | d3.map.has() Function
- PHP | exp() Function
- D3.js | d3.min() function
- D3.js | d3.map.get() Function
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.



