Facebook Page Twitter Page LinkedIn Page
× PHP Tutorial PHP Advanced PHP Resources


The PHP Math sinh() function is used to return hyperbolic sine of a value. The hyperbolic sine of x is defined as:

sinh

where e is an Euler's number.

Syntax

sinh(number)

Parameters

number Required. Specify the value.

Return Value

Returns the hyperbolic sine of a value.

Example:

In the below example, sinh() function is used to find out the hyperbolic sine of a value.

<?php
echo sinh(0)."\n";
echo sinh(2)."\n";
echo sinh(4)."\n";
?>

The output of the above code will be:

0
3.626860407847
27.289917197128

❮ PHP Math Functions