summaryrefslogtreecommitdiff
path: root/win32/build/phpize.js.in
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-11-19 16:28:27 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2020-11-19 16:28:27 +0100
commitdc8fb9dc8b7c0a2e68f629e02b5e55b23f4e00ee (patch)
treeb793a66d41050918bfa0ebf14892ff1494ccbbbb /win32/build/phpize.js.in
parent2efeaca40c5b384a6ad1a71f31b666af87263d66 (diff)
parent2e27bb86823313616cf5abd04249e0505d5453d8 (diff)
downloadphp-git-dc8fb9dc8b7c0a2e68f629e02b5e55b23f4e00ee.tar.gz
Merge branch 'PHP-8.0'
* PHP-8.0: Fix #80345: PHPIZE configuration has outdated PHP_RELEASE_VERSION
Diffstat (limited to 'win32/build/phpize.js.in')
-rw-r--r--win32/build/phpize.js.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/win32/build/phpize.js.in b/win32/build/phpize.js.in
index d12820403e..40308f5fc7 100644
--- a/win32/build/phpize.js.in
+++ b/win32/build/phpize.js.in
@@ -215,6 +215,12 @@ C.WriteLine("var PHP_ANALYZER = 'disabled';");
C.WriteLine("var PHP_PGO = 'no';");
C.WriteLine("var PHP_PGI = 'no';");
+C.WriteLine("var PHP_VERSION=" + PHP_VERSION);
+C.WriteLine("var PHP_MINOR_VERSION=" + PHP_MINOR_VERSION);
+C.WriteLine("var PHP_RELEASE_VERSION=" + PHP_RELEASE_VERSION);
+C.WriteLine("var PHP_EXTRA_VERSION=\"" + PHP_EXTRA_VERSION + "\"");
+C.WriteLine("var PHP_VERSION_STRING=\"" + PHP_VERSION_STRING + "\"");
+
C.Write(file_get_contents(PHP_DIR + "//script//ext_deps.js"));
if (FSO.FileExists(PHP_DIR + "/script/ext_pickle.js")) {
C.Write(file_get_contents(PHP_DIR + "//script//ext_pickle.js"));