Last active
October 15, 2022 17:57
-
-
Save katsube/26bea64cb3e932be48cd4f42c6ed5afd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$min = getMin([18, 15, 30, 17, 25]); | |
echo $min; // 15と表示される | |
/** | |
* 配列から最小値を返却する | |
*/ | |
function getMin($items){ | |
// ★ここを回答する | |
return($min); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment