The PHP tanh() function returns the hyperbolic tangent of a number, which is equal to sinh(x)/cosh(x).

				
					<?php
echo(tanh(5));
?>
				
			

Syntax

				
					tanh(number)