![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
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::isbase() function in PHP
The IntlChar::isbase() function is used to check the given input data is a base character or not.
Syntax
IntlChar::isbase( val)
Parameters
val − An integer or character encoded as a UTF-8 string. Required.
Return
The IntlChar::isbase() function returns TRUE if the val is a base character.
Example
The following is an example −
<?php var_dump(IntlChar::isbase("D")); echo "<br>"; var_dump(IntlChar::isbase("EJklomno")); echo "<br>"; var_dump(IntlChar::isbase("123")); echo "<br>"; var_dump(IntlChar::isbase("5757jhgbjh")); ?>
Output
The following is the output −
bool(true) NULL NULL NULL
Advertisements