tdphp/td3/9.php
2023-03-06 06:21:44 -08:00

13 lines
190 B
PHP

<?php
function minmax($a, $b)
{
$valmin = min($a, $b);
$valmax = max($a, $b);
return array(
"min" => $valmin,
"max" => $valmax
);
}
print_r(minmax(35, 1));