Skip to content

Commit 20dd078

Browse files
committed
Merge branch 'PHP-8.3' into PHP-8.4
2 parents 262e04d + 453caee commit 20dd078

25 files changed

+95
-95
lines changed

patches/8.3/asm.patch

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ repository.
1818
7 files changed, 54 insertions(+), 66 deletions(-)
1919

2020
diff --git a/Zend/asm/jump_i386_sysv_elf_gas.S b/Zend/asm/jump_i386_sysv_elf_gas.S
21-
index 47be9e7782..ed83717ce2 100644
21+
index 47be9e77822..ed83717ce2b 100644
2222
--- a/Zend/asm/jump_i386_sysv_elf_gas.S
2323
+++ b/Zend/asm/jump_i386_sysv_elf_gas.S
2424
@@ -24,6 +24,10 @@
@@ -39,7 +39,7 @@ index 47be9e7782..ed83717ce2 100644
3939
+
4040
+#endif
4141
diff --git a/Zend/asm/jump_s390x_sysv_elf_gas.S b/Zend/asm/jump_s390x_sysv_elf_gas.S
42-
index c2a578b266..fa71467756 100644
42+
index c2a578b2663..fa71467756d 100644
4343
--- a/Zend/asm/jump_s390x_sysv_elf_gas.S
4444
+++ b/Zend/asm/jump_s390x_sysv_elf_gas.S
4545
@@ -49,11 +49,12 @@
@@ -81,7 +81,7 @@ index c2a578b266..fa71467756 100644
8181
use_return_slot:
8282
/* Save the two fields in transfer_t. When calling a
8383
diff --git a/Zend/asm/jump_x86_64_sysv_elf_gas.S b/Zend/asm/jump_x86_64_sysv_elf_gas.S
84-
index 40f8734dae..ff303bfa0e 100644
84+
index 40f8734daee..ff303bfa0e2 100644
8585
--- a/Zend/asm/jump_x86_64_sysv_elf_gas.S
8686
+++ b/Zend/asm/jump_x86_64_sysv_elf_gas.S
8787
@@ -31,13 +31,16 @@
@@ -128,7 +128,7 @@ index 40f8734dae..ff303bfa0e 100644
128128
.section .note.GNU-stack,"",%progbits
129129
+# endif
130130
diff --git a/Zend/asm/make_i386_sysv_elf_gas.S b/Zend/asm/make_i386_sysv_elf_gas.S
131-
index 9261e566c0..c6e0b36558 100644
131+
index 9261e566c0d..c6e0b36558a 100644
132132
--- a/Zend/asm/make_i386_sysv_elf_gas.S
133133
+++ b/Zend/asm/make_i386_sysv_elf_gas.S
134134
@@ -24,6 +24,10 @@
@@ -149,7 +149,7 @@ index 9261e566c0..c6e0b36558 100644
149149
+
150150
+#endif
151151
diff --git a/Zend/asm/make_ppc64_sysv_macho_gas.S b/Zend/asm/make_ppc64_sysv_macho_gas.S
152-
index fb5cada265..dd7bf2c5c0 100644
152+
index fb5cada265a..dd7bf2c5c0c 100644
153153
--- a/Zend/asm/make_ppc64_sysv_macho_gas.S
154154
+++ b/Zend/asm/make_ppc64_sysv_macho_gas.S
155155
@@ -64,6 +64,7 @@
@@ -161,7 +161,7 @@ index fb5cada265..dd7bf2c5c0 100644
161161
.text
162162
.globl _make_fcontext
163163
diff --git a/Zend/asm/make_s390x_sysv_elf_gas.S b/Zend/asm/make_s390x_sysv_elf_gas.S
164-
index e7e2d5f6e0..4dd423e2a4 100644
164+
index e7e2d5f6e0c..4dd423e2a44 100644
165165
--- a/Zend/asm/make_s390x_sysv_elf_gas.S
166166
+++ b/Zend/asm/make_s390x_sysv_elf_gas.S
167167
@@ -49,12 +49,12 @@
@@ -193,7 +193,7 @@ index e7e2d5f6e0..4dd423e2a4 100644
193193
/* Allocate stack space for the context. */
194194
aghi %r2,-CONTEXT_SIZE
195195
diff --git a/Zend/asm/make_x86_64_sysv_elf_gas.S b/Zend/asm/make_x86_64_sysv_elf_gas.S
196-
index 3358a27d84..df9472433c 100644
196+
index 3358a27d844..df9472433cf 100644
197197
--- a/Zend/asm/make_x86_64_sysv_elf_gas.S
198198
+++ b/Zend/asm/make_x86_64_sysv_elf_gas.S
199199
@@ -31,13 +31,16 @@

patches/8.3/aspell.patch

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ See: https://github.com/php/php-src/pull/12017
3232
6 files changed, 114 insertions(+), 129 deletions(-)
3333

3434
diff --git a/.github/actions/apt-x32/action.yml b/.github/actions/apt-x32/action.yml
35-
index 879300f992..de820684fb 100644
35+
index 879300f9927..de820684fb2 100644
3636
--- a/.github/actions/apt-x32/action.yml
3737
+++ b/.github/actions/apt-x32/action.yml
3838
@@ -31,7 +31,6 @@ runs:
@@ -44,7 +44,7 @@ index 879300f992..de820684fb 100644
4444
libsasl2-dev:i386 \
4545
libsodium-dev:i386 \
4646
diff --git a/.github/actions/apt-x64/action.yml b/.github/actions/apt-x64/action.yml
47-
index bc2aa00df2..739abf8fe5 100644
47+
index bc2aa00df20..739abf8fe50 100644
4848
--- a/.github/actions/apt-x64/action.yml
4949
+++ b/.github/actions/apt-x64/action.yml
5050
@@ -34,7 +34,6 @@ runs:
@@ -56,7 +56,7 @@ index bc2aa00df2..739abf8fe5 100644
5656
libxpm-dev \
5757
libzip-dev \
5858
diff --git a/.travis.yml b/.travis.yml
59-
index 817bef0003..39e4991e2f 100644
59+
index 817bef00036..39e4991e2fd 100644
6060
--- a/.travis.yml
6161
+++ b/.travis.yml
6262
@@ -24,7 +24,6 @@ addons:
@@ -68,7 +68,7 @@ index 817bef0003..39e4991e2f 100644
6868
- libsqlite3-dev
6969
- libsodium-dev
7070
diff --git a/ext/pspell/config.m4 b/ext/pspell/config.m4
71-
index db49b4fd86..2356ad7d51 100644
71+
index db49b4fd86b..2356ad7d51a 100644
7272
--- a/ext/pspell/config.m4
7373
+++ b/ext/pspell/config.m4
7474
@@ -1,7 +1,7 @@
@@ -108,7 +108,7 @@ index db49b4fd86..2356ad7d51 100644
108108
dnl Add -laspell to LIBS if it exists
109109
PHP_CHECK_LIBRARY(aspell,new_aspell_config,
110110
diff --git a/ext/pspell/config.w32 b/ext/pspell/config.w32
111-
index d88ea1d30c..83a8413846 100644
111+
index d88ea1d30c5..83a84138467 100644
112112
--- a/ext/pspell/config.w32
113113
+++ b/ext/pspell/config.w32
114114
@@ -1,10 +1,10 @@
@@ -125,7 +125,7 @@ index d88ea1d30c..83a8413846 100644
125125
EXTENSION('pspell', 'pspell.c');
126126
AC_DEFINE('HAVE_PSPELL', 1);
127127
diff --git a/ext/pspell/pspell.c b/ext/pspell/pspell.c
128-
index 7c15472ed0..6937dc7752 100644
128+
index 7c15472ed0e..6937dc77525 100644
129129
--- a/ext/pspell/pspell.c
130130
+++ b/ext/pspell/pspell.c
131131
@@ -25,12 +25,8 @@

patches/8.3/cmake.patch

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Subject: Add CMake changes for PHP-8.3 branch
1515
5 files changed, 99 insertions(+), 7 deletions(-)
1616

1717
diff --git a/.editorconfig b/.editorconfig
18-
index 7911bf8490..1d9b530947 100644
18+
index 7911bf8490b..1d9b530947e 100644
1919
--- a/.editorconfig
2020
+++ b/.editorconfig
2121
@@ -17,7 +17,7 @@ indent_style = tab
@@ -28,18 +28,18 @@ index 7911bf8490..1d9b530947 100644
2828
indent_style = space
2929

3030
diff --git a/.gitignore b/.gitignore
31-
index b9e60cc6b5..f31fe9faa7 100644
31+
index 4e95d9a9da3..c109a4296a5 100644
3232
--- a/.gitignore
3333
+++ b/.gitignore
34-
@@ -153,6 +153,7 @@ php
34+
@@ -156,6 +156,7 @@ php
3535
# ------------------------------------------------------------------------------
3636
/ext/json/json_parser.tab.h
3737
/ext/json/json_parser.tab.c
3838
+/ext/json/json_parser.output
3939
/sapi/phpdbg/phpdbg_parser.c
4040
/sapi/phpdbg/phpdbg_parser.h
4141
/sapi/phpdbg/phpdbg_parser.output
42-
@@ -296,9 +297,58 @@ tmp-php.ini
42+
@@ -299,9 +300,58 @@ tmp-php.ini
4343
# ------------------------------------------------------------------------------
4444
/ext/standard/tests/helpers/bad_cmd.exe
4545

@@ -99,7 +99,7 @@ index b9e60cc6b5..f31fe9faa7 100644
9999
!/ext/fileinfo/libmagic/config.h
100100
!/ext/fileinfo/libmagic.patch
101101
diff --git a/ext/ext_skel.php b/ext/ext_skel.php
102-
index ae7a3a987c..a67901a2c9 100755
102+
index ae7a3a987c0..a67901a2c98 100755
103103
--- a/ext/ext_skel.php
104104
+++ b/ext/ext_skel.php
105105
@@ -302,11 +302,18 @@ function copy_config_scripts() {
@@ -122,7 +122,7 @@ index ae7a3a987c..a67901a2c9 100755
122122
error('Unable to copy config script: ' . $config_script);
123123
}
124124
diff --git a/ext/skeleton/.gitignore.in b/ext/skeleton/.gitignore.in
125-
index ae434fef97..87545d9162 100644
125+
index ae434fef976..87545d9162e 100644
126126
--- a/ext/skeleton/.gitignore.in
127127
+++ b/ext/skeleton/.gitignore.in
128128
@@ -39,3 +39,26 @@ tests/**/*.sh
@@ -153,7 +153,7 @@ index ae434fef97..87545d9162 100644
153153
+CMakeLists.txt.user
154154
+CMakeScripts/
155155
diff --git a/run-tests.php b/run-tests.php
156-
index d51ab99a20..9211cbb3e2 100755
156+
index d51ab99a205..9211cbb3e27 100755
157157
--- a/run-tests.php
158158
+++ b/run-tests.php
159159
@@ -885,10 +885,12 @@ function write_information(): void

patches/8.3/dba.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Subject: Fix ext/dba tests when ndbm and dbm handlers are enabled
1414
3 files changed, 30 insertions(+), 61 deletions(-)
1515

1616
diff --git a/ext/dba/tests/dba_dbm.phpt b/ext/dba/tests/dba_dbm.phpt
17-
index 3840359343..79bb82a94b 100644
17+
index 38403593430..79bb82a94ba 100644
1818
--- a/ext/dba/tests/dba_dbm.phpt
1919
+++ b/ext/dba/tests/dba_dbm.phpt
2020
@@ -13,8 +13,8 @@
@@ -79,7 +79,7 @@ index 3840359343..79bb82a94b 100644
7979
+ string(16) "Content String 9"
8080
}
8181
diff --git a/ext/dba/tests/dba_ndbm.phpt b/ext/dba/tests/dba_ndbm.phpt
82-
index 730932966c..9cc4f3f481 100644
82+
index 730932966cf..9cc4f3f4816 100644
8383
--- a/ext/dba/tests/dba_ndbm.phpt
8484
+++ b/ext/dba/tests/dba_ndbm.phpt
8585
@@ -13,8 +13,7 @@
@@ -168,7 +168,7 @@ index 730932966c..9cc4f3f481 100644
168168
-Failed to create DB
169169
+SAME OUTPUT AS PREVIOUS RUN (modulo read during write due to no lock)
170170
diff --git a/ext/dba/tests/setup/setup_dba_tests.inc b/ext/dba/tests/setup/setup_dba_tests.inc
171-
index 2ffac29e69..f30bae5fdd 100644
171+
index 2ffac29e697..f30bae5fdd8 100644
172172
--- a/ext/dba/tests/setup/setup_dba_tests.inc
173173
+++ b/ext/dba/tests/setup/setup_dba_tests.inc
174174
@@ -309,4 +309,7 @@ function cleanup_standard_db(string $name): void {

patches/8.3/dmalloc.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ See: https://github.com/php/php-src/pull/8465
1010
1 file changed, 2 insertions(+), 1 deletion(-)
1111

1212
diff --git a/sapi/cli/php_cli_server.c b/sapi/cli/php_cli_server.c
13-
index 19edc0cd3e..dba4eefb18 100644
13+
index 19edc0cd3ee..dba4eefb18e 100644
1414
--- a/sapi/cli/php_cli_server.c
1515
+++ b/sapi/cli/php_cli_server.c
1616
@@ -15,6 +15,8 @@

patches/8.3/php-config.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ Changes:
4444
4 files changed, 53 insertions(+), 19 deletions(-)
4545

4646
diff --git a/build/php.m4 b/build/php.m4
47-
index 61ee5c1675..1a8d67a783 100644
47+
index 142ddf08fd9..e476c42f895 100644
4848
--- a/build/php.m4
4949
+++ b/build/php.m4
50-
@@ -2146,7 +2146,9 @@ EOF
50+
@@ -2155,7 +2155,9 @@ EOF
5151
chmod +x $1
5252
CONFIGURE_COMMAND="$CONFIGURE_COMMAND $CONFIGURE_OPTIONS"
5353
PHP_SUBST_OLD(CONFIGURE_COMMAND)
@@ -59,7 +59,7 @@ index 61ee5c1675..1a8d67a783 100644
5959

6060
dnl
6161
diff --git a/configure.ac b/configure.ac
62-
index 0e98613854..e4710e6418 100644
62+
index d721458a73e..b7b5208897a 100644
6363
--- a/configure.ac
6464
+++ b/configure.ac
6565
@@ -1480,6 +1480,9 @@ exec_prefix=$old_exec_prefix
@@ -83,7 +83,7 @@ index 0e98613854..e4710e6418 100644
8383
PHP_UTILIZE_RPATHS
8484

8585
diff --git a/scripts/man1/php-config.1.in b/scripts/man1/php-config.1.in
86-
index 8ccd171641..bd81c24df8 100644
86+
index 8ccd171641e..bd81c24df80 100644
8787
--- a/scripts/man1/php-config.1.in
8888
+++ b/scripts/man1/php-config.1.in
8989
@@ -57,6 +57,24 @@ PHP version
@@ -112,7 +112,7 @@ index 8ccd171641..bd81c24df8 100644
112112
.PD 1
113113
.P
114114
diff --git a/scripts/php-config.in b/scripts/php-config.in
115-
index 9271e87286..deab0ebd59 100644
115+
index 9271e872863..deab0ebd597 100644
116116
--- a/scripts/php-config.in
117117
+++ b/scripts/php-config.in
118118
@@ -1,6 +1,5 @@

patches/8.3/phpdbg-prompt.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ terminals.
2929
1 file changed, 7 insertions(+), 3 deletions(-)
3030

3131
diff --git a/sapi/phpdbg/phpdbg_utils.c b/sapi/phpdbg/phpdbg_utils.c
32-
index 964d82ef6c..944db08188 100644
32+
index 964d82ef6c8..944db081880 100644
3333
--- a/sapi/phpdbg/phpdbg_utils.c
3434
+++ b/sapi/phpdbg/phpdbg_utils.c
3535
@@ -318,10 +318,14 @@ PHPDBG_API const char *phpdbg_get_prompt(void) /* {{{ */

patches/8.3/re2c.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ re2c version 4 enables some warnigns by default. This fixes the
1010
3 files changed, 6 insertions(+), 6 deletions(-)
1111

1212
diff --git a/Zend/zend_ini_scanner.l b/Zend/zend_ini_scanner.l
13-
index 44159297a0..b87f4e33cc 100644
13+
index 44159297a04..b87f4e33cc8 100644
1414
--- a/Zend/zend_ini_scanner.l
1515
+++ b/Zend/zend_ini_scanner.l
1616
@@ -352,16 +352,16 @@ restart:
@@ -34,7 +34,7 @@ index 44159297a0..b87f4e33cc 100644
3434
DOLLAR_CURLY "${"
3535

3636
diff --git a/Zend/zend_language_scanner.l b/Zend/zend_language_scanner.l
37-
index 25e1ecbca6..3ea51fe7c9 100644
37+
index 25e1ecbca6f..3ea51fe7c9d 100644
3838
--- a/Zend/zend_language_scanner.l
3939
+++ b/Zend/zend_language_scanner.l
4040
@@ -1801,11 +1801,11 @@ OPTIONAL_WHITESPACE_OR_COMMENTS ({WHITESPACE}|{MULTI_LINE_COMMENT}|{SINGLE_LINE_
@@ -52,7 +52,7 @@ index 25e1ecbca6..3ea51fe7c9 100644
5252
}
5353

5454
diff --git a/sapi/phpdbg/phpdbg_lexer.l b/sapi/phpdbg/phpdbg_lexer.l
55-
index 60d995526e..ba1423c5a4 100644
55+
index 60d995526ea..ba1423c5a4e 100644
5656
--- a/sapi/phpdbg/phpdbg_lexer.l
5757
+++ b/sapi/phpdbg/phpdbg_lexer.l
5858
@@ -77,7 +77,7 @@ T_IF 'if'

patches/8.4/asm.patch

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ which should be resolved in the future.
2222
8 files changed, 38 insertions(+), 61 deletions(-)
2323

2424
diff --git a/Zend/asm/jump_s390x_sysv_elf_gas.S b/Zend/asm/jump_s390x_sysv_elf_gas.S
25-
index c2a578b266..fa71467756 100644
25+
index c2a578b2663..fa71467756d 100644
2626
--- a/Zend/asm/jump_s390x_sysv_elf_gas.S
2727
+++ b/Zend/asm/jump_s390x_sysv_elf_gas.S
2828
@@ -49,11 +49,12 @@
@@ -64,7 +64,7 @@ index c2a578b266..fa71467756 100644
6464
use_return_slot:
6565
/* Save the two fields in transfer_t. When calling a
6666
diff --git a/Zend/asm/jump_sparc64_sysv_elf_gas.S b/Zend/asm/jump_sparc64_sysv_elf_gas.S
67-
index 727687aad8..61101fb1f6 100644
67+
index 727687aad80..61101fb1f62 100644
6868
--- a/Zend/asm/jump_sparc64_sysv_elf_gas.S
6969
+++ b/Zend/asm/jump_sparc64_sysv_elf_gas.S
7070
@@ -6,12 +6,14 @@
@@ -88,7 +88,7 @@ index 727687aad8..61101fb1f6 100644
8888
#define CC64FSZ 176
8989
#define BIAS 2047
9090
diff --git a/Zend/asm/jump_x86_64_ms_pe_gas.S b/Zend/asm/jump_x86_64_ms_pe_gas.S
91-
index 5ebc46f364..ec4ecfe946 100644
91+
index 5ebc46f3640..ec4ecfe946d 100644
9292
--- a/Zend/asm/jump_x86_64_ms_pe_gas.S
9393
+++ b/Zend/asm/jump_x86_64_ms_pe_gas.S
9494
@@ -89,6 +89,7 @@
@@ -107,7 +107,7 @@ index 5ebc46f364..ec4ecfe946 100644
107107
+.section .drectve
108108
+.ascii " -export:\"jump_fcontext\""
109109
diff --git a/Zend/asm/jump_x86_64_sysv_elf_gas.S b/Zend/asm/jump_x86_64_sysv_elf_gas.S
110-
index be264bdc2e..ff303bfa0e 100644
110+
index be264bdc2e2..ff303bfa0e2 100644
111111
--- a/Zend/asm/jump_x86_64_sysv_elf_gas.S
112112
+++ b/Zend/asm/jump_x86_64_sysv_elf_gas.S
113113
@@ -67,14 +67,6 @@ jump_fcontext:
@@ -126,7 +126,7 @@ index be264bdc2e..ff303bfa0e 100644
126126
/* grow the stack to reserve space for shadow stack pointer(SSP) */
127127
leaq -0x8(%rsp), %rsp
128128
diff --git a/Zend/asm/make_s390x_sysv_elf_gas.S b/Zend/asm/make_s390x_sysv_elf_gas.S
129-
index e7e2d5f6e0..4dd423e2a4 100644
129+
index e7e2d5f6e0c..4dd423e2a44 100644
130130
--- a/Zend/asm/make_s390x_sysv_elf_gas.S
131131
+++ b/Zend/asm/make_s390x_sysv_elf_gas.S
132132
@@ -49,12 +49,12 @@
@@ -158,7 +158,7 @@ index e7e2d5f6e0..4dd423e2a4 100644
158158
/* Allocate stack space for the context. */
159159
aghi %r2,-CONTEXT_SIZE
160160
diff --git a/Zend/asm/make_sparc64_sysv_elf_gas.S b/Zend/asm/make_sparc64_sysv_elf_gas.S
161-
index 52ff70b996..3e7ee809c9 100644
161+
index 52ff70b996b..3e7ee809c91 100644
162162
--- a/Zend/asm/make_sparc64_sysv_elf_gas.S
163163
+++ b/Zend/asm/make_sparc64_sysv_elf_gas.S
164164
@@ -6,7 +6,7 @@
@@ -180,7 +180,7 @@ index 52ff70b996..3e7ee809c9 100644
180180
nop
181181

182182
diff --git a/Zend/asm/make_x86_64_ms_pe_gas.S b/Zend/asm/make_x86_64_ms_pe_gas.S
183-
index 66a9bb3953..958a2a7b6d 100644
183+
index 66a9bb39535..958a2a7b6d0 100644
184184
--- a/Zend/asm/make_x86_64_ms_pe_gas.S
185185
+++ b/Zend/asm/make_x86_64_ms_pe_gas.S
186186
@@ -89,6 +89,7 @@
@@ -199,7 +199,7 @@ index 66a9bb3953..958a2a7b6d 100644
199199
+.section .drectve
200200
+.ascii " -export:\"make_fcontext\""
201201
diff --git a/Zend/asm/make_x86_64_sysv_elf_gas.S b/Zend/asm/make_x86_64_sysv_elf_gas.S
202-
index b0d0c0341e..df9472433c 100644
202+
index b0d0c0341ef..df9472433cf 100644
203203
--- a/Zend/asm/make_x86_64_sysv_elf_gas.S
204204
+++ b/Zend/asm/make_x86_64_sysv_elf_gas.S
205205
@@ -91,35 +91,6 @@ make_fcontext:

0 commit comments

Comments
 (0)