PHP | IntlChar::isULowercase() Function
Last Updated :
29 Mar, 2023
The IntlChar::isULowercase() function is an inbuilt function in PHP that is used to check whether the given input character is a Lowercase character or not.
Syntax:
bool IntlChar::isULowercase( $codepoint )
Parameters: This function accepts a single parameter $codepoint which is mandatory. The input parameter is a character or integer value, which is encoded as a UTF-8 string.
Return Value: If $codepoint is a Lowercase Unicode character then it returns True, otherwise return False.
Note: This function is different from IntlChar::islower() function.
Below programs illustrate the IntlChar::isULowercase() function is an inbuilt function in PHP that is used to check whether the given input character is a Lowercase character or not.
Syntax:
bool IntlChar::isULowercase( $codepoint )
Parameters: This function accepts a single parameter $codepoint which is mandatory. The input parameter is a character or integer value, which is encoded as a UTF-8 string.
Return Value: If $codepoint is a Lowercase Unicode character then it returns 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
var_dump(IntlChar::isULowercase( "M" ));
var_dump(IntlChar::isULowercase( "m" ));
var_dump(IntlChar::isULowercase( "GEEKS" ));
var_dump(IntlChar::isULowercase( "geeks" ));
var_dump(IntlChar::isULowercase( "7" ));
?>
|
Output:
bool(false)
bool(true)
NULL
NULL
bool(false)
Program 2:
php
<?php
$arr = array ( "G" , "Sudo" , "^" , "s" , "6" , "\n" );
foreach ( $arr as $val ){
var_dump(IntlChar::isULowercase( $val ));
}
?>
|
Output:
bool(false)
NULL
bool(false)
bool(true)
bool(false)
bool(false)
Related Articles:
Reference: http://php.net/manual/en/intlchar.isulowercase.phprcase() Function in PHP:
Program 1:
php
<?php
var_dump(IntlChar::isULowercase( "M" ));
var_dump(IntlChar::isULowercase( "m" ));
var_dump(IntlChar::isULowercase( "GEEKS" ));
var_dump(IntlChar::isULowercase( "geeks" ));
var_dump(IntlChar::isULowercase( "7" ));
?>
|
Output:
bool(false)
bool(true)
NULL
NULL
bool(false)
Program 2:
php
<?php
$arr = array ( "G" , "Sudo" , "^" , "s" , "6" , "\n" );
foreach ( $arr as $val ){
var_dump(IntlChar::isULowercase( $val ));
}
?>
|
Output:
bool(false)
NULL
bool(false)
bool(true)
bool(false)
bool(false)
Related Articles:
Reference: http://php.net/manual/en/intlchar.isulowercase.php
Like Article
Suggest improvement
Share your thoughts in the comments
Please Login to comment...