

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
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 isdefined() function in PHP
<p>The IntlChar isdefined() function checks whether the entered value is defined or not.</p><h2>Syntax</h2><pre class="result notranslate">bool IntlChar::isdefined (val)</pre><h2>Parameters</h2><ul class="list"><li><p>val − An integer or character encoded as a UTF-8 string.</p></li></ul><h2>Return</h2><p>The IntlChar isdefined() function returns TRUE if val is a defined character.</p><h2>Example</h2><p>The following is an example −</p><pre class="prettyprint notranslate"><?php var_dump(IntlChar::isdefined("Z")); echo "<br>"; var_dump(IntlChar::isdefined(" ")); echo "<br>"; var_dump(IntlChar::isdefined("HJHK")); echo "<br>"; var_dump(IntlChar::isdefined("89")); ?></pre><h2>Output</h2><p>The following is the output −</p><pre class="result notranslate">bool(true) bool(true) NULL NULL</pre>
- Related Questions & Answers
- IntlChar::isalpha() function in PHP
- IntlChar::isbase() function in PHP
- IntlChar::isalnum() function in PHP
- IntlChar::isprint() function in PHP
- IntlChar::iscntrl() function in PHP
- IntlChar::isxdigit() function in PHP
- IntlChar::isspace() function in PHP
- IntlChar::ispunct() function in PHP
- IntlChar::isUUppercase() function in PHP
- IntlChar::charName() function in PHP
- IntlChar::charAge() function in PHP
- IntlChar::isUWhiteSpace() function in PHP
- IntlChar::isIDIgnorable() function in PHP
- IntlChar::isISOControl() function in PHP
- IntlChar::isULowercase() function in PHP
Advertisements