
- PHP 7 Tutorial
- PHP 7 - Home
- PHP 7 - Introduction
- PHP 7 - Performance
- PHP 7 - Environment Setup
- PHP 7 - Scalar Type Declarations
- PHP 7 - Return Type Declarations
- PHP 7 - Null Coalescing Operator
- PHP 7 - Spaceship Operator
- PHP 7 - Constant Arrays
- PHP 7 - Anonymous Classes
- PHP 7 - Closure::call()
- PHP 7 - Filtered unserialize()
- PHP 7 - IntlChar
- PHP 7 - CSPRNG
- PHP 7 - Expectations
- PHP 7 - use Statement
- PHP 7 - Error Handling
- PHP 7 - Integer Division
- PHP 7 - Session Options
- PHP 7 - Deprecated Features
- PHP 7 - Removed Extensions & SAPIs
- PHP 7 Useful Resources
- PHP 7 - Quick Guide
- PHP 7 - Useful Resources
- PHP 7 - Discussion
sinh() function in PHP
The sinh() function Returns the hyperbolic sine of a number equivalent to.
(exp(num) - exp(-num))/2)
Syntax
sinh(num)
Parameters
num − The number for which you want to Return the hyperbolic sine. A value in radians.
Return
The sinh() function Returns the hyperbolic sine of a number.
Example
<?php echo(sinh(0) . "<br>"); echo(sinh(1) ); ?>
Output
0<br>1.1752011936438
Example
Let us see another example −
<?php echo(sinh(M_PI) . "<br>"); echo(sinh(M_PI_2)); ?>
Output
11.548739357258<br>2.3012989023073
- Related Articles
- PHP sinh() Function
- sinh() function in C++ STL
- Sinh( ) function for complex number in C++
- strcmp() function in PHP
- strcoll() function in PHP
- strcspn() function in PHP
- strip_tags() function in PHP
- stripcslashes() function in PHP
- stripos() function in PHP()
- stristr() function in PHP
- stripslashes() function in PHP
- strlen() function in PHP
- strnatcasecmp() function in PHP
- strnatcmp() function in PHP
- strncasecmp() function in PHP

Advertisements