```
function mean($numbers) {
$sum = 0;
$count = count($numbers);
foreach ($numbers as $number) {
$sum += $number;
}
return $sum / $count;
}
$numbers = [1, 2, 3, 4, 5];
$mean = mean($numbers);
echo "The mean value of the numbers is: " . $mean;
```

## Add new comment