The PHP tan() function returns the tangent of a number.

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

Syntax

				
					tan(number)