Karthikeya Boyini has Published 2383 Articles

IntlChar::isJavaIDStart() function in PHP

karthikeya Boyini

karthikeya Boyini

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

26 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

69 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

257 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

63 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

70 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

88 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

589 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

42 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

sqrt() function in PHP

karthikeya Boyini

karthikeya Boyini

Updated on 27-Dec-2019 10:00:14

53 Views

The sqrt() function Returns the square root of a number.Syntaxsqrt(num)Parametersnum − The number for which you want to find the square rootReturnThe sqrt() function Returns the square root of the specified number.Example Live DemoOutput4ExampleLet us see another example − Live DemoOutput0.5ExampleLet us see another example − Live DemoOutputNANRead More

zip_read() function in PHP

karthikeya Boyini

karthikeya Boyini

Updated on 27-Dec-2019 09:58:15

26 Views

The zip_read() function reads the next entry in a ZIP file archive.Syntaxzip_read(zip)Parameterszip − The zip resource to readReturnThe zip_read() function returns a resource containing a file within the zip archive on success.ExampleThe following is an example, wherein we have a zip file "new.zip", with the following files.amit.txt peter.txt result.html demo.java ... Read More

Advertisements