[web-php] master: Update include/download-instructions/windows-downloads.php

From: Date: Mon, 18 Aug 2025 10:09:23 +0000
Subject: [web-php] master: Update include/download-instructions/windows-downloads.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-33115@lists.php.net to get a copy of this message
Author: Derick Rethans (derickr) Date: 2025-08-18T11:02:41+01:00 Commit: https://github.com/php/web-php/commit/4e50c824c8f40706c46b393f6da956f133a51ac6 Raw diff: https://github.com/php/web-php/commit/4e50c824c8f40706c46b393f6da956f133a51ac6.diff Update include/download-instructions/windows-downloads.php Co-authored-by: Shivam Mathur <shivam_jpr@hotmail.com> Changed paths: M include/download-instructions/windows-downloads.php Diff: diff --git a/include/download-instructions/windows-downloads.php b/include/download-instructions/windows-downloads.php index 6f006e2ad0..ef5656cbb1 100644 --- a/include/download-instructions/windows-downloads.php +++ b/include/download-instructions/windows-downloads.php @@ -2,7 +2,7 @@ $baseDownloads = 'https://downloads.php.net/~windows/releases/'; $dataStr = @file_get_contents(__DIR__ . '/win-releases.json'); -$releases = $dataStr ? json_decode($dataStr ?? $json, true) : null; +$releases = $dataStr ? json_decode($dataStr, true) : null; if (!is_array($releases)) { echo '<p>Windows release index is temporarily unavailable.</p>';

« previous php.webmaster (#33115) next »