From 7f6c05116e83e75353f27f5333cc860c3a6f64f7 Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Mon, 10 Feb 2025 17:44:33 +0100 Subject: [PATCH] [skip ci] Fix phpize for Windows 11 (24H2) It seems like n === undefined must have worked on older versions of jscript, but currently it just causes the insertion to silently fail. This sets n to an empty string, allowing phpize to include the local config.w32 files. --- NEWS | 7 +++++-- win32/build/phpize.js.in | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index aa23510db17..7324aaf5bef 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,10 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| +?? ??? ????, PHP 8.1.32 + +- Windows: + . Fixed phpize for Windows 11 (24H2). (bwoebi) + 21 Nov 2024, PHP 8.1.31 - CLI: @@ -28,8 +33,6 @@ PHP NEWS . Fixed bug GHSA-r977-prxv-hc43 (Single byte overread with convert.quoted-printable-decode filter). (CVE-2024-11233) (nielsdos) - - 26 Sep 2024, PHP 8.1.30 - CGI: diff --git a/win32/build/phpize.js.in b/win32/build/phpize.js.in index 49871481e89..c5f57737c97 100644 --- a/win32/build/phpize.js.in +++ b/win32/build/phpize.js.in @@ -91,6 +91,7 @@ function find_config_w32(dirname) deps = get_module_dep(contents); + n = ""; item = new Module_Item(n, c, dir_line, deps, contents); MODULES.Add(n, item); }