The PHP is_finite() function checks whether a value is finite or not, and returns true (1) if the value is a finite number, or false/nothing if not.

				
					<?php
echo is_finite(log(3));
?>
				
			

Syntax

				
					is_finite(value)