回答編集履歴
1
誤字修正
answer
CHANGED
@@ -49,7 +49,7 @@
|
|
49
49
|
$input = "white yellow blue blue yellow blue";
|
50
50
|
$array = explode(" " , $input);
|
51
51
|
//配列を処理する(同じ要素の数をカウントする)
|
52
|
-
$count =
|
52
|
+
$count = my_array_count_values($array);
|
53
53
|
|
54
54
|
//カウントした処理を表示する
|
55
55
|
foreach($count as $key => $value){
|