Karthikeya Boyini has Published 2193 Articles

IntlChar::isUWhiteSpace() function in PHP

karthikeya Boyini

karthikeya Boyini

Updated on 30-Dec-2019 08:11:12

108 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) ... Read More

IntlChar::charName() function in PHP

karthikeya Boyini

karthikeya Boyini

Updated on 30-Dec-2019 08:08:13

141 Views

The IntlChar::charName()function gets the name of a Unicode character.Syntaxstring IntlChar::charName( val [, choice = IntlChar::UNICODE_CHAR_NAME] )Parametersval − An integer value or character encoded as UTF-8 string.choice − The following are the constant conditions −IntlChar::UNICODE_CHAR_NAMEIntlChar::CHAR_NAME_ALIASIntlChar::CHAR_NAME_CHOICE_COUNTIntlChar::UNICODE_10_CHAR_NAMEIntlChar::EXTENDED_CHAR_NAMEReturnThe IntlChar::charName() function returns the corresponding name of input data. For no name of character, an empty ... Read More

IntlChar::isJavaIDStart() function in PHP

karthikeya Boyini

karthikeya Boyini

Updated on 30-Dec-2019 07:57:50

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 ... Read More

IntlChar::isbase() function in PHP

karthikeya Boyini

karthikeya Boyini

Updated on 30-Dec-2019 07:50:46

101 Views

The IntlChar::isbase() function is used to check the given input data is a base character or not.SyntaxIntlChar::isbase( val)Parametersval − An integer or character encoded as a UTF-8 string. Required.ReturnThe IntlChar::isbase() function returns TRUE if the val is a base character.ExampleThe following is an example −OutputThe following is the output −bool(true) ... Read More

IntlChar::isalpha() function in PHP

karthikeya Boyini

karthikeya Boyini

Updated on 30-Dec-2019 07:49:49

360 Views

The IntlChar::isalpha() function is used to check the given input is an alphanumeric character or not.SyntaxIntlChar::isalpha( $val )Parametersval − An integer values or character encoded as a UTF-8 string.Required.ReturnThe IntlChar::isalpha() function returns TRUE if the val is alphanumeric character.ExampleThe following is an example −OutputThe following is the output −bool(false) bool(true)ExampleLet ... Read More

IntlChar::ispunct() function in PHP

karthikeya Boyini

karthikeya Boyini

Updated on 30-Dec-2019 07:48:40

118 Views

The IntlChar::ispunct() function check whether the given input character is a punctuation character or not.Syntaxbool IntlChar::ispunct(val)Parametersval − An integer value or character encoded as a UTF-8 string. Required!ReturnThe IntlChar::ispunct()function returns TRUE if the val is a punctuation character.ExampleThe following is an example −OutputThe following is the output −bool(false) bool(true) bool(false)ExampleLet ... Read More

IntlChar::isxdigit() function in PHP

karthikeya Boyini

karthikeya Boyini

Updated on 30-Dec-2019 07:41:30

126 Views

The IntlChar::isxdigit() function checks whether the given input character is a hexadecimal digit or not. The following are the hexadecimal digits −Digit numbers (0 – 9)Letters (a – f) and (A – F)\u{0041} to \u{0046}, \u{0061} to \u{0066}, \u{FF21} to \u{FF26}\u{FF41} to \u{FF46}).SyntaxIntlChar::isxdigit( val )Parametersval − An integer values or ... Read More

IntlChar::isprint() function in PHP

karthikeya Boyini

karthikeya Boyini

Updated on 30-Dec-2019 07:37:57

153 Views

The IntlChar::isprint() function checks whether the given input character is a printable character or not.SyntaxIntlChar::isprint( val )Parametersval − An integer values or character encoded as a UTF-8 string. Required!ReturnThe IntlChar::isprint() function returns TRUE if the val is a printable characterExampleThe following is an example −OutputThe following is the output −bool(true) ... Read More

Check if a string starts with given word in PHP

karthikeya Boyini

karthikeya Boyini

Updated on 30-Dec-2019 07:24:01

742 Views

Create a function to check whether a string begins with the specified string or not. The function should return TRUE on success or FALSE on failure.The following is the syntax −begnWith(str, begnStr)Consider the following parameters in it to check −str − The string to be testedbegnStr − The text to ... Read More

tan() function in PHP

karthikeya Boyini

karthikeya Boyini

Updated on 27-Dec-2019 10:02:10

84 Views

The tan() function returns the tangent of the specified value.Syntaxtan(val)Parametersval − A value in radiansReturnThe tan() function returns the tangent of the specified value val.Example Live DemoOutput01.5574077246549ExampleLet us see another example − Live DemoOutput1ExampleLet us see another example − Live DemoOutput0.54630248984379-0.54630248984379ExampleLet us see another example − Live DemoOutput3.3805150062466-0.64836082745909Read More

Advertisements