tdphp/td3/9.php

14 lines
190 B
PHP
Raw Normal View History

2023-03-06 15:21:44 +01:00
<?php
function minmax($a, $b)
{
$valmin = min($a, $b);
$valmax = max($a, $b);
return array(
"min" => $valmin,
"max" => $valmax
);
}
print_r(minmax(35, 1));