[php-src] master: Bump API version numbers
| From: | Matteo Beccati | Date: | Tue, 10 Nov 2026 16:55:57 +0000 |
| Subject: | [php-src] master: Bump API version numbers | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-143544@lists.php.net to get a copy of this message | ||
Author: Matteo Beccati (mbeccati)
Date: 2026-11-10T17:44:54+01:00
Commit: https://github.com/php/php-src/commit/2c5097cb73b7dbe391143fd8867080e823e4031a
Raw diff: https://github.com/php/php-src/commit/2c5097cb73b7dbe391143fd8867080e823e4031a.diff
Bump API version numbers
The php2shell fix introduced an ABI incompatibility in PHP 8.6, but not in older versions, which is
why it was missed. Per our release policy, the API version number therefore needs to be bumped,
requiring extensions to be rebuilt.
Changed paths:
M Zend/zend_extensions.h
M Zend/zend_modules.h
M main/php.h
Diff:
diff --git a/Zend/zend_extensions.h b/Zend/zend_extensions.h
index fad6b251b019..d9cb91d45f9f 100644
--- a/Zend/zend_extensions.h
+++ b/Zend/zend_extensions.h
@@ -43,7 +43,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 420260924
+#define ZEND_EXTENSION_API_NO 420261112
typedef struct _zend_extension_version_info {
int zend_extension_api_no;
diff --git a/Zend/zend_modules.h b/Zend/zend_modules.h
index fda478c0c339..2630199cdd76 100644
--- a/Zend/zend_modules.h
+++ b/Zend/zend_modules.h
@@ -30,7 +30,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 20260924
+#define ZEND_MODULE_API_NO 20261112
#ifdef ZTS
#define USING_ZTS 1
#else
diff --git a/main/php.h b/main/php.h
index d52a58544efd..826e97fd1abd 100644
--- a/main/php.h
+++ b/main/php.h
@@ -20,7 +20,7 @@
#include <dmalloc.h>
#endif
-#define PHP_API_VERSION 20260924
+#define PHP_API_VERSION 20261112
#define YYDEBUG 0
#define PHP_DEFAULT_CHARSET "UTF-8"