I need to simulate a ∞ in PHP.
So that min(∞,$number) is always $number.
min(∞,$number)
$number
I suppose, assuming this is an integer, you could use PHP_INT_MAX constant.