The PHP log10() function returns the base-10 logarithm of a number.

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

Syntax

				
					log10(number)