Author: Admin 09/05/2021
Language:
PHP
Tags:
The min() and max() functions can be used to find the lowest or highest value in a list of arguments:
<!DOCTYPE html>
<html>
<body>
<?php
echo(min(0, 150, 30, 20, -8, -200) . "<br>");
echo(max(0, 150, 30, 20, -8, -200));
?>
</body>
</html>
Read More: https://www.w3schools.com/php/php_math.asp