
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
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
Found 1060 Articles for PHP

88 Views
The IntlChar::chr() function is used to check whether the entered character is Unicode value or notSyntaxIntlChar::chr( val )Parametersval − A character value encoded as a UTF-8 string.ReturnThe IntlChar::chr() function returns TRUE if the val is a Unicode character.ExampleThe following is an example −OutputThe following is the output −string(1) "A" NULL string(1) "^"

52 Views
The IntlChar::isJavaSpaceChar() function is used to check whether the entered value is a space character or not according to Java conventions.SyntaxIntlChar::isJavaSpaceChar(val)Parametersval − A character value encoded as a UTF-8 string.ReturnThe IntlChar::isJavaSpaceChar()function returns TRUE of val is a space character according to Java conventions.ExampleThe following is an example −OutputThe following is the output −NULL bool(false) bool(true) bool(false) NULL

48 Views
The IntlChar::isJavaIDStart() function is used to check whether the entered character is permissible since the first character is a java identifier or not.SyntaxIntlChar::isJavaIDStart(val)Parametersval − A character or integer value encoded as a UTF-8 string.ReturnThe IntlChar::isJavaIDStart() function returns TRUE if the val begins withJava identifier character.ExampleThe following is an example −OutputThe following is the output −bool(true) bool(true)ExampleLet us see another example −OutputThe following is the output −NULL bool(true) NULL NULL

72 Views
The IntlChar::ord()function is used to return the Unicode code point value of the entered character.Syntaxint IntlChar::ord( char_unicode )Parameterschar_unicode − A Unicode CharacterReturnThe IntlChar::ord()function returns theUnicode value as an integer.ExampleThe following is an example −OutputThe following is the output −int(72) int(57)ExampleLet us see another example −OutputThe following is the output −int(37) NULL

102 Views
The IntlChar::isIDPart() function is used to check whether the entered character is an identifier or notSyntaxbool IntlChar::isIDPart(val)Parametersval − A character value encoded as a UTF-8 string.ReturnThe IntlChar::isIDPart()function returns TRUE if the entered value is an identifier character.ExampleThe following is an example −OutputThe following is the output −bool(true) bool(true) bool(false) NULL

117 Views
The IntlChar::isULowercase() function is used to check whether the entered character is a Lowercase Unicode character or not.SyntaxIntlChar::isULowercase( val )Parametersval − The character to be checked encoded as a UTF-8 string.ReturnThe IntlChar::isULowercase() function returns TRUE if the entered value is a Lowercase Unicode character.ExampleThe following is an example −OutputThe following is the output −bool(true) bool(false) NULL

102 Views
The IntlChar::isISOControl() function is used to check whether the entered value is an ISO control code character or not.SyntaxIntlChar::isISOControl(val)Parametersval − A character or integer value encoded as a UTF-8 string.ReturnThe IntlChar::isISOControl() function returns TRUE if the entered value is an ISO control code character.ExampleThe following is an example −OutputThe following is the output −bool(false) bool(true) bool(false) bool(false)

106 Views
The IntlChar::isIDIgnorable() function is used to determine whether the entered value is an ignorable character or not.Syntaxbool IntlChar::isIDIgnorable(val)Parametersval − A character or integer value encoded as UTF-8 string.ReturnThe IntlChar::isIDIgnorable()function returns TRUE if the val is an ignorable character.ExampleThe following is an example −OutputThe following is the output −bool(false) bool(true) bool(false)

107 Views
The IntlChar::isUWhiteSpace() function check whether the given input character is a WhiteSpace Unicode character or not.SyntaxIntlChar::isUWhiteSpace(val)Parametersval − A character or integer value encoded as a UTF-8 string.ReturnThe IntlChar::isUWhiteSpace() function returns TRUE if the val is a WhiteSpace Unicode character.ExampleThe following is an example −OutputThe following is the output −bool(true) bool(false) bool(false)

161 Views
The IntlChar::charAge() function is used to compute the age of the entered value, which is the Unicode version. This is when the value was first designated or assigned a character.Syntaxarray IntlChar::charAge( val)Parametersval − A character or integer value encoded as a UTF-8 string.ReturnThe IntlChar::charAge() function returns the Unicode version number of an array, if true.ExampleThe following is an example −OutputThe following is the output −array(4) { [0]=> int(0) [1]=> int(0) [2]=> int(0) [3]=> int(0) }