- 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::isISOControl() function in PHP
The IntlChar::isISOControl() function is used to check whether the entered value is an ISO control code character or not.
Syntax
IntlChar::isISOControl(val)
Parameters
val − A character or integer value encoded as a UTF-8 string.
Return
The IntlChar::isISOControl() function returns TRUE if the entered value is an ISO control code character.
Example
The following is an example −
<?php var_dump(IntlChar::isISOControl("A")); echo "<br>"; var_dump(IntlChar::isISOControl("n")); echo "<br>"; var_dump(IntlChar::isISOControl("T")); echo "<br>"; var_dump(IntlChar::isISOControl("1")); ?>
Output
The following is the output −
bool(false) bool(true) bool(false) bool(false)
Advertisements