- 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::isblank() function in PHP
TheIntlChar::isblank() function checks whether the entered value isblank or horizontal space character.
Syntax
IntlChar::isblank (val)
Parameters
val − An integer or character encoded as a UTF-8 string.
Return
The IntlChar::isblank() function returns TRUE if the entered value isblank or horizontal space character.
Example
The following is an example −
<?php var_dump(IntlChar::isblank(" ")); echo "<br>"; var_dump(IntlChar::isblank("* ")); echo "<br>"; var_dump(IntlChar::isblank("8")); echo "<br>"; var_dump(IntlChar::isblank("n")); ?>
Output
The following is the output −
bool(true) NULL bool(false) bool(false)
Advertisements