THE WORLD'S LARGEST WEB DEVELOPER SITE

PHP acosh() Function

❮ PHP Math Reference

Example

Return the inverse hyperbolic cosine of different numbers:

<?php
echo(acosh(7) . "<br>");
echo(acosh(56) . "<br>");
echo(acosh(2.45));
?>
Run example »

Definition and Usage

The acosh() function returns the inverse hyperbolic cosine of a number.


Syntax

acosh(number);

Parameter Description
number Required. Specifies a number

Technical Details

Return Value: The inverse hyperbolik cosine of number
Return Type: Float
PHP Version: 4.1+
PHP Changelog: PHP 5.3: acosh() is now available on all platform

❮ PHP Math Reference