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_...@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>';

Reply via email to