From d446b22193e86a10e2dd3184fe26f53fafacf6e0 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sun, 16 Nov 2025 16:57:34 +0100 Subject: [PATCH] Remove PHP_HAVE_STREAMS This was once an indicator for PHP extensions whether PHP 4.3.0 or later is used. Today, this is redundant. --- UPGRADING.INTERNALS | 1 + main/php.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index 33632968368c7..e35557e71f462 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -48,6 +48,7 @@ PHP 8.6 INTERNALS UPGRADE NOTES . The WRONG_PARAM_COUNT and ZEND_WRONG_PARAM_COUNT() macros have been removed. Call zend_wrong_param_count(); followed by RETURN_THROWS(); instead. + . PHP_HAVE_STREAMS macro removed from . ======================== 2. Build system changes diff --git a/main/php.h b/main/php.h index 8bb47ed275825..32222cfca94e0 100644 --- a/main/php.h +++ b/main/php.h @@ -23,7 +23,6 @@ #endif #define PHP_API_VERSION 20250926 -#define PHP_HAVE_STREAMS #define YYDEBUG 0 #define PHP_DEFAULT_CHARSET "UTF-8"