Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
IntlChar::isUAlphabetic() function in PHP
The IntlChar::isUAlphabetic() function is used to check whether the entered value is an Alphabetic Unicode character or not.
Syntax
IntlChar::isUAlphabetic(val)
Parameters
val − A character or integer value encoded as a UTF-8 string.
Return
The IntlChar::isUAlphabetic() function returns TRUE if val is Alphabetic Unicode Character.
Example
The following is an example −
<?php
var_dump(IntlChar::isUAlphabetic("78"));
echo "<br>";
var_dump(IntlChar::isUAlphabetic("Y"));
echo "<br>";
var_dump(IntlChar::isUAlphabetic("MissionImpossible"));
echo "<br>";
?>
Output
The following is the output −
NULL bool(true) NULL
Advertisements
