From 0302be2355ab35c0c76038e42a28c24085eaa27d Mon Sep 17 00:00:00 2001 From: m-takatsuki <26-m-takatsuki-webstar@it-college.co.jp> Date: Fri, 9 Oct 2026 12:45:31 +0900 Subject: [PATCH] =?UTF-8?q?Ex.1=20=E5=AE=8C=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Question07-Array/Ex01.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Question07-Array/Ex01.php b/Question07-Array/Ex01.php index 519bd63..c01730b 100644 --- a/Question07-Array/Ex01.php +++ b/Question07-Array/Ex01.php @@ -3,3 +3,6 @@ $fruits = ["Apple", "Banana", "Cherry", "Grape", "Mango"]; // TODO: foreach を使って配列の中身をすべて表示 +foreach ($fruits as $fruit) { + echo "名前は". $fruit . "です。
"; +} \ No newline at end of file