Note that log of a negative or undefined number returns -Infinity.
(PHP 4, PHP 5, PHP 7, PHP 8)
log10 — Base-10 logarithm
num
The argument to process
The base-10 logarithm of num
Note that log of a negative or undefined number returns -Infinity.