
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
Samual Sam has Published 2310 Articles

Samual Sam
127 Views
The IntlChar::iscntrl() function is used to check the given input is a control character or not. Examples include line feed (), tab (\t), etc.SyntaxIntlChar::iscntrl( val )Parametersval − An integer values or character encoded as a UTF-8 string.ReturnThe IntlChar::iscntrl() function returns TRUE if the val is a control character.ExampleThe following is ... Read More

Samual Sam
180 Views
The IntlChar::isalnum() function is used to check the given input is an alphanumeric character or not. The alphanumeric character is a digit or letter.Syntaxbool IntlChar::isalnum(val)Parametersval − An integer values or character encoded as a UTF-8 string.ReturnThe IntlChar::isalnum()function returns TRUE if the val is alphanumeric.ExampleThe following is an example −OutputThe following ... Read More

Samual Sam
133 Views
The tanh() function returns the hyperbolic tangent of the specified value.Syntaxtanh(val)Parametersval − A value in radiansReturnThe tanh() function returns the hyperbolic tangent of the specified value val.ExampleThe following is an example to get the hyperbolic tangent of 0 and 1: Live DemoOutput00.76159415595576ExampleLet us see an example to get the hyperbolic tangent ... Read More

Samual Sam
214 Views
The mt_srand() function seeds the random number generator.Note − Random number generator is seeded automatically after the release of PHP 4.2.0. This function is not needed now.Syntaxsrand(seed)Parametersseed − The seed valueReturnThe srand() function Returns nothing.Example Live DemoOutput664617053ExampleLet us see another example − Live DemoOutput4

Samual Sam
100 Views
The sinh() function Returns the hyperbolic sine of a number equivalent to.(exp(num) - exp(-num))/2)Syntaxsinh(num)Parametersnum − The number for which you want to Return the hyperbolic sine. A value in radians.ReturnThe sinh() function Returns the hyperbolic sine of a number.Example Live DemoOutput01.1752011936438ExampleLet us see another example − Live DemoOutput11.5487393572582.3012989023073Read More

Samual Sam
202 Views
The round() function rounds a floating point number. For example, 0.90 to 1, 0.35 to 0, etc.Syntaxround(val, precision, mode)Parametersval − The value to roundprecision − It sets the precision i.e. the number of decimal digits to round tomode − A constant that specify the following rounding modePHP_ROUND_HALF_UP - The constant ... Read More

Samual Sam
77 Views
The rad2deg() function converts radian value to degree value. It Returns the equivalent of radia value val in degrees.Syntaxrad2deg(val)Parametersval − The radian value to be converted into degree.ReturnThe rad2deg() function Returns the equivalent of val in degrees.Example Live DemoOutput180ExampleLet us see another example − Live DemoOutput90ExampleLet us see another example − Live DemoOutput22.5Read More

Samual Sam
136 Views
The pi() function Returns the value of Pi (π).Syntaxpi()ParametersNAReturnThe pi() function Returns the approximate value of PI. This value is a floating point value.3.1415926535898Example Live DemoOutput3.1415926535898ExampleLet us see another example to get the value of PI Live DemoOutput3.1415926535898

Samual Sam
161 Views
The max() function Returns the maximum value of an array.Syntaxmax(arr_values); or max(val1,val2,...);Parametersarr_values − The array with values.val1, val2 − The values to compare.ReturnThe max() function Returns the maximum value of an array.Example Live DemoOutput89ExampleLet us see another example − Live DemoOutput89

Samual Sam
83 Views
The log10() function Return the base-10 logarithm of a number.Syntaxlog10(num)Parametersnum − The value to calculate the logarithm for.ReturnThe log10() function Returns base 10 logarithm of a number.Example Live DemoOutput0ExampleLet us see another example − Live DemoOutput-INFExampleLet us see another example − Live DemoOutput10.43136376415899