isFound()) {
$city = $google_weather->getCity();
$currentTemp = $google_weather->getCurrent();
$forecastTemp = $google_weather->getForecast();
$present_weather = 'Actuellement : ' . $currentTemp['temp_c'] . '°C - ' . $currentTemp['condition'];
$future_weather = [];
foreach ($forecastTemp as $temp) {
$future_weather[] = $temp['day_of_week'] . ' : ' . $temp['low'] . '°C | ' . $temp['high'] . '°C - ' . $temp['condition'];
}
if (strpos(strtolower($present_weather), "soleil") !== false) { ?>