Skip to content

Commit 4e50c82

Browse files
derickrshivammathur
andcommitted
Update include/download-instructions/windows-downloads.php
Co-authored-by: Shivam Mathur <shivam_jpr@hotmail.com>
1 parent ec526f8 commit 4e50c82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/download-instructions/windows-downloads.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
$baseDownloads = 'https://downloads.php.net/~windows/releases/';
33

44
$dataStr = @file_get_contents(__DIR__ . '/win-releases.json');
5-
$releases = $dataStr ? json_decode($dataStr ?? $json, true) : null;
5+
$releases = $dataStr ? json_decode($dataStr, true) : null;
66

77
if (!is_array($releases)) {
88
echo '<p>Windows release index is temporarily unavailable.</p>';

0 commit comments

Comments
 (0)