Skip to content

Commit 32996a4

Browse files
authored
Merge pull request #27 from php/master
sync
2 parents 45e2f63 + c893591 commit 32996a4

3,470 files changed

Lines changed: 665613 additions & 1225534 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: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ jobs:
9090
--prefix=/usr \
9191
--enable-phpdbg \
9292
--enable-fpm \
93-
--enable-opcache \
9493
--with-pdo-mysql=mysqlnd \
9594
--with-mysqli=mysqlnd \
9695
--with-pgsql \
@@ -168,7 +167,6 @@ jobs:
168167
no_output_timeout: 30m
169168
command: |
170169
sapi/cli/php run-tests.php \
171-
-d zend_extension=opcache.so \
172170
-d opcache.enable_cli=1 \
173171
-d opcache.jit_buffer_size=64M \
174172
-d opcache.jit=tracing \

.gitattributes

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,5 @@
3030
/ext/date/tests/ossfuzz*.txt binary
3131

3232
# Vendored libraries
33-
/ext/dom/lexbor/lexbor linguist-vendored
33+
/ext/lexbor/lexbor linguist-vendored
34+
/ext/uri/uriparser linguist-vendored

.github/CODEOWNERS

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
/.github @TimWolla
1818
/build/gen_stub.php @kocsismate
19-
/ext/bcmath @Girgias @nielsdos @SakiTakamachi
19+
/ext/bcmath @nielsdos @SakiTakamachi
2020
/ext/curl @adoy
2121
/ext/date @derickr
2222
/ext/dba @Girgias
@@ -27,6 +27,7 @@
2727
/ext/gmp @Girgias
2828
/ext/intl @devnexen
2929
/ext/json @bukka
30+
/ext/lexbor @kocsismate @nielsdos
3031
/ext/libxml @nielsdos
3132
/ext/mbstring @alexdowad @youkidearitai
3233
/ext/mysqli @bukka @kamil-tekiela
@@ -51,6 +52,7 @@
5152
/ext/sockets @devnexen
5253
/ext/spl @Girgias
5354
/ext/standard @bukka
55+
/ext/uri @kocsismate
5456
/ext/xml @nielsdos
5557
/ext/xmlreader @nielsdos
5658
/ext/xmlwriter @nielsdos

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,23 @@ body:
2222
```
2323
validations:
2424
required: true
25-
- type: input
25+
- type: textarea
2626
attributes:
2727
label: PHP Version
28-
description: "The used PHP version. Make sure it is [supported](https://www.php.net/supported-versions.php)."
29-
placeholder: "PHP 8.0.12"
28+
description: |
29+
Please run PHP with the `-v` flag (e.g. `php -v`, `php8.3 -v`, `php-fpm -v` or similar) and provide the full output of that command. If executing that command is not possible, please provide the full version number as given in PHPInfo.
30+
31+
Please make sure that the used PHP version [is a supported version](https://www.php.net/supported-versions.php).
32+
placeholder: |
33+
PHP 8.3.19 (cli) (built: Mar 13 2025 17:44:40) (NTS)
34+
Copyright (c) The PHP Group
35+
Zend Engine v4.3.19, Copyright (c) Zend Technologies
36+
with Zend OPcache v8.3.19, Copyright (c), by Zend Technologies
37+
render: plain
3038
validations:
3139
required: true
3240
- type: input
3341
attributes:
3442
label: Operating System
3543
description: "The used operating system, if relevant."
36-
placeholder: "Ubuntu 20.04"
44+
placeholder: "Ubuntu 24.04"

.github/actions/apk/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ runs:
66
run: |
77
set -x
88
9+
OPCACHE_TLS_TESTS_DEPS="clang gcc binutils-gold lld"
10+
911
apk update -q
1012
apk add \
1113
util-linux \
@@ -53,4 +55,5 @@ runs:
5355
postgresql14-dev \
5456
tzdata \
5557
musl-locales \
56-
musl-locales-lang
58+
musl-locales-lang \
59+
$OPCACHE_TLS_TESTS_DEPS

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ runs:
66
run: |
77
set -x
88
9+
OPCACHE_TLS_TESTS_DEPS="gcc clang lld"
10+
911
export DEBIAN_FRONTEND=noninteractive
1012
dpkg --add-architecture i386
1113
apt-get update -y | true
@@ -35,7 +37,6 @@ runs:
3537
libssl-dev:i386 \
3638
libwebp-dev:i386 \
3739
libxml2-dev:i386 \
38-
libxml2-dev:i386 \
3940
libxpm-dev:i386 \
4041
libxslt1-dev:i386 \
4142
firebird-dev:i386 \
@@ -45,4 +46,5 @@ runs:
4546
re2c \
4647
unzip \
4748
wget \
48-
zlib1g-dev:i386
49+
zlib1g-dev:i386 \
50+
$OPCACHE_TLS_TESTS_DEPS

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ runs:
1010
run: |
1111
set -x
1212
13+
OPCACHE_TLS_TESTS_DEPS="gcc clang lld"
14+
1315
export DEBIAN_FRONTEND=noninteractive
1416
1517
# Install sudo in Docker for consistent actions
@@ -74,4 +76,5 @@ runs:
7476
libqdbm-dev \
7577
libjpeg-dev \
7678
libpng-dev \
77-
libfreetype6-dev
79+
libfreetype6-dev \
80+
$OPCACHE_TLS_TESTS_DEPS

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ runs:
1111
set -x
1212
BREW_OPT="$(brew --prefix)"/opt
1313
export PATH="$BREW_OPT/bison/bin:$PATH"
14-
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/openssl@1.1/lib/pkgconfig"
14+
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"
1616
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/libffi/lib/pkgconfig"
1717
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/libxml2/lib/pkgconfig"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
name: Extra tests
2+
runs:
3+
using: composite
4+
steps:
5+
- shell: sh
6+
run: |
7+
sapi/cli/php run-extra-tests.php

.github/actions/freebsd/action.yml

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,27 @@
11
name: FreeBSD
2+
inputs:
3+
configurationParameters:
4+
default: ''
5+
required: false
6+
runExtraTests:
7+
default: false
8+
required: false
29
runs:
310
using: composite
411
steps:
512
- name: FreeBSD
613
uses: vmactions/freebsd-vm@v1
714
with:
8-
release: '13.3'
15+
release: '13.5'
916
usesh: true
1017
copyback: false
1118
# Temporarily disable sqlite, as FreeBSD ships it with disabled double quotes. We'll need to fix our tests.
1219
# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269889
1320
prepare: |
1421
cd $GITHUB_WORKSPACE
1522
23+
OPCACHE_TLS_TESTS_DEPS="gcc"
24+
1625
kldload accf_http
1726
pkg install -y \
1827
autoconf \
@@ -27,7 +36,6 @@ runs:
2736
bzip2 \
2837
t1lib \
2938
gmp \
30-
tidyp \
3139
libsodium \
3240
libzip \
3341
libxml2 \
@@ -38,9 +46,11 @@ runs:
3846
webp \
3947
libavif \
4048
`#sqlite3` \
41-
curl
49+
curl \
50+
$OPCACHE_TLS_TESTS_DEPS
4251
4352
./buildconf -f
53+
CC=clang CXX=clang++ \
4454
./configure \
4555
--prefix=/usr/local \
4656
--enable-debug \
@@ -81,7 +91,9 @@ runs:
8191
--with-sodium \
8292
--enable-werror \
8393
--with-config-file-path=/etc \
84-
--with-config-file-scan-dir=/etc/php.d
94+
--with-config-file-scan-dir=/etc/php.d \
95+
${{ inputs.configurationParameters }}
96+
8597
gmake -j2
8698
mkdir /etc/php.d
8799
gmake install > /dev/null
@@ -101,5 +113,8 @@ runs:
101113
--offline \
102114
--show-diff \
103115
--show-slow 1000 \
104-
--set-timeout 120 \
105-
-d zend_extension=opcache.so
116+
--set-timeout 120
117+
118+
if test "${{ inputs.runExtraTests }}" = "true"; then
119+
sapi/cli/php run-extra-tests.php
120+
fi

0 commit comments

Comments
 (0)