- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
IntlChar::isUUppercase() function in PHP
The IntlChar::isUUppercase() function checks whether the given input character is an Uppercase Unicode character or not.
Syntax
IntlChar::isUUppercase(val)
Parameters
val − It is a character value, which is encoded as a UTF-8 string.
Return
The IntlChar::isUUppercase() function returns TRUE if the val is an Uppercase Unicode character or not.
Example
The following is an example −
<?php var_dump(IntlChar::isUUppercase("2")); echo "<br>"; var_dump(IntlChar::isUUppercase("Jack")); echo "<br>"; var_dump(IntlChar::isUUppercase("K")); ?>
Output
The following is the output −
bool(false) NULL bool(true)
Example
Let us see another example −
<?php var_dump(IntlChar::isUUppercase("*")); echo "<br>"; var_dump(IntlChar::isUUppercase("n")); echo "<br>"; var_dump(IntlChar::isUUppercase("D")); ?>
Output
The following is the output −
bool(false) bool(false) bool(true)
- Related Articles
- IntlChar::isalpha() function in PHP
- IntlChar::isbase() function in PHP
- IntlChar::isalnum() function in PHP
- IntlChar::isprint() function in PHP
- IntlChar::iscntrl() function in PHP
- IntlChar::isxdigit() function in PHP
- IntlChar::isspace() function in PHP
- IntlChar::ispunct() function in PHP
- IntlChar::charName() function in PHP
- IntlChar::charAge() function in PHP
- IntlChar::isUWhiteSpace() function in PHP
- IntlChar::isIDIgnorable() function in PHP
- IntlChar::isISOControl() function in PHP
- IntlChar::isULowercase() function in PHP
- IntlChar::isIDPart() function in PHP

Advertisements