![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::isIDStart() function in PHP
The IntlChar::isIDStart() function is used to check whether the entered character is permissible since the first character is anidentifier or not.
Syntax
bool IntlChar::isIDStart(val)
Parameters
val − A character or integer value encoded as a UTF-8 string.
Return
The IntlChar::isIDStart()function returns TRUE if val is an identifier character.
Example
The following is an example −
<?php var_dump(IntlChar::isIDStart("Tom")); echo "<br>"; var_dump(IntlChar::isIDStart("9")); echo "<br>"; var_dump(IntlChar::isIDStart("A")); ?>
Output
The following is the output −
NULL bool(false) bool(true)
Advertisements