IntlChar::islower() function in PHP


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)

karthikeya Boyini
karthikeya Boyini

I love programming (: That's all I know

Updated on: 30-Dec-2019

37 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements