Skip to content

Commit 93be950

Browse files
author
Sara
authored
Merge branch 'master' into JITTED_Duplication
2 parents da96e5f + 05c46b7 commit 93be950

File tree

2,344 files changed

+89893
-53753
lines changed

Some content is hidden

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

2,344 files changed

+89893
-53753
lines changed

.appveyor.yml

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

.cirrus.yml

Lines changed: 7 additions & 181 deletions
Original file line numberDiff line numberDiff line change
@@ -1,186 +1,6 @@
11
env:
22
CIRRUS_CLONE_DEPTH: 1
33

4-
asan_task:
5-
name: ASAN_DEBUG_NTS
6-
container:
7-
image: gcc:latest
8-
additional_containers:
9-
- name: mysql
10-
image: mysql:8
11-
port: 3306
12-
cpu: 1.0
13-
memory: 1G
14-
env:
15-
MYSQL_ROOT_PASSWORD: "root"
16-
MYSQL_DATABASE: "test"
17-
install_script:
18-
- apt-get update -y
19-
- >-
20-
apt-get install -y
21-
bison
22-
re2c
23-
locales
24-
locales-all
25-
`#ldap-utils`
26-
openssl
27-
`slapd`
28-
libgmp-dev
29-
libicu-dev
30-
`#libtidy-dev`
31-
`#libenchant-dev`
32-
libaspell-dev
33-
libpspell-dev
34-
libsasl2-dev
35-
libxpm-dev
36-
libzip-dev
37-
`#libsqlite3-dev`
38-
libwebp-dev
39-
libonig-dev
40-
libkrb5-dev
41-
libgssapi-krb5-2
42-
libcurl4-openssl-dev
43-
libxml2-dev
44-
libxslt1-dev
45-
libpq-dev
46-
libreadline-dev
47-
`#libldap2-dev`
48-
libsodium-dev
49-
libargon2-0-dev
50-
libmm-dev
51-
`#libsnmp-dev`
52-
`#postgresql`
53-
`#postgresql-contrib`
54-
`#snmpd`
55-
`#snmp-mibs-downloader`
56-
`#freetds-dev`
57-
`#unixodbc-dev`
58-
llvm
59-
clang
60-
libc-client-dev
61-
dovecot-core
62-
dovecot-pop3d
63-
dovecot-imapd
64-
`#sendmail`
65-
`#firebird-dev`
66-
liblmdb-dev
67-
libtokyocabinet-dev
68-
libdb-dev
69-
libqdbm-dev
70-
libjpeg-dev
71-
libpng-dev
72-
libfreetype6-dev
73-
build_script:
74-
- ./buildconf -f
75-
- >-
76-
./configure
77-
--enable-debug
78-
--enable-zts
79-
--enable-option-checking=fatal
80-
--prefix=/usr
81-
--enable-phpdbg
82-
--enable-fpm
83-
--enable-opcache
84-
--disable-opcache-jit
85-
--with-pdo-mysql=mysqlnd
86-
--with-mysqli=mysqlnd
87-
`#--with-pgsql`
88-
`#--with-pdo-pgsql`
89-
`#--with-pdo-sqlite`
90-
--enable-intl
91-
--without-pear
92-
--enable-gd
93-
--with-jpeg
94-
--with-webp
95-
--with-freetype
96-
--with-xpm
97-
--enable-exif
98-
--with-zip
99-
--with-zlib
100-
--with-zlib-dir=/usr
101-
--enable-soap
102-
--enable-xmlreader
103-
--with-xsl
104-
`#--with-tidy`
105-
--enable-sysvsem
106-
--enable-sysvshm
107-
--enable-shmop
108-
--enable-pcntl
109-
--with-readline
110-
--enable-mbstring
111-
--with-curl
112-
--with-gettext
113-
--enable-sockets
114-
--with-bz2
115-
--with-openssl
116-
--with-gmp
117-
--enable-bcmath
118-
--enable-calendar
119-
--enable-ftp
120-
--with-pspell=/usr
121-
`#--with-enchant=/usr`
122-
--with-kerberos
123-
--enable-sysvmsg
124-
--with-ffi
125-
--enable-zend-test
126-
`#--enable-dl-test=shared`
127-
`#--with-ldap`
128-
`#--with-ldap-sasl`
129-
--with-password-argon2
130-
--with-mhash
131-
--with-sodium
132-
--enable-dba
133-
--with-cdb
134-
--enable-flatfile
135-
--enable-inifile
136-
--with-tcadb
137-
--with-lmdb
138-
--with-qdbm
139-
`#--with-snmp`
140-
`#--with-unixODBC`
141-
`#--with-imap`
142-
--with-kerberos
143-
--with-imap-ssl
144-
`#--with-pdo-odbc=unixODBC,/usr`
145-
`#--with-pdo-oci=shared,instantclient,/opt/oracle/instantclient`
146-
`#--with-oci8=shared,instantclient,/opt/oracle/instantclient`
147-
--with-config-file-path=/etc
148-
--with-config-file-scan-dir=/etc/php.d
149-
`#--with-pdo-firebird`
150-
`#--with-pdo-dblib`
151-
--enable-werror
152-
CFLAGS='-fsanitize=undefined,address -DZEND_TRACK_ARENA_ALLOC' LDFLAGS='-fsanitize=undefined,address'
153-
CC=clang
154-
CXX=clang++
155-
- make -j2
156-
- make install
157-
- mkdir -p /etc/php.d
158-
- echo opcache.enable_cli=1 > /etc/php.d/opcache.ini
159-
- echo opcache.protect_memory=1 >> /etc/php.d/opcache.ini
160-
# Specify opcache.preload_user as we're running as root.
161-
- echo opcache.preload_user=root >> /etc/php.d/opcache.ini
162-
tests_script:
163-
- export SKIP_IO_CAPTURE_TESTS=1
164-
- export CI_NO_IPV6=1
165-
- export MYSQL_TEST_HOST=127.0.0.1
166-
- export MYSQL_TEST_USER=root
167-
- export MYSQL_TEST_PASSWD=root
168-
- export PDO_MYSQL_TEST_DSN="mysql:host=127.0.0.1;dbname=test"
169-
- export PDO_MYSQL_TEST_USER=root
170-
- export PDO_MYSQL_TEST_PASS=root
171-
- >-
172-
sapi/cli/php run-tests.php
173-
-P -q -x -j2
174-
-g FAIL,BORK,LEAK,XLEAK
175-
--no-progress
176-
--offline
177-
--show-diff
178-
--show-slow 1000
179-
--set-timeout 120
180-
-d zend_extension=opcache.so
181-
-d opcache.enable_cli=1
182-
--asan
183-
1844
freebsd_task:
1855
name: FREEBSD_DEBUG_NTS
1866
freebsd_instance:
@@ -211,7 +31,7 @@ freebsd_task:
21131
arm_task:
21232
name: ARM_DEBUG_NTS
21333
arm_container:
214-
image: gcc:12
34+
image: debian:12
21535
additional_containers:
21636
- name: mysql
21737
image: mysql:8
@@ -233,6 +53,9 @@ arm_task:
23353
- apt-get update -y
23454
- >-
23555
apt-get install -y
56+
gcc
57+
g++
58+
autoconf
23659
bison
23760
re2c
23861
locales
@@ -249,6 +72,7 @@ arm_task:
24972
libsasl2-dev
25073
libxpm-dev
25174
libzip-dev
75+
libbz2-dev
25276
libsqlite3-dev
25377
libwebp-dev
25478
libonig-dev
@@ -385,6 +209,7 @@ arm_task:
385209
-d opcache.jit=function
386210
-P -q -x -j2
387211
-g FAIL,BORK,LEAK,XLEAK
212+
--no-progress
388213
--offline
389214
--show-diff
390215
--show-slow 1000
@@ -397,6 +222,7 @@ arm_task:
397222
-d opcache.jit=tracing
398223
-P -q -x -j2
399224
-g FAIL,BORK,LEAK,XLEAK
225+
--no-progress
400226
--offline
401227
--show-diff
402228
--show-slow 1000

.gitattributes

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@
1919
*.php diff=php
2020
*.[ch] diff=cpp
2121

22-
# Collapse generated files within a pull request.
23-
**/*_arginfo.h linguist-generated
24-
/Zend/zend_vm_execute.h linguist-generated
25-
/Zend/zend_vm_opcodes.{h,c} linguist-generated
22+
# Collapse generated files within git and pull request diff.
23+
**/*_arginfo.h linguist-generated -diff
24+
/Zend/zend_vm_execute.h linguist-generated -diff
25+
/Zend/zend_vm_handlers.h linguist-generated -diff
26+
/Zend/zend_vm_opcodes.[ch] linguist-generated -diff
2627

2728
# The OSS fuzz files are bunary
2829
/ext/date/tests/ossfuzz*.txt binary

.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/apt-x64/action.yml

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,21 @@ runs:
66
run: |
77
set -x
88
9-
sudo apt-get update
10-
sudo apt-get install \
9+
export DEBIAN_FRONTEND=noninteractive
10+
11+
# Install sudo in Docker for consistent actions
12+
if ! type "sudo" > /dev/null; then
13+
apt-get update -y | true
14+
apt-get install -y sudo
15+
fi
16+
17+
sudo apt-get update -y | true
18+
sudo apt-get install -y \
19+
autoconf \
20+
gcc \
21+
make \
22+
curl \
23+
unzip \
1124
bison \
1225
re2c \
1326
locales \
@@ -20,6 +33,7 @@ runs:
2033
libtidy-dev \
2134
libenchant-2-dev \
2235
libaspell-dev \
36+
libbz2-dev \
2337
libpspell-dev \
2438
libsasl2-dev \
2539
libxpm-dev \
@@ -46,6 +60,7 @@ runs:
4660
freetds-dev \
4761
unixodbc-dev \
4862
llvm \
63+
clang \
4964
libc-client-dev \
5065
dovecot-core \
5166
dovecot-pop3d \
@@ -59,15 +74,3 @@ runs:
5974
libjpeg-dev \
6075
libpng-dev \
6176
libfreetype6-dev
62-
63-
mkdir /opt/oracle
64-
wget -nv https://download.oracle.com/otn_software/linux/instantclient/instantclient-basiclite-linuxx64.zip
65-
unzip instantclient-basiclite-linuxx64.zip && rm instantclient-basiclite-linuxx64.zip
66-
wget -nv https://download.oracle.com/otn_software/linux/instantclient/instantclient-sdk-linuxx64.zip
67-
unzip instantclient-sdk-linuxx64.zip && rm instantclient-sdk-linuxx64.zip
68-
mv instantclient_*_* /opt/oracle/instantclient
69-
# interferes with libldap2 headers
70-
rm /opt/oracle/instantclient/sdk/include/ldap.h
71-
# fix debug build warning: zend_signal: handler was replaced for signal (2) after startup
72-
echo DISABLE_INTERRUPT=on > /opt/oracle/instantclient/network/admin/sqlnet.ora
73-
sudo sh -c 'echo /opt/oracle/instantclient >/etc/ld.so.conf.d/oracle-instantclient.conf && ldconfig'

0 commit comments

Comments
 (0)