Skip to content

Commit 45e2f63

Browse files
authored
Merge pull request #26 from php/master
sync
2 parents 8d75d84 + 633400b commit 45e2f63

6,252 files changed

Lines changed: 198939 additions & 145247 deletions

File tree

Some content is hidden

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

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ jobs:
153153
`#--enable-werror`
154154
- run:
155155
name: make
156+
no_output_timeout: 30m
156157
command: make -j2 > /dev/null
157158
- run:
158159
name: make install

.cirrus.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,7 @@ max_line_length = 80
3232

3333
[*.patch]
3434
trim_trailing_whitespace = false
35+
36+
[*.rst]
37+
indent_style = space
38+
max_line_length = 100

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
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
24+
/main/debug_gdb_scripts.c linguist-generated -diff
2525
/Zend/zend_vm_execute.h linguist-generated -diff
2626
/Zend/zend_vm_handlers.h linguist-generated -diff
2727
/Zend/zend_vm_opcodes.[ch] linguist-generated -diff

.github/CODEOWNERS

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,16 @@
55
# the problem area and could aid in deciding whether a pull request is ready
66
# for merging.
77
#
8+
# When changing this file, please make sure to commit the changes to the
9+
# earliest supported PHP branch (PHP-X.Y) and not only to the master branch.
10+
# GitHub reads the CODEOWNERS file from the pull request's targeted branch.
11+
# Commit changes here similar to bug fixes:
12+
# https://github.com/php/php-src/blob/master/CONTRIBUTING.md#pull-requests
13+
#
814
# For more information, see the GitHub CODEOWNERS documentation:
915
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
1016

11-
/.github @iluuu1994 @TimWolla
17+
/.github @TimWolla
1218
/build/gen_stub.php @kocsismate
1319
/ext/bcmath @Girgias @nielsdos @SakiTakamachi
1420
/ext/curl @adoy
@@ -22,23 +28,26 @@
2228
/ext/intl @devnexen
2329
/ext/json @bukka
2430
/ext/libxml @nielsdos
25-
/ext/mbstring @alexdowad
26-
/ext/mysqlnd @SakiTakamachi
31+
/ext/mbstring @alexdowad @youkidearitai
32+
/ext/mysqli @bukka @kamil-tekiela
33+
/ext/mysqlnd @bukka @kamil-tekiela @SakiTakamachi
2734
/ext/odbc @NattyNarwhal
28-
/ext/opcache @dstogov @iluuu1994
35+
/ext/opcache @dstogov
2936
/ext/openssl @bukka
3037
/ext/pcntl @devnexen
3138
/ext/pdo @SakiTakamachi
3239
/ext/pdo_dblib @SakiTakamachi
3340
/ext/pdo_firebird @SakiTakamachi
34-
/ext/pdo_mysql @SakiTakamachi
41+
/ext/pdo_mysql @kamil-tekiela @SakiTakamachi
3542
/ext/pdo_odbc @NattyNarwhal @SakiTakamachi
3643
/ext/pdo_pgsql @devnexen @SakiTakamachi
3744
/ext/pdo_sqlite @SakiTakamachi
3845
/ext/pgsql @devnexen
3946
/ext/random @TimWolla @zeriyoshi
47+
/ext/reflection @DanielEScherzer
4048
/ext/session @Girgias
4149
/ext/simplexml @nielsdos
50+
/ext/soap @nielsdos
4251
/ext/sockets @devnexen
4352
/ext/spl @Girgias
4453
/ext/standard @bukka
@@ -48,27 +57,24 @@
4857
/ext/xsl @nielsdos
4958
/main @bukka
5059
/sapi/fpm @bukka
51-
/Zend/Optimizer @dstogov @iluuu1994
60+
/Zend/Optimizer @dstogov
5261
/Zend/zend.* @dstogov
5362
/Zend/zend_alloc.* @dstogov
54-
/Zend/zend_API.* @dstogov @iluuu1994
63+
/Zend/zend_API.* @dstogov
5564
/Zend/zend_call_stack.* @arnaud-lb
5665
/Zend/zend_closures.* @dstogov
57-
/Zend/zend_compile.* @iluuu1994
58-
/Zend/zend_enum.* @iluuu1994
59-
/Zend/zend_execute.* @dstogov @iluuu1994
60-
/Zend/zend_execute_API.c @dstogov @iluuu1994
61-
/Zend/zend_frameless_function.* @iluuu1994
66+
/Zend/zend_execute.* @dstogov
67+
/Zend/zend_execute_API.c @dstogov
6268
/Zend/zend_gc.* @dstogov @arnaud-lb
6369
/Zend/zend_hash.* @dstogov
64-
/Zend/zend_inheritance.* @dstogov @iluuu1994
70+
/Zend/zend_inheritance.* @dstogov
6571
/Zend/zend_max_execution_timer.* @arnaud-lb
66-
/Zend/zend_object_handlers.* @dstogov @iluuu1994
67-
/Zend/zend_objects.* @dstogov @iluuu1994
68-
/Zend/zend_objects_API.* @dstogov @iluuu1994
69-
/Zend/zend_opcode.* @dstogov @iluuu1994
72+
/Zend/zend_object_handlers.* @dstogov
73+
/Zend/zend_objects.* @dstogov
74+
/Zend/zend_objects_API.* @dstogov
75+
/Zend/zend_opcode.* @dstogov
7076
/Zend/zend_string.* @dstogov
71-
/Zend/zend_type*.h @dstogov @iluuu1994
77+
/Zend/zend_type*.h @dstogov
7278
/Zend/zend_variables.* @dstogov
73-
/Zend/zend_vm* @dstogov @iluuu1994
79+
/Zend/zend_vm* @dstogov
7480
*.stub.php @kocsismate

.github/actions/apk/action.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: apk
2+
runs:
3+
using: composite
4+
steps:
5+
- shell: sh
6+
run: |
7+
set -x
8+
9+
apk update -q
10+
apk add \
11+
util-linux \
12+
bash \
13+
sudo \
14+
build-base \
15+
autoconf \
16+
unzip \
17+
tar \
18+
bison \
19+
re2c \
20+
pkgconf \
21+
mysql-client \
22+
bzip2-dev \
23+
curl-dev \
24+
freetype-dev \
25+
gettext-dev \
26+
gnu-libiconv-dev \
27+
gmp-dev \
28+
icu-dev \
29+
icu-data-full \
30+
jpeg-dev \
31+
libffi-dev \
32+
libpng-dev \
33+
libsodium-dev \
34+
libwebp-dev \
35+
libxml2-dev \
36+
libxpm-dev \
37+
libxslt-dev \
38+
libzip-dev \
39+
oniguruma-dev \
40+
openssl-dev \
41+
readline-dev \
42+
sqlite-dev \
43+
tidyhtml-dev \
44+
gdbm-dev \
45+
lmdb-dev \
46+
argon2-dev \
47+
enchant2-dev \
48+
freetds-dev \
49+
imap-dev \
50+
net-snmp-dev \
51+
openldap-dev \
52+
unixodbc-dev \
53+
postgresql14-dev \
54+
tzdata \
55+
musl-locales \
56+
musl-locales-lang

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,12 @@ runs:
3333
libsodium-dev:i386 \
3434
libsqlite3-dev:i386 \
3535
libssl-dev:i386 \
36-
libtidy-dev:i386 \
3736
libwebp-dev:i386 \
3837
libxml2-dev:i386 \
3938
libxml2-dev:i386 \
4039
libxpm-dev:i386 \
4140
libxslt1-dev:i386 \
42-
libzip-dev:i386 \
41+
firebird-dev:i386 \
4342
locales \
4443
make \
4544
pkg-config:i386 \

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

Lines changed: 7 additions & 2 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:
@@ -39,15 +43,16 @@ runs:
3943
libsqlite3-dev \
4044
libsqlite3-mod-spatialite \
4145
libwebp-dev \
46+
${{ inputs.asan == 'false' && 'libavif-dev' || '' }} \
4247
libonig-dev \
4348
libcurl4-openssl-dev \
4449
libxml2-dev \
4550
libxslt1-dev \
4651
libpq-dev \
47-
libreadline-dev \
52+
libedit-dev \
4853
libldap2-dev \
4954
libsodium-dev \
50-
libargon2-0-dev \
55+
libargon2-dev \
5156
libmm-dev \
5257
libsnmp-dev \
5358
postgresql \

.github/actions/brew/action.yml

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,32 +11,19 @@ runs:
1111
code=" keg.link\(verbose: verbose\?"
1212
sudo sed -Ei '' "s/$code.*/$code, overwrite: true\)/" "$formula_installer"
1313
14+
# Some packages exist on x86 but not arm, or vice versa.
15+
# Install them with reinstall to avoid warnings.
16+
brew reinstall autoconf webp tidy-html5 libzip libsodium icu4c curl
1417
brew install \
15-
pkg-config \
16-
autoconf \
1718
bison \
1819
re2c
1920
brew install \
20-
openssl@1.1 \
21-
curl \
2221
bzip2 \
2322
enchant \
2423
libffi \
25-
libpng \
26-
webp \
27-
freetype \
2824
intltool \
29-
icu4c \
3025
libiconv \
31-
zlib \
3226
t1lib \
33-
gd \
34-
libzip \
35-
gmp \
36-
tidy-html5 \
3727
libxml2 \
3828
libjpeg \
39-
libsodium \
40-
libxslt \
41-
postgresql
42-
brew link icu4c gettext --force
29+
libxslt
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 }}

0 commit comments

Comments
 (0)