Php min () i max ()
<?php
echo (min(-1341,14415,15115) . "<br>");
echo (max(array(134,14,1441,13)));
#Max outputs 1441, while Min outputs -1341
?>
Rick Astley
<?php
echo (min(-1341,14415,15115) . "<br>");
echo (max(array(134,14,1441,13)));
#Max outputs 1441, while Min outputs -1341
?>
<?php
echo(min(2,4,6,8,10) . "<br>"); # output: 2
echo(min(22,14,68,18,15) . "<br>"); # output: 14
echo(min(array(4,6,8,10)) . "<br>"); # output: 4
echo(min(array(44,16,81,12))); # output: 12
?>