The PHP log1p() function returns log(1+number), computed in a way that is accurate even when the value of number is close to zero.

				
					<?php
echo(log1p(1);
?>
				
			

Syntax

				
					log1p(number)