Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

min function in php

<?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
?>
 
PREVIOUS NEXT
Tagged: #min #function #php
ADD COMMENT
Topic
Name
9+7 =