
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- 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::isUWhiteSpace() function in PHP
The IntlChar::isUWhiteSpace() function check whether the given input character is a WhiteSpace Unicode character or not.
Syntax
IntlChar::isUWhiteSpace(val)
Parameters
val − A character or integer value encoded as a UTF-8 string.
Return
The IntlChar::isUWhiteSpace() function returns TRUE if the val is a WhiteSpace Unicode character.
Example
The following is an example −
<?php var_dump(IntlChar::isUWhiteSpace("
")); echo "<br>"; var_dump(IntlChar::isUWhiteSpace("A")); echo "<br>"; var_dump(IntlChar::isUWhiteSpace("*")); ?>
Output
The following is the output −
bool(true) bool(false) bool(false)
Advertisements