From 4d7cd013923dc72aaec7a5b4c03b172f6bf0d42e Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Tue, 25 Jun 2019 22:32:54 +0200 Subject: [PATCH 1/4] Catch up with some recent changes [ci skip] --- UPGRADING | 2 ++ UPGRADING.INTERNALS | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/UPGRADING b/UPGRADING index be14f0699be27..7a338a91186e2 100644 --- a/UPGRADING +++ b/UPGRADING @@ -58,6 +58,8 @@ PHP 7.4 UPGRADE NOTES - MySQLi: . The embedded server functionality has been removed. It was broken since at least PHP 7.0. + . The mysqli::$stat property has been removed so the bug #67348 could be + fixed. Property neither was documented in the PHP manual. - Openssl: . The openssl_random_pseudo_bytes() function will now throw an exception in diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index 94a835ef39875..b3db26146118e 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -243,6 +243,14 @@ PHP 7.4 INTERNALS UPGRADE NOTES anymore and now takes one optional argument - minimum required version. - with-pcre-valgrind and with-valgrind are merged, and valgrind detected by pkgconfig + - Removed unused AC_PROG_CC_C_O check and the NO_MINUS_C_MINUS_O symbol. + - Obsolescant checks for pre-C89 headers and functions have been removed. + The following symbols are therefore no longer defined by the PHP build + system at the configure step and shouldn't be used anymore: + HAVE_SETLOCALE, HAVE_LOCALECONV, HAVE_STRSTR, HAVE_STRTOL, HAVE_STRBRK, + HAVE_PERROR, HAVE_STRFTIME, HAVE_TZNAME, HAVE_STDARG_H, HAVE_STRING_H, + HAVE_STDLIB_H, HAVE_SYS_VARARGS_H, HAVE_STDARG_H, HAVE_ASSERT_H, + HAVE_SYS_DIR_H, TM_IN_SYS_TIME. c. Windows build system changes From 290ca1795987eb80cd47235ee5792f1adc40048c Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Wed, 26 Jun 2019 00:04:19 +0200 Subject: [PATCH 2/4] [ci skip] Mention mysqli::stat() --- UPGRADING | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UPGRADING b/UPGRADING index 7a338a91186e2..7c604b0bf5cc7 100644 --- a/UPGRADING +++ b/UPGRADING @@ -59,7 +59,8 @@ PHP 7.4 UPGRADE NOTES . The embedded server functionality has been removed. It was broken since at least PHP 7.0. . The mysqli::$stat property has been removed so the bug #67348 could be - fixed. Property neither was documented in the PHP manual. + fixed. Property was not documented in the PHP manual and the preferred way + is to use the mysqli::stat()/mysqli_stat(). - Openssl: . The openssl_random_pseudo_bytes() function will now throw an exception in From 956bd51418eab897d07af3e942f794692b0dae8a Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Wed, 26 Jun 2019 02:49:09 +0200 Subject: [PATCH 3/4] [ci skip] HAVE_* for always defined extensions --- UPGRADING.INTERNALS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index b3db26146118e..9f7f21d23cfc7 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -222,6 +222,8 @@ PHP 7.4 INTERNALS UPGRADE NOTES - The filter extension no longer exposes the --with-pcre-dir configure argument and therefore allows shared builds with ./configure for Unix builds. + - Symbols HAVE_DATE, HAVE_REFLECTION, and HAVE_SPL have been removed. It + should be considered to have these extensions always available by default. b. Unix build system changes - configure --help now also outputs --program-suffix and --program-prefix From fee80fb3888a3e90eab7354e25975fe3bd942fee Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Wed, 26 Jun 2019 23:21:41 +0200 Subject: [PATCH 4/4] [ci skip] Update stuff --- UPGRADING | 5 ++--- UPGRADING.INTERNALS | 10 +++++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/UPGRADING b/UPGRADING index 7c604b0bf5cc7..2f7dcd3e9c5c1 100644 --- a/UPGRADING +++ b/UPGRADING @@ -58,9 +58,8 @@ PHP 7.4 UPGRADE NOTES - MySQLi: . The embedded server functionality has been removed. It was broken since at least PHP 7.0. - . The mysqli::$stat property has been removed so the bug #67348 could be - fixed. Property was not documented in the PHP manual and the preferred way - is to use the mysqli::stat()/mysqli_stat(). + . The undocumented mysqli::$stat property has been removed in favor of + mysqli::stat(). - Openssl: . The openssl_random_pseudo_bytes() function will now throw an exception in diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index 9f7f21d23cfc7..2ef5757d02064 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -223,7 +223,7 @@ PHP 7.4 INTERNALS UPGRADE NOTES argument and therefore allows shared builds with ./configure for Unix builds. - Symbols HAVE_DATE, HAVE_REFLECTION, and HAVE_SPL have been removed. It - should be considered to have these extensions always available by default. + should be considered to have these extensions always available. b. Unix build system changes - configure --help now also outputs --program-suffix and --program-prefix @@ -246,13 +246,13 @@ PHP 7.4 INTERNALS UPGRADE NOTES - with-pcre-valgrind and with-valgrind are merged, and valgrind detected by pkgconfig - Removed unused AC_PROG_CC_C_O check and the NO_MINUS_C_MINUS_O symbol. - - Obsolescant checks for pre-C89 headers and functions have been removed. - The following symbols are therefore no longer defined by the PHP build - system at the configure step and shouldn't be used anymore: + - Obsolescant checks for headers and functions that are part of C89 have + been removed. The following symbols are therefore no longer defined by the + PHP build system at the configure step and shouldn't be used anymore: HAVE_SETLOCALE, HAVE_LOCALECONV, HAVE_STRSTR, HAVE_STRTOL, HAVE_STRBRK, HAVE_PERROR, HAVE_STRFTIME, HAVE_TZNAME, HAVE_STDARG_H, HAVE_STRING_H, HAVE_STDLIB_H, HAVE_SYS_VARARGS_H, HAVE_STDARG_H, HAVE_ASSERT_H, - HAVE_SYS_DIR_H, TM_IN_SYS_TIME. + HAVE_SYS_DIR_H, TM_IN_SYS_TIME, HAVE_STRTOD. c. Windows build system changes