summaryrefslogtreecommitdiff
path: root/win32/build/phpize.js.in
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-11-19 16:26:14 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2020-11-19 16:26:45 +0100
commit2e27bb86823313616cf5abd04249e0505d5453d8 (patch)
tree0478e621ff1a4594ab2b80ca687132d0de9ed941 /win32/build/phpize.js.in
parent3c44e9c080d91bf78061d2d90bb1df3d31dc3d95 (diff)
parentc2b1182879bf2785245638945851c241b0859cbb (diff)
downloadphp-git-2e27bb86823313616cf5abd04249e0505d5453d8.tar.gz
Merge branch 'PHP-7.4' into PHP-8.0
* PHP-7.4: 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"));