summaryrefslogtreecommitdiffstats
path: root/php-upstream.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-12-06 10:24:33 +0100
committerRemi Collet <remi@php.net>2023-12-06 10:24:33 +0100
commit59d2285962ebaca3249710cc73577c58430b372b (patch)
treec09e145ca9a3e4701dfba4fdfbe6d82d9a184647 /php-upstream.patch
parentdef325bc3445acaa09265c7b7bdb67fdf499fe21 (diff)
update to 8.3.1RC1
Diffstat (limited to 'php-upstream.patch')
-rw-r--r--php-upstream.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/php-upstream.patch b/php-upstream.patch
new file mode 100644
index 0000000..24227a8
--- /dev/null
+++ b/php-upstream.patch
@@ -0,0 +1,43 @@
+Revert unwanted API changes from
+
+
+From 78f5ea1eba7c1247d375d5dd40f34d9076d5e1fd Mon Sep 17 00:00:00 2001
+From: Eric Mann <ericmann@php.net>
+Date: Tue, 5 Dec 2023 07:48:07 -0800
+Subject: [PATCH] Update versions for PHP 8.3.1RC1
+
+---
+ NEWS | 2 +-
+ Zend/zend.h | 2 +-
+ Zend/zend_extensions.h | 2 +-
+ Zend/zend_modules.h | 2 +-
+ configure.ac | 2 +-
+ main/php_version.h | 4 ++--
+ 6 files changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/Zend/zend_extensions.h b/Zend/zend_extensions.h
+index 461358abd2bc9..5b9be6b765f72 100644
+--- a/Zend/zend_extensions.h
++++ b/Zend/zend_extensions.h
+@@ -44,7 +44,7 @@ You can use the following macro to check the extension API version for compatibi
+
+ /* The first number is the engine version and the rest is the date (YYYYMMDD).
+ * This way engine 2/3 API no. is always greater than engine 1 API no.. */
+-#define ZEND_EXTENSION_API_NO 420230831
++#define ZEND_EXTENSION_API_NO 420231207
+
+ typedef struct _zend_extension_version_info {
+ int zend_extension_api_no;
+diff --git a/Zend/zend_modules.h b/Zend/zend_modules.h
+index 09661e6a2b862..8ec86db4ad915 100644
+--- a/Zend/zend_modules.h
++++ b/Zend/zend_modules.h
+@@ -31,7 +31,7 @@
+ #define ZEND_MODULE_INFO_FUNC_ARGS zend_module_entry *zend_module
+ #define ZEND_MODULE_INFO_FUNC_ARGS_PASSTHRU zend_module
+
+-#define ZEND_MODULE_API_NO 20230831
++#define ZEND_MODULE_API_NO 20231207
+ #ifdef ZTS
+ #define USING_ZTS 1
+ #else