Skip to content

Commit 42111d5

Browse files
committed
Merge remote-tracking branch 'up/PHP-8.4' into gh21029
2 parents 064f8af + e6beffb commit 42111d5

File tree

6,614 files changed

+759543
-699558
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

6,614 files changed

+759543
-699558
lines changed

.circleci/config.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,13 @@ jobs:
4646
libicu-dev \
4747
libtidy-dev \
4848
libenchant-2-dev \
49-
libaspell-dev \
50-
libpspell-dev \
5149
libsasl2-dev \
5250
libxpm-dev \
5351
libzip-dev \
5452
libbz2-dev \
5553
libsqlite3-dev \
5654
libwebp-dev \
5755
libonig-dev \
58-
libkrb5-dev \
59-
libgssapi-krb5-2 \
6056
libcurl4-openssl-dev \
6157
libxml2-dev \
6258
libxslt1-dev \
@@ -71,7 +67,6 @@ jobs:
7167
`#snmp-mibs-downloader` \
7268
freetds-dev \
7369
`#unixodbc-dev` \
74-
libc-client-dev \
7570
dovecot-core \
7671
dovecot-pop3d \
7772
dovecot-imapd \
@@ -111,7 +106,6 @@ jobs:
111106
--enable-exif \
112107
--with-zip \
113108
--with-zlib \
114-
--with-zlib-dir=/usr \
115109
--enable-soap \
116110
--enable-xmlreader \
117111
--with-xsl \
@@ -131,9 +125,7 @@ jobs:
131125
--enable-bcmath \
132126
--enable-calendar \
133127
--enable-ftp \
134-
--with-pspell=/usr \
135128
--with-enchant=/usr \
136-
--with-kerberos \
137129
--enable-sysvmsg \
138130
--with-ffi \
139131
--enable-zend-test \
@@ -152,12 +144,7 @@ jobs:
152144
--with-qdbm \
153145
--with-snmp \
154146
`#--with-unixODBC` \
155-
--with-imap \
156-
--with-kerberos \
157-
--with-imap-ssl \
158147
`#--with-pdo-odbc=unixODBC,/usr` \
159-
`#--with-pdo-oci=shared,instantclient,/opt/oracle/instantclient` \
160-
`#--with-oci8=shared,instantclient,/opt/oracle/instantclient` \
161148
--with-config-file-path=/etc \
162149
--with-config-file-scan-dir=/etc/php.d \
163150
--with-pdo-firebird \
@@ -183,7 +170,7 @@ jobs:
183170
sapi/cli/php run-tests.php \
184171
-d zend_extension=opcache.so \
185172
-d opcache.enable_cli=1 \
186-
-d opcache.jit_buffer_size=16M \
173+
-d opcache.jit_buffer_size=64M \
187174
-d opcache.jit=tracing \
188175
-d zend_test.observer.enabled=1 \
189176
-d zend_test.observer.show_output=0 \

.gitattributes

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,13 @@
2121

2222
# Collapse generated files within git and pull request diff.
2323
**/*_arginfo.h linguist-generated -diff
24+
/main/gdb_inlined_script.c linguist-generated -diff
2425
/Zend/zend_vm_execute.h linguist-generated -diff
2526
/Zend/zend_vm_handlers.h linguist-generated -diff
2627
/Zend/zend_vm_opcodes.[ch] linguist-generated -diff
2728

28-
# The OSS fuzz files are bunary
29+
# The OSS fuzz files are binary
2930
/ext/date/tests/ossfuzz*.txt binary
31+
32+
# Vendored libraries
33+
/ext/dom/lexbor/lexbor linguist-vendored

.github/CODEOWNERS

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
/ext/gd @devnexen
2626
/ext/gettext @devnexen
2727
/ext/gmp @Girgias
28-
/ext/imap @Girgias
2928
/ext/intl @devnexen
3029
/ext/json @bukka
3130
/ext/libxml @ndossche

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,3 @@ contact_links:
33
- name: Documentation issue
44
url: https://github.com/php/doc-en/issues
55
about: Please report documentation issues on the doc-en repository.
6-
- name: Security issue
7-
url: https://bugs.php.net/report.php?security_bug
8-
about: Please report security issues in this private bug tracker.

.github/actions/apk/action.yml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: apk
2+
runs:
3+
using: composite
4+
steps:
5+
- shell: sh
6+
run: |
7+
set -x
8+
9+
OPCACHE_TLS_TESTS_DEPS="clang gcc binutils-gold lld"
10+
# compiler-rt provides libclang_rt.asan-x86_64.a for clang20
11+
# https://pkgs.alpinelinux.org/contents?file=libclang_rt.asan-x86_64.a&path=&name=&branch=v3.22
12+
ASAN_DEPS="clang20 compiler-rt"
13+
14+
apk update -q
15+
apk add \
16+
util-linux \
17+
bash \
18+
sudo \
19+
build-base \
20+
autoconf \
21+
unzip \
22+
tar \
23+
bison \
24+
re2c \
25+
pkgconf \
26+
mysql-client \
27+
bzip2-dev \
28+
curl-dev \
29+
freetype-dev \
30+
gettext-dev \
31+
gnu-libiconv-dev \
32+
gmp-dev \
33+
icu-dev \
34+
icu-data-full \
35+
jpeg-dev \
36+
libffi-dev \
37+
libpng-dev \
38+
libsodium-dev \
39+
libwebp-dev \
40+
libxml2-dev \
41+
libxpm-dev \
42+
libxslt-dev \
43+
libzip-dev \
44+
oniguruma-dev \
45+
openssl-dev \
46+
readline-dev \
47+
sqlite-dev \
48+
tidyhtml-dev \
49+
gdbm-dev \
50+
lmdb-dev \
51+
argon2-dev \
52+
enchant2-dev \
53+
freetds-dev \
54+
imap-dev \
55+
net-snmp-dev \
56+
openldap-dev \
57+
unixodbc-dev \
58+
postgresql-dev \
59+
tzdata \
60+
musl-locales \
61+
musl-locales-lang \
62+
$OPCACHE_TLS_TESTS_DEPS \
63+
$ASAN_DEPS

.github/actions/apt-x32/action.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,17 @@ runs:
1919
g++-multilib \
2020
gcc-multilib \
2121
language-pack-de \
22-
libaspell-dev:i386 \
2322
libbz2-dev:i386 \
2423
libc6:i386 \
2524
libcurl4-openssl-dev:i386 \
2625
libffi-dev:i386 \
2726
libfreetype6-dev:i386 \
2827
libgmp-dev:i386 \
29-
libgssapi-krb5-2:i386 \
3028
libicu-dev:i386 \
3129
libjpeg-dev:i386 \
32-
libkrb5-dev:i386 \
3330
libonig-dev:i386 \
3431
libpng-dev:i386 \
3532
libpq-dev:i386 \
36-
libpspell-dev:i386 \
3733
libreadline-dev:i386 \
3834
libsasl2-dev:i386 \
3935
libsodium-dev:i386 \

.github/actions/apt-x64/action.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
name: apt
2+
inputs:
3+
asan:
4+
default: false
5+
required: false
26
runs:
37
using: composite
48
steps:
@@ -34,22 +38,20 @@ runs:
3438
libicu-dev \
3539
libtidy-dev \
3640
libenchant-2-dev \
37-
libaspell-dev \
3841
libbz2-dev \
39-
libpspell-dev \
4042
libsasl2-dev \
4143
libxpm-dev \
4244
libzip-dev \
4345
libsqlite3-dev \
46+
libsqlite3-mod-spatialite \
4447
libwebp-dev \
48+
${{ inputs.asan == 'false' && 'libavif-dev' || '' }} \
4549
libonig-dev \
46-
libkrb5-dev \
47-
libgssapi-krb5-2 \
4850
libcurl4-openssl-dev \
4951
libxml2-dev \
5052
libxslt1-dev \
5153
libpq-dev \
52-
libreadline-dev \
54+
libedit-dev \
5355
libldap2-dev \
5456
libsodium-dev \
5557
libargon2-dev \
@@ -63,7 +65,6 @@ runs:
6365
unixodbc-dev \
6466
llvm \
6567
clang \
66-
libc-client-dev \
6768
dovecot-core \
6869
dovecot-pop3d \
6970
dovecot-imapd \

.github/actions/brew/action.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@ runs:
1818
bison \
1919
re2c
2020
brew install \
21-
aspell \
2221
bzip2 \
2322
enchant \
2423
libffi \
2524
intltool \
26-
icu4c \
2725
libiconv \
2826
t1lib \
2927
libxml2 \
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
name: ./configure
2+
inputs:
3+
configurationParameters:
4+
default: ''
5+
required: false
6+
skipSlow:
7+
default: false
8+
required: false
9+
runs:
10+
using: composite
11+
steps:
12+
- shell: bash
13+
run: |
14+
set -x
15+
./buildconf --force
16+
./configure \
17+
--enable-option-checking=fatal \
18+
--prefix=/usr \
19+
--enable-phpdbg \
20+
--enable-fpm \
21+
--with-pdo-mysql=mysqlnd \
22+
--with-mysqli=mysqlnd \
23+
${{ inputs.skipSlow == 'false' && '--with-pgsql' || '' }} \
24+
${{ inputs.skipSlow == 'false' && '--with-pdo-pgsql' || '' }} \
25+
${{ inputs.skipSlow == 'false' && '--with-pdo-sqlite' || '' }} \
26+
--enable-intl \
27+
--without-pear \
28+
--enable-gd \
29+
--with-jpeg \
30+
--with-webp \
31+
--with-freetype \
32+
--with-xpm \
33+
--enable-exif \
34+
--with-zip \
35+
--with-zlib \
36+
--enable-soap \
37+
--enable-xmlreader \
38+
--with-xsl \
39+
${{ inputs.skipSlow == 'false' && '--with-tidy' || '' }} \
40+
--enable-sysvsem \
41+
--enable-sysvshm \
42+
--enable-shmop \
43+
--enable-pcntl \
44+
--with-readline \
45+
--enable-mbstring \
46+
--with-iconv=/usr \
47+
--with-curl \
48+
--with-gettext \
49+
--enable-sockets \
50+
--with-bz2 \
51+
--with-openssl \
52+
--with-gmp \
53+
--enable-bcmath \
54+
--enable-calendar \
55+
--enable-ftp \
56+
${{ inputs.skipSlow == 'false' && '--with-enchant=/usr' || '' }} \
57+
--enable-sysvmsg \
58+
--with-ffi \
59+
--enable-zend-test \
60+
${{ inputs.skipSlow == 'false' && '--enable-dl-test=shared' || '' }} \
61+
${{ inputs.skipSlow == 'false' && '--with-ldap' || '' }} \
62+
${{ inputs.skipSlow == 'false' && '--with-ldap-sasl' || '' }} \
63+
--with-password-argon2 \
64+
--with-mhash \
65+
--with-sodium \
66+
--enable-dba \
67+
--with-cdb \
68+
--enable-flatfile \
69+
--enable-inifile \
70+
--with-lmdb \
71+
--with-gdbm \
72+
${{ inputs.skipSlow == 'false' && '--with-snmp' || '' }} \
73+
${{ inputs.skipSlow == 'false' && '--with-unixODBC' || '' }} \
74+
${{ inputs.skipSlow == 'false' && '--with-pdo-odbc=unixODBC,/usr' || '' }} \
75+
--with-config-file-path=/etc \
76+
--with-config-file-scan-dir=/etc/php.d \
77+
${{ inputs.skipSlow == 'false' && '--with-pdo-dblib' || '' }} \
78+
--enable-werror \
79+
${{ inputs.configurationParameters }}

.github/actions/configure-macos/action.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ runs:
1313
export PATH="$BREW_OPT/bison/bin:$PATH"
1414
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/openssl/lib/pkgconfig"
1515
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/curl/lib/pkgconfig"
16-
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/krb5/lib/pkgconfig"
1716
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/libffi/lib/pkgconfig"
1817
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/libxml2/lib/pkgconfig"
1918
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/libxslt/lib/pkgconfig"
@@ -22,7 +21,6 @@ runs:
2221
sed -i -e 's/Requires.private:.*//g' "$BREW_OPT/curl/lib/pkgconfig/libcurl.pc"
2322
./buildconf --force
2423
./configure \
25-
CFLAGS="-Wno-strict-prototypes -Wno-unused-but-set-variable -Wno-single-bit-bitfield-constant-conversion" \
2624
--enable-option-checking=fatal \
2725
--prefix=/usr/local \
2826
--enable-fpm \
@@ -60,8 +58,6 @@ runs:
6058
--enable-bcmath \
6159
--enable-calendar \
6260
--enable-ftp \
63-
--with-pspell="$BREW_OPT"/aspell \
64-
--with-kerberos \
6561
--enable-sysvmsg \
6662
--with-ffi \
6763
--enable-zend-test \

0 commit comments

Comments
 (0)