Log 2046
13/09/2023 2023-09-13 10:06$summary = “1,1,1,2,2,2,1,3,3,3,2,2,1,2,3,2”;
$count_1 = substr_count($summary,”1″);
$count_2 = substr_count($summary,”2″);
$count_3 = substr_count($summary,”3″);
return “Number of occurrences of 1: “.$count_1.”
“;
return “Number of occurrences of 2: “.$count_2.”
“;
return “Number of occurrences of 3: “.$count_3;