Ex.1 完了

This commit is contained in:
2026-10-09 12:45:31 +09:00
parent 150e8537b4
commit 0302be2355

View File

@@ -3,3 +3,6 @@
$fruits = ["Apple", "Banana", "Cherry", "Grape", "Mango"];
// TODO: foreach を使って配列の中身をすべて表示
foreach ($fruits as $fruit) {
echo "名前は". $fruit . "です。<br>";
}