Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
472 commits
Select commit Hold shift + click to select a range
2b10cd1
Deprecate mhash constants
cmb69 Oct 24, 2024
836bd22
run-tests.php: fix wrong comment
staabm Nov 1, 2024
cda67fb
run-tests: drop hrtime() polyfill (#16677)
staabm Nov 2, 2024
cf5ded9
run-tests: removed unused code (#16675)
staabm Nov 2, 2024
ca5fd05
ext/posix: adding POSIX_SC_OPEN_MAX constant.
devnexen Nov 2, 2024
9afc66f
Fix ICU version specific skip reasons of intl tests (GH-16661)
cmb69 Nov 2, 2024
fe02fd5
ext/gmp: Add behavioural tests for operator overloading
Girgias Sep 23, 2024
5253647
ext/gmp: Fix segfault when null is encountered on an overloaded operator
Girgias Sep 23, 2024
65d4234
Merge branch 'PHP-8.2' into PHP-8.3
Girgias Nov 2, 2024
9e2367f
Merge branch 'PHP-8.3' into PHP-8.4
Girgias Nov 2, 2024
5d7fe13
Merge branch 'PHP-8.4'
Girgias Nov 2, 2024
f0f666b
Fix GH-16601: Memory leak in Reflection constructors
nielsdos Nov 1, 2024
e643129
Fix GH-16628: FPM logs are getting corrupted with this log statement
nielsdos Nov 2, 2024
16cda10
Merge branch 'PHP-8.2' into PHP-8.3
nielsdos Nov 2, 2024
bfd9e0c
Merge branch 'PHP-8.3' into PHP-8.4
nielsdos Nov 2, 2024
64f2d11
Merge branch 'PHP-8.4'
nielsdos Nov 2, 2024
90aac52
Fix GH-16592 msg_send() crashes when the type does not serialize as e…
devnexen Oct 25, 2024
b28ded4
Merge branch 'PHP-8.2' into PHP-8.3
devnexen Nov 3, 2024
f5b0a9a
Merge branch 'PHP-8.3' into PHP-8.4
devnexen Nov 3, 2024
f37fd7f
Merge branch 'PHP-8.4'
devnexen Nov 3, 2024
e72854e
[skip ci] Fix nightly workflow dispatch
iluuu1994 Oct 31, 2024
2985de7
[skip ci] Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Nov 4, 2024
5852c89
[skip ci] Merge branch 'PHP-8.2' into PHP-8.3
iluuu1994 Nov 4, 2024
ea39a89
[skip ci] Merge branch 'PHP-8.3' into PHP-8.4
iluuu1994 Nov 4, 2024
fa15ac5
[skip ci] Merge branch 'PHP-8.4'
iluuu1994 Nov 4, 2024
2bdce61
Fix array going away during sorting
iluuu1994 Oct 31, 2024
f033cf7
Merge branch 'PHP-8.2' into PHP-8.3
iluuu1994 Nov 4, 2024
230defc
Merge branch 'PHP-8.3' into PHP-8.4
iluuu1994 Nov 4, 2024
d82fa6a
Merge branch 'PHP-8.4'
iluuu1994 Nov 4, 2024
ecb87ca
Mark new zend_array_sort_ex() as ZEND_API
iluuu1994 Nov 4, 2024
4b9e59b
[skip ci] Use bool for zend_array_sort()
iluuu1994 Nov 4, 2024
845cdbc
Postpone zend_array_sort() in ext-intl
iluuu1994 Nov 4, 2024
7456842
Merge branch 'PHP-8.2' into PHP-8.3
iluuu1994 Nov 4, 2024
085c151
Merge branch 'PHP-8.3' into PHP-8.4
iluuu1994 Nov 4, 2024
dbcdd4e
Merge branch 'PHP-8.4'
iluuu1994 Nov 4, 2024
0ad6e4e
[skip ci] Document --repeat flag as internal (GH-16698)
iluuu1994 Nov 4, 2024
8910ac8
Fix use-after-free in ArrayObject::unset() with destructor
iluuu1994 Oct 30, 2024
f7222bd
Also fix same issue in ArrayObject::exchangeArray()
iluuu1994 Oct 30, 2024
418f820
Add NEWS entry
iluuu1994 Nov 4, 2024
dca438e
Merge branch 'PHP-8.2' into PHP-8.3
iluuu1994 Nov 4, 2024
66ad4ce
Merge branch 'PHP-8.3' into PHP-8.4
iluuu1994 Nov 4, 2024
0ce151b
Merge branch 'PHP-8.4'
iluuu1994 Nov 4, 2024
5ddb756
Fix various memory leaks on error conditions in openssl_x509_parse()
nielsdos Nov 3, 2024
673e8d1
Merge branch 'PHP-8.2' into PHP-8.3
nielsdos Nov 4, 2024
faef0df
Merge branch 'PHP-8.3' into PHP-8.4
nielsdos Nov 4, 2024
cc39bc2
Fix GH-16590: UAF in session_encode()
nielsdos Oct 29, 2024
173bdb2
Merge branch 'PHP-8.4'
nielsdos Nov 4, 2024
2fe7719
Added early return case when result is 0 (#16697)
SakiTakamachi Nov 4, 2024
fd1dff9
Fixed a bug where size_t underflows (#16696)
SakiTakamachi Nov 4, 2024
f464298
Merge branch 'PHP-8.4'
SakiTakamachi Nov 4, 2024
a5f1378
Fix GH-16314 "Pdo\Mysql object is uninitialized" when opening a persi…
kocsismate Nov 5, 2024
a47d823
Merge branch 'PHP-8.4'
kocsismate Nov 5, 2024
a94ead4
[ci skip] Update NEWS for PHP 8.4.0RC4
NattyNarwhal Nov 5, 2024
56381e8
Update IR
dstogov Nov 5, 2024
e3756c6
Merge branch 'PHP-8.4'
dstogov Nov 5, 2024
9c79ca7
PHP-8.3 is now for PHP-8.3.15-dev
ericmann Nov 5, 2024
f2602f3
Merge branch 'PHP-8.3'
ericmann Nov 5, 2024
8d30ed4
Fix compiler warning in zend_test
arnaud-lb Oct 30, 2024
06b99c0
Merge branch 'PHP-8.4'
iluuu1994 Nov 5, 2024
f589579
PHP-8.2 is now for PHP 8.2.27-dev
adoy Nov 5, 2024
cf2dc97
Merge branch 'PHP-8.2' into PHP-8.3
adoy Nov 5, 2024
815a4a8
Merge branch 'PHP-8.3' into PHP-8.4
adoy Nov 5, 2024
24a4cb2
Merge branch 'PHP-8.4'
adoy Nov 5, 2024
3f1ea1b
Fix test with shared zend_test (#16705)
nielsdos Nov 5, 2024
9a255b3
Merge branch 'PHP-8.2' into PHP-8.3
nielsdos Nov 5, 2024
2f5021b
Merge branch 'PHP-8.3' into PHP-8.4
nielsdos Nov 5, 2024
228c271
Merge branch 'PHP-8.4'
nielsdos Nov 5, 2024
4d14325
Added gc_handler to properly handle circular references. (#16703)
SakiTakamachi Nov 5, 2024
ca27e40
Merge branch 'PHP-8.2' into PHP-8.3
SakiTakamachi Nov 6, 2024
a800a03
Merge branch 'PHP-8.3' into PHP-8.4
SakiTakamachi Nov 6, 2024
7421853
Merge branch 'PHP-8.4'
SakiTakamachi Nov 6, 2024
5faef8e
Fixed the test because libmysql results type is string. (#16709)
SakiTakamachi Nov 6, 2024
91eda57
Merge branch 'PHP-8.4'
SakiTakamachi Nov 6, 2024
fde053b
Fix GH-16235 jdtogregorian overflow
devnexen Oct 5, 2024
d59b07f
Merge branch 'PHP-8.2' into PHP-8.3
devnexen Nov 6, 2024
a0c7550
Merge branch 'PHP-8.3' into PHP-8.4
devnexen Nov 6, 2024
3942972
Merge branch 'PHP-8.4'
devnexen Nov 6, 2024
6366da4
Use unsigned int for the reference count APIs in ext/libxml (#16706)
nielsdos Nov 6, 2024
bc4fa01
Get rid of reserved name usage in ext/libxml (#16707)
nielsdos Nov 6, 2024
96d1cd0
Fix GH-16665: \array and \callable should not be usable
nielsdos Nov 2, 2024
d276ea5
Skip tests if ldap_set_rebind_proc() is not available
cmb69 Nov 6, 2024
fb6d500
Merge branch 'PHP-8.2' into PHP-8.3
cmb69 Nov 7, 2024
6b754d9
Merge branch 'PHP-8.3' into PHP-8.4
cmb69 Nov 7, 2024
59fe79f
Merge branch 'PHP-8.4'
cmb69 Nov 7, 2024
5c76ef7
Fix GH-10992: Improper long path support for relative paths
cmb69 Nov 4, 2024
452c5ac
Fix incorrect filename of dl()'d internal consts (#16721)
iluuu1994 Nov 7, 2024
8a71200
ext/standard/tests/strings/crypt_sha256.phpt: fix on musl
orlitzky Nov 4, 2024
f5d2e7b
ext/standard/tests/crypt/des_fallback_invalid_salt.phpt: less valid salt
orlitzky Nov 4, 2024
4dc0b40
ext/standard/crypt.c: handle musl failure tokens
orlitzky Nov 4, 2024
40997c2
[ci skip] NEWS for GH-16702
arnaud-lb Nov 7, 2024
fb257ee
Upgrade master to Ubuntu 24.04 (GH-16704)
iluuu1994 Nov 7, 2024
93c9c7c
[skip ci] Update to ubuntu 24.04 for asan in nightly
iluuu1994 Nov 7, 2024
e74e66e
Fix oss-fuzz report triggered by GH-15712 commit.
devnexen Sep 16, 2024
3f28644
Merge branch 'PHP-8.2' into PHP-8.3
devnexen Nov 7, 2024
7477c1b
Merge branch 'PHP-8.3' into PHP-8.4
devnexen Nov 7, 2024
600da8c
Merge branch 'PHP-8.4'
devnexen Nov 7, 2024
03eeec1
Fix rename_variation12*.phpt parallel test conflicts
cmb69 Aug 21, 2024
5f5d2c0
Merge branch 'PHP-8.2' into PHP-8.3
cmb69 Nov 7, 2024
e68970d
Merge branch 'PHP-8.3' into PHP-8.4
cmb69 Nov 7, 2024
c1bf3ac
Merge branch 'PHP-8.4'
cmb69 Nov 7, 2024
d8a63a3
ext/standard: Move sort() related tests into subfolder
Girgias Nov 6, 2024
f011684
ext/standard: Split sort tests that contain escape sequences
Girgias Nov 6, 2024
f3b150a
ext/standard: Move array_walk(_recursive)() tests into subfolder
Girgias Nov 6, 2024
875a9dc
Fix introduced leaks from GH-15715.
devnexen Nov 8, 2024
61b4e67
Merge branch 'PHP-8.2' into PHP-8.3
devnexen Nov 8, 2024
5252e8b
Merge branch 'PHP-8.3' into PHP-8.4
devnexen Nov 8, 2024
9216436
Merge branch 'PHP-8.4'
devnexen Nov 8, 2024
3b609ab
[skip ci] Fix asan ubuntu image condition in nightly
iluuu1994 Nov 8, 2024
065bde1
Fix GH-16432: PHP-FPM 8.2 SIGSEGV in fpm_get_status
bukka Oct 23, 2024
af8ebb1
Merge branch 'PHP-8.2' into PHP-8.3
bukka Nov 8, 2024
49bc011
Merge branch 'PHP-8.3' into PHP-8.4
bukka Nov 8, 2024
84400ee
Merge branch 'PHP-8.4'
bukka Nov 8, 2024
27b4df4
Fix 8.4 NEWS file
bukka Nov 8, 2024
efcd720
Merge branch 'PHP-8.4'
bukka Nov 8, 2024
7bbf2ea
[skip ci] Fix array_any() and array_all() descriptions
FraOre Nov 8, 2024
f3203f3
Merge branch 'PHP-8.4'
cmb69 Nov 8, 2024
6e6373a
[skip ci] Fix typo in test name
cmb69 Nov 8, 2024
e5654b7
Merge branch 'PHP-8.4'
cmb69 Nov 8, 2024
73c4fa0
ext/soap: fix `make check` being invoked in `ext/soap`
Ma27 Nov 8, 2024
a85a5ef
Merge branch 'PHP-8.3' into PHP-8.4
nielsdos Nov 8, 2024
963511b
Merge branch 'PHP-8.4'
nielsdos Nov 8, 2024
a3b27c0
Add Dom\Element::insertAdjacentHTML() (#16614)
nielsdos Nov 9, 2024
ac8d0e5
Prevent unexpected array entry conversion when reading key
nielsdos Nov 3, 2024
2f4f09f
Fix various memory leaks related to openssl exports
nielsdos Nov 3, 2024
994e866
Fix memory leak in php_openssl_pkey_from_zval()
nielsdos Nov 3, 2024
591fe92
Merge branch 'PHP-8.2' into PHP-8.3
nielsdos Nov 9, 2024
fd68e9b
Merge branch 'PHP-8.3' into PHP-8.4
nielsdos Nov 9, 2024
f8f9ac8
Merge branch 'PHP-8.4'
nielsdos Nov 9, 2024
10f1f92
Add `ReflectionConstant::getExtension()` and `::getExtensionName()` (…
DanielEScherzer Nov 9, 2024
56bd057
[ci skip] NEWS for ReflectionConstant additions
nielsdos Nov 9, 2024
80dd5a0
Fix wrong merge
nielsdos Nov 9, 2024
ef1e186
Merge branch 'PHP-8.3' into PHP-8.4
nielsdos Nov 9, 2024
cc54e66
Merge branch 'PHP-8.4'
nielsdos Nov 9, 2024
3a1a205
Fix GH-16723: CURLMOPT_PUSHFUNCTION issues
cmb69 Nov 8, 2024
9ebbe1e
Merge branch 'PHP-8.4'
cmb69 Nov 9, 2024
c075546
Fail early in *nix configuration build script
hakre Nov 7, 2024
11da498
Merge branch 'PHP-8.2' into PHP-8.3
cmb69 Nov 9, 2024
257387b
Merge branch 'PHP-8.3' into PHP-8.4
cmb69 Nov 9, 2024
f603d9c
Merge branch 'PHP-8.4'
cmb69 Nov 9, 2024
329890c
Fail early in *nix build script
hakre Nov 7, 2024
07d4c54
Merge branch 'PHP-8.4'
cmb69 Nov 9, 2024
54003ae
Fix description of `ReflectionParameter::getPosition()` (GH-16738)
DanielEScherzer Nov 9, 2024
89e750a
Fix macOS CI
nielsdos Nov 9, 2024
72c0222
Fix GH-16695: phar:// tar parser and zero-length file header blocks
nielsdos Nov 4, 2024
58f4b45
Merge branch 'PHP-8.2' into PHP-8.3
nielsdos Nov 9, 2024
c6d7d07
Merge branch 'PHP-8.3' into PHP-8.4
nielsdos Nov 9, 2024
37d53d5
Merge branch 'PHP-8.4'
nielsdos Nov 9, 2024
d87f3ff
[ci skip] Add credit for test
nielsdos Nov 9, 2024
f97353f
Merge branch 'PHP-8.2' into PHP-8.3
nielsdos Nov 9, 2024
896eb80
Merge branch 'PHP-8.3' into PHP-8.4
nielsdos Nov 9, 2024
4e21e80
Merge branch 'PHP-8.4'
nielsdos Nov 9, 2024
62e53e6
Inline and remove `reflection_instantiate()` (#16739)
DanielEScherzer Nov 9, 2024
41347f0
[skip ci] Fix MYSQLND_HAVE_SSL preprocessor help texts
petk Oct 17, 2024
067ac63
Merge branch 'PHP-8.4'
cmb69 Nov 10, 2024
fc8f30d
ext/hash: Add failing tests for GH-16711
Girgias Nov 6, 2024
1b379f5
ext/hash: Fix GH-16711: Segfault in mhash()
Girgias Nov 6, 2024
f01bafc
Merge branch 'PHP-8.2' into PHP-8.3
Girgias Nov 10, 2024
c1d67c2
Merge branch 'PHP-8.3' into PHP-8.4
Girgias Nov 10, 2024
4643148
Merge branch 'PHP-8.4'
Girgias Nov 10, 2024
883d3c8
ext/hash: Fix deprecation message output for new tests
Girgias Nov 10, 2024
b48fdcb
Merge branch 'PHP-8.4'
Girgias Nov 10, 2024
23b8d64
Zend: Minor refactorings to zend_exceptions() (#16684)
Girgias Nov 10, 2024
53df3ae
ext/curl: Use Z_ARRVAL_P instead of HASH_OF
Girgias Nov 10, 2024
e789183
ext/standard: Sync parameter names for fpow() to be identical to pow()
Girgias Nov 11, 2024
573ad05
Merge branch 'PHP-8.4'
Girgias Nov 11, 2024
7ba9788
ext/intl: Refactor internal callable handling for UConverter (#16749)
Girgias Nov 11, 2024
2684a5e
ext/phar: Fix test that is only run when ext/openssl is not built
Girgias Nov 10, 2024
234219d
ext/phar: Refactor phar_call_openssl_signverify()
Girgias Nov 10, 2024
02ee521
Fix GH-16727: Opcache bad signal 139 crash in ZTS bookworm (frankenphp)
nielsdos Nov 10, 2024
fbf4cec
Merge branch 'PHP-8.2' into PHP-8.3
nielsdos Nov 11, 2024
382be92
Merge branch 'PHP-8.3' into PHP-8.4
nielsdos Nov 11, 2024
dfba04e
Merge branch 'PHP-8.4'
nielsdos Nov 11, 2024
cec9a98
Clean up ODBC header (#16754)
NattyNarwhal Nov 11, 2024
7f5a888
Change dom_node_is_read_only() to return bool (#16757)
nielsdos Nov 11, 2024
b106fea
Improve zend_jit_may_be_modified() check (#16760)
dstogov Nov 12, 2024
a8151fc
Fix the name of the initializer parameter of ReflectionClass::resetAs…
arnaud-lb Oct 30, 2024
a087442
Merge branch 'PHP-8.4'
arnaud-lb Nov 12, 2024
7202d11
Fix parameter list generation in build/gen_stub.php (#16764)
nielsdos Nov 12, 2024
33ba1a4
ext/sockets: adding IPPROTO_ICMP* constants for socket creations.
devnexen Nov 9, 2024
3b115e6
Fix zend_jit_class_may_be_modified() fon non linked classes
dstogov Nov 13, 2024
19809a5
Fix incorrect handling of ZEND_ACC_FINAL flag in JIT (#16778)
dstogov Nov 13, 2024
b9c6f07
Merge branch 'PHP-8.2' into PHP-8.3
dstogov Nov 13, 2024
f6256fa
Merge branch 'PHP-8.3' into PHP-8.4
dstogov Nov 13, 2024
7b029a3
Merge branch 'PHP-8.4'
dstogov Nov 13, 2024
b8115d6
Fix GH-16769: php_pcntl_set_user_signal_infos aborts when a signal is…
devnexen Nov 13, 2024
53e5c09
Merge branch 'PHP-8.4'
devnexen Nov 13, 2024
4124b04
Fix GH-16771: imagecreatefromstring overflow on invalid format.
devnexen Nov 13, 2024
6f1d836
Merge branch 'PHP-8.2' into PHP-8.3
devnexen Nov 13, 2024
ec05cd5
Merge branch 'PHP-8.3' into PHP-8.4
devnexen Nov 13, 2024
b948332
Merge branch 'PHP-8.4'
devnexen Nov 13, 2024
28344e0
Get rid of HASH_OF() in ext/dom (#16767)
nielsdos Nov 13, 2024
9196a72
Patch libcurl.pc for macOS builds
cmb69 Nov 13, 2024
45487c6
Merge branch 'PHP-8.1' into PHP-8.2
cmb69 Nov 13, 2024
4c74487
Merge branch 'PHP-8.2' into PHP-8.3
cmb69 Nov 13, 2024
3d07b9e
Merge branch 'PHP-8.3' into PHP-8.4
cmb69 Nov 13, 2024
fa3421c
Merge branch 'PHP-8.4'
cmb69 Nov 13, 2024
d6249b6
Need to define BREW_OPT
cmb69 Nov 13, 2024
c69fdef
Merge branch 'PHP-8.1' into PHP-8.2
cmb69 Nov 13, 2024
d1f86bc
Merge branch 'PHP-8.2' into PHP-8.3
cmb69 Nov 13, 2024
f2dbad6
Merge branch 'PHP-8.3' into PHP-8.4
cmb69 Nov 13, 2024
0db7e53
Merge branch 'PHP-8.4'
cmb69 Nov 13, 2024
3815a77
Close GH-16659: Bump ICU requirement to ICU >= 57.1
cmb69 Nov 3, 2024
d4103b3
Remove superfluous determination of cURL version (GH-16787)
cmb69 Nov 14, 2024
2d1c382
Simplify WBMP imagecreatefromstring() detection (GH-16782)
cmb69 Nov 14, 2024
efe4fc9
UPGRADING: Fix `CURLOPT_TCP_KEEPCNT` entry
Ayesh Nov 14, 2024
ec3de14
Fix i386 release build warning
iluuu1994 Nov 8, 2024
9ca19e9
[skip ci] Merge branch 'PHP-8.4'
iluuu1994 Nov 14, 2024
f0b4847
Merge branch 'PHP-8.4'
iluuu1994 Nov 14, 2024
cbb3b93
Fix GH-16770: Tracing JIT type mismatch when returning UNDEF
nielsdos Nov 13, 2024
0bf74bf
Merge branch 'PHP-8.2' into PHP-8.3
nielsdos Nov 14, 2024
4767c06
Merge branch 'PHP-8.3' into PHP-8.4
nielsdos Nov 14, 2024
3f4bcd8
Merge branch 'PHP-8.4'
nielsdos Nov 14, 2024
9128fb8
Stick with icu4c 74.2 on macOS CI for PHP-8.1
cmb69 Nov 13, 2024
3abb031
Merge branch 'PHP-8.1' into PHP-8.2
cmb69 Nov 15, 2024
925917f
Merge branch 'PHP-8.2' into PHP-8.3
cmb69 Nov 15, 2024
0ed855a
Merge branch 'PHP-8.3' into PHP-8.4
cmb69 Nov 15, 2024
1922f41
Merge branch 'PHP-8.4'
cmb69 Nov 15, 2024
b8ba6f6
Fix GH-16812: UAF on readline_info() after readline_write_history() c…
devnexen Nov 15, 2024
4f76bab
Merge branch 'PHP-8.4'
devnexen Nov 15, 2024
85e23db
Update FreeBSD CI
cmb69 Nov 15, 2024
fe1925a
Merge branch 'PHP-8.1' into PHP-8.2
cmb69 Nov 15, 2024
a570e09
Merge branch 'PHP-8.2' into PHP-8.3
cmb69 Nov 15, 2024
fb5fa4a
Merge branch 'PHP-8.3' into PHP-8.4
cmb69 Nov 15, 2024
23d390e
Merge branch 'PHP-8.4'
cmb69 Nov 15, 2024
f725f50
Adapt ext/intl tests for ICU 75.1 and 76.1
cmb69 Nov 14, 2024
716b03d
Merge branch 'PHP-8.2' into PHP-8.3
cmb69 Nov 15, 2024
54ae770
Merge branch 'PHP-8.3' into PHP-8.4
cmb69 Nov 15, 2024
b7165f5
Merge branch 'PHP-8.4'
cmb69 Nov 15, 2024
553d79c
Fix GH-16799: Assertion failure at Zend/zend_vm_execute.h:7469
nielsdos Nov 14, 2024
ed59c00
Merge branch 'PHP-8.2' into PHP-8.3
nielsdos Nov 15, 2024
4a5854e
Merge branch 'PHP-8.3' into PHP-8.4
nielsdos Nov 15, 2024
4c88bfb
Merge branch 'PHP-8.4'
nielsdos Nov 15, 2024
6a55bee
Fix test expectation for different closure name in 8.4
nielsdos Nov 15, 2024
a0983a0
Merge branch 'PHP-8.4'
nielsdos Nov 15, 2024
179ca2b
Fix GH-16802: open_basedir bypass using curl extension
nielsdos Nov 14, 2024
1b803bc
Merge branch 'PHP-8.3' into PHP-8.4
nielsdos Nov 15, 2024
2c532cf
Merge branch 'PHP-8.4'
nielsdos Nov 15, 2024
0de8e40
Drop bogus ext/libxml dependency on ext/iconv (GH-16801)
cmb69 Nov 15, 2024
fbb0061
Fix GH-16808: Segmentation fault in RecursiveIteratorIterator->curren…
nielsdos Nov 15, 2024
2ba1859
Merge branch 'PHP-8.2' into PHP-8.3
nielsdos Nov 16, 2024
18b18f0
Fix GH-16777: Calling the constructor again on a DOM object after it …
nielsdos Nov 15, 2024
d3fada3
Merge branch 'PHP-8.3' into PHP-8.4
nielsdos Nov 16, 2024
cfc8361
Merge branch 'PHP-8.4'
nielsdos Nov 16, 2024
5e360b6
ext/pdo_pgsql: Remove new PDO class constant specific to PGSQL driver
Girgias Nov 11, 2024
27a1d69
Merge branch 'PHP-8.4'
Girgias Nov 16, 2024
80894d8
Fix GH-16834: cal_from_jd overflow on julian_day argument.
devnexen Nov 17, 2024
3fd0e4c
Merge branch 'PHP-8.2' into PHP-8.3
devnexen Nov 17, 2024
f7a508c
Merge branch 'PHP-8.3' into PHP-8.4
devnexen Nov 17, 2024
5c6f18b
Merge branch 'PHP-8.4'
devnexen Nov 17, 2024
b112d27
[ci skip] Update last check date for compareDocumentPosition()
nielsdos Nov 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
/ext/random @TimWolla @zeriyoshi
/ext/session @Girgias
/ext/simplexml @nielsdos
/ext/soap @nielsdos
/ext/sockets @devnexen
/ext/spl @Girgias
/ext/standard @bukka
Expand Down
2 changes: 0 additions & 2 deletions .github/actions/apt-x32/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,11 @@ runs:
libsodium-dev:i386 \
libsqlite3-dev:i386 \
libssl-dev:i386 \
libtidy-dev:i386 \
libwebp-dev:i386 \
libxml2-dev:i386 \
libxml2-dev:i386 \
libxpm-dev:i386 \
libxslt1-dev:i386 \
libzip-dev:i386 \
locales \
make \
pkg-config:i386 \
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/brew/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ runs:

# Some packages exist on x86 but not arm, or vice versa.
# Install them with reinstall to avoid warnings.
brew reinstall autoconf webp tidy-html5 libzip libsodium icu4c
brew reinstall autoconf webp tidy-html5 libzip libsodium icu4c curl
brew install \
bison \
re2c
Expand Down
1 change: 1 addition & 0 deletions .github/actions/configure-macos/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ runs:
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/libxslt/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/zlib/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/icu4c/lib/pkgconfig"
sed -i -e 's/Requires.private:.*//g' "$BREW_OPT/curl/lib/pkgconfig/libcurl.pc"
./buildconf --force
./configure \
--enable-option-checking=fatal \
Expand Down
3 changes: 1 addition & 2 deletions .github/actions/configure-x32/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ runs:
run: |
set -x

export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/lib/i386-linux-gnu/pkgconfig"
./buildconf --force
export CFLAGS="-m32 -msse2"
export CXXFLAGS="-m32 -msse2"
Expand All @@ -33,12 +34,10 @@ runs:
--with-freetype \
--with-xpm \
--enable-exif \
--with-zip \
--with-zlib \
--enable-soap \
--enable-xmlreader \
--with-xsl \
--with-tidy \
--enable-sysvsem \
--enable-sysvshm \
--enable-shmop \
Expand Down
138 changes: 13 additions & 125 deletions .github/nightly_matrix.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

const BRANCHES = [
['name' => 'master', 'ref' => 'master', 'version' => ['major' => 8, 'minor' => 5]],
['name' => 'PHP-8.4', 'ref' => 'PHP-8.4', 'version' => ['major' => 8, 'minor' => 4]],
['name' => 'PHP-8.3', 'ref' => 'PHP-8.3', 'version' => ['major' => 8, 'minor' => 3]],
['name' => 'PHP-8.2', 'ref' => 'PHP-8.2', 'version' => ['major' => 8, 'minor' => 2]],
['name' => 'PHP-8.1', 'ref' => 'PHP-8.1', 'version' => ['major' => 8, 'minor' => 1]],
['ref' => 'master', 'version' => [8, 5]],
['ref' => 'PHP-8.4', 'version' => [8, 4]],
['ref' => 'PHP-8.3', 'version' => [8, 3]],
['ref' => 'PHP-8.2', 'version' => [8, 2]],
['ref' => 'PHP-8.1', 'version' => [8, 1]],
];

function get_branch_commit_cache_file_path(): string {
Expand Down Expand Up @@ -36,142 +36,30 @@ function get_branches() {
return $changed_branches;
}

function get_matrix_include(array $branches) {
$jobs = [];
foreach ($branches as $branch) {
$jobs[] = [
'name' => '_ASAN_UBSAN',
'branch' => $branch,
'debug' => true,
'zts' => true,
'configuration_parameters' => "CFLAGS='-fsanitize=undefined,address -DZEND_TRACK_ARENA_ALLOC' LDFLAGS='-fsanitize=undefined,address'",
'run_tests_parameters' => '--asan',
'test_function_jit' => false,
'asan' => true,
];
$jobs[] = [
'name' => '_REPEAT',
'branch' => $branch,
'debug' => true,
'zts' => false,
'run_tests_parameters' => '--repeat 2',
'timeout_minutes' => 360,
'test_function_jit' => true,
'asan' => false,
];
$jobs[] = [
'name' => '_VARIATION',
'branch' => $branch,
'debug' => true,
'zts' => true,
'configuration_parameters' => "CFLAGS='-DZEND_RC_DEBUG=1 -DPROFITABILITY_CHECKS=0 -DZEND_VERIFY_FUNC_INFO=1 -DZEND_VERIFY_TYPE_INFERENCE'",
'run_tests_parameters' => '-d zend_test.observer.enabled=1 -d zend_test.observer.show_output=0',
'timeout_minutes' => 360,
'test_function_jit' => true,
'asan' => false,
];
}
return $jobs;
}

function get_windows_matrix_include(array $branches) {
$jobs = [];
foreach ($branches as $branch) {
$jobs[] = [
'branch' => $branch,
'x64' => true,
'zts' => true,
'opcache' => true,
];
$jobs[] = [
'branch' => $branch,
'x64' => false,
'zts' => false,
'opcache' => false,
];
}
return $jobs;
}

function get_macos_matrix_include(array $branches) {
$jobs = [];
foreach ($branches as $branch) {
foreach([true, false] as $debug) {
foreach([true, false] as $zts) {
$jobs[] = [
'branch' => $branch,
'debug' => $debug,
'zts' => $zts,
'os' => in_array($branch['name'], ['master', 'PHP-8.4'], true) ? '13' : '12',
'arch' => 'X64',
'test_jit' => true,
];
if ($branch['version']['minor'] >= 4 || $branch['version']['major'] >= 9) {
$jobs[] = [
'branch' => $branch,
'debug' => $debug,
'zts' => $zts,
'os' => '14',
'arch' => 'ARM64',
'test_jit' => !$zts,
];
}
}
}
}
return $jobs;
}

function get_alpine_matrix_include(array $branches) {
$jobs = [];
foreach ($branches as $branch) {
if ([$branch['version']['major'], $branch['version']['minor']] < [8, 4]) {
continue;
}
$jobs[] = [
'name' => '_ASAN_UBSAN',
'branch' => $branch,
'debug' => true,
'zts' => true,
'asan' => true,
'test_jit' => true,
'configuration_parameters' => "CFLAGS='-fsanitize=undefined,address -fno-sanitize=function -DZEND_TRACK_ARENA_ALLOC' LDFLAGS='-fsanitize=undefined,address -fno-sanitize=function' CC=clang-17 CXX=clang++-17",
'run_tests_parameters' => '--asan -x',
];
}
return $jobs;
}

function get_current_version(): array {
$file = dirname(__DIR__) . '/main/php_version.h';
$content = file_get_contents($file);
preg_match('(^#define PHP_MAJOR_VERSION (?<num>\d+)$)m', $content, $matches);
$major = $matches['num'];
$major = (int) $matches['num'];
preg_match('(^#define PHP_MINOR_VERSION (?<num>\d+)$)m', $content, $matches);
$minor = $matches['num'];
return ['major' => $major, 'minor' => $minor];
$minor = (int) $matches['num'];
return [$major, $minor];
}

$trigger = $argv[1] ?? 'schedule';
$attempt = (int) ($argv[2] ?? 1);
$discard_cache = ($trigger === 'schedule' && $attempt !== 1) || $trigger === 'workflow_dispatch';
$monday = date('w', time()) === '1';
$discard_cache = $monday
|| ($trigger === 'schedule' && $attempt !== 1)
|| $trigger === 'workflow_dispatch';
if ($discard_cache) {
@unlink(get_branch_commit_cache_file_path());
}
$branch = $argv[3] ?? 'master';

$branches = $branch === 'master'
? get_branches()
: [['name' => strtoupper($branch), 'ref' => $branch, 'version' => get_current_version()]];
$matrix_include = get_matrix_include($branches);
$windows_matrix_include = get_windows_matrix_include($branches);
$macos_matrix_include = get_macos_matrix_include($branches);
$alpine_matrix_include = get_alpine_matrix_include($branches);
: [['ref' => $branch, 'version' => get_current_version()]];

$f = fopen(getenv('GITHUB_OUTPUT'), 'a');
fwrite($f, 'branches=' . json_encode($branches, JSON_UNESCAPED_SLASHES) . "\n");
fwrite($f, 'matrix-include=' . json_encode($matrix_include, JSON_UNESCAPED_SLASHES) . "\n");
fwrite($f, 'windows-matrix-include=' . json_encode($windows_matrix_include, JSON_UNESCAPED_SLASHES) . "\n");
fwrite($f, 'macos-matrix-include=' . json_encode($macos_matrix_include, JSON_UNESCAPED_SLASHES) . "\n");
fwrite($f, 'alpine-matrix-include=' . json_encode($alpine_matrix_include, JSON_UNESCAPED_SLASHES) . "\n");
fclose($f);
Loading