Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1084 commits
Select commit Hold shift + click to select a range
17d4002
Check if the macro AC_PROG_CC_C99 actually made the compiler accept C…
Danack Aug 31, 2025
a544fe1
Fix glob() RC info
iluuu1994 Aug 31, 2025
5e9080f
uri: Reject ports overflowing zend_long for uri_parser_rfc3986 (#19644)
TimWolla Aug 31, 2025
ca4a841
Remove include "sanity check" to get better error (#19650)
nikic Aug 31, 2025
cb9af8d
Revert "Remove include "sanity check" to get better error (#19650)"
krakjoe Sep 1, 2025
0b74e59
Fix organization of UPGRADING.INTERNALS (#19635)
TimWolla Sep 1, 2025
95d52d5
Fix JIT stack setup on aarch64/clang
arnaud-lb Aug 29, 2025
0ee7732
Fix opcache.huge_code_pages
arnaud-lb Aug 6, 2025
7d5c8da
Add support for retrieving Exif from HEIF file
benstonezhang Feb 20, 2024
c93b467
zend_ast: Fix Closure scope for FCC in constant expression (#19639)
TimWolla Sep 1, 2025
6194084
Use the default OpenSSL version for MacOS to match libs
bukka Aug 13, 2025
e15ec6a
Merge branch 'PHP-8.3' into PHP-8.4
bukka Sep 1, 2025
0c6b838
Merge branch 'PHP-8.4'
bukka Sep 1, 2025
93740d0
Update IR
dstogov Sep 2, 2025
7ea5c2b
Merge branch 'PHP-8.4'
dstogov Sep 2, 2025
d59ae93
Cleanup SSA(s) in case of fatal error during tracing JIT
dstogov Sep 2, 2025
d25687b
Merge branch 'PHP-8.4'
dstogov Sep 2, 2025
326c254
sapi/fuzzer: Fix disabling of InfiniteIterator (#19668)
Girgias Sep 2, 2025
d85662d
Improve accuracy of ext_stmt emits during pipe operations
derickr Sep 2, 2025
a4afc57
Deprecate driver specific PDO methods
arnaud-lb Aug 20, 2025
1e02099
ext/mbstring: Use `internal_encoding` INI setting instead of `mb_inte…
jorgsowa Sep 3, 2025
8a4cbde
Use ull integer suffix for bitwise logic (GH-19673)
iluuu1994 Sep 3, 2025
0ae9a58
Fix date_sunrise() and date_sunset() with partial-hour UTC offset
iluuu1994 Sep 2, 2025
73fc2db
Merge branch 'PHP-8.3' into PHP-8.4
iluuu1994 Sep 3, 2025
e843931
Merge branch 'PHP-8.4'
iluuu1994 Sep 3, 2025
3625cbb
Fix ZTS+JIT build on non-glibc/musl/freebsd/macos/win platforms
arnaud-lb Sep 2, 2025
15beb14
Fix RC assertion in fpm when php_admin_value setting fails
iluuu1994 Sep 2, 2025
6f17c69
Merge branch 'PHP-8.3' into PHP-8.4
iluuu1994 Sep 3, 2025
d73466a
Merge branch 'PHP-8.4'
iluuu1994 Sep 3, 2025
f9ce6d8
Stale array iterator pointer
iluuu1994 Aug 28, 2025
e4c9482
Merge branch 'PHP-8.3' into PHP-8.4
iluuu1994 Sep 3, 2025
f8e9e94
Merge branch 'PHP-8.4'
iluuu1994 Sep 3, 2025
080fd14
Fix GH-19612: Mitigate libxml2 tree dictionary bug
nielsdos Aug 28, 2025
3023b29
Merge branch 'PHP-8.3' into PHP-8.4
nielsdos Sep 3, 2025
1847d91
Merge branch 'PHP-8.4'
nielsdos Sep 3, 2025
9b96071
[ci skip] Fix test title
nielsdos Sep 3, 2025
3f3a266
gen_stub: Infer constants' types from values (#19568)
DanielEScherzer Sep 4, 2025
a88a5ec
Fix disabling of InfiniteIterator in fuzzer (#19690)
nielsdos Sep 4, 2025
bd88a54
Ensure that type widening converges
arnaud-lb Sep 3, 2025
d68fd73
Merge branch 'PHP-8.3' into PHP-8.4
arnaud-lb Sep 4, 2025
d246584
Merge branch 'PHP-8.4'
arnaud-lb Sep 4, 2025
1c664e1
Remove mentions of PHP 9.0
alexandre-daubois Aug 18, 2025
066553c
fpm: Improve the error message when FPM is running as root (#19695)
TimWolla Sep 4, 2025
4b99519
Fix GH-14506: Closing a userspace stream inside a userspace handler c…
nielsdos Jun 7, 2025
ff72fb8
uri: Stop accessing a private header to retrieve the uriparser versio…
TimWolla Sep 4, 2025
49e3956
core: Deprecate using `null` as an array offset and when calling `arr…
alexandre-daubois Sep 4, 2025
d10ff9b
Remove incorrect call to zval_ptr_dtor() in user_wrapper_metadata()
nielsdos Sep 4, 2025
ad129c6
Merge branch 'PHP-8.3' into PHP-8.4
nielsdos Sep 4, 2025
7e513a5
Merge branch 'PHP-8.4'
nielsdos Sep 4, 2025
d0630e8
Avoid double conversion to string in php_userstreamop_readdir()
nielsdos Sep 4, 2025
a13dc04
Update NEWS and UPGRADING with entry for null as array offset
Girgias Sep 4, 2025
01ae278
Update uriparser to version 0.9.9 (#19711)
kocsismate Sep 4, 2025
c34558d
GH-19691: Add asymmetric visibility to `Reflection::getModifierNames(…
DanielEScherzer Sep 5, 2025
05133ac
Fix GH-19577: avoid integer overflow when using a small offset and PH…
alexandre-daubois Sep 5, 2025
7cceda1
Merge branch 'PHP-8.3' into PHP-8.4
alexandre-daubois Sep 5, 2025
c1fa560
Merge branch 'PHP-8.4'
alexandre-daubois Sep 5, 2025
f0c5315
Add NEWS missing entry
alexandre-daubois Sep 5, 2025
1ac91f5
Merge branch 'PHP-8.4'
alexandre-daubois Sep 5, 2025
98d2b92
Fix GH-19681 PHP_EXPAND_PATH broken with bash 5.3.0
remicollet Sep 4, 2025
3a88977
Merge branch 'PHP-8.3' into PHP-8.4
remicollet Sep 5, 2025
ad5f31d
Merge branch 'PHP-8.4'
remicollet Sep 5, 2025
abbf840
NEWS
remicollet Sep 5, 2025
4ee90ea
NEWS
remicollet Sep 5, 2025
578783b
Merge branch 'PHP-8.3' into PHP-8.4
remicollet Sep 5, 2025
ba24ae8
Merge branch 'PHP-8.4'
remicollet Sep 5, 2025
5d2cf26
NEWS
remicollet Sep 5, 2025
254934b
Avoid using unsafe `sprintf()` (#19598)
alexandre-daubois Sep 5, 2025
a41cb62
Fix GH-19461: Improve error message on listening error with IPv6 (#19…
alexandre-daubois Sep 5, 2025
d84f463
Merge branch 'PHP-8.3' into PHP-8.4
alexandre-daubois Sep 5, 2025
bc6117d
Merge branch 'PHP-8.4'
alexandre-daubois Sep 5, 2025
0e668e5
Fix NEWS entry order
alexandre-daubois Sep 5, 2025
924eea4
Merge branch 'PHP-8.3' into PHP-8.4
alexandre-daubois Sep 5, 2025
a4bb5b9
Merge branch 'PHP-8.4'
alexandre-daubois Sep 5, 2025
271995d
uri: Show the uriparser runtime version in PHPInfo (#19718)
TimWolla Sep 5, 2025
66eb5e7
allow to build with system liburiparser (#18886)
remicollet Sep 5, 2025
216e87a
Fix memory leak in zip when encountering empty glob result
nielsdos Sep 4, 2025
1b49d0e
Merge branch 'PHP-8.3' into PHP-8.4
nielsdos Sep 5, 2025
8cd085a
Merge branch 'PHP-8.4'
nielsdos Sep 5, 2025
34a6e86
[RFC] Allow `#[\Deprecated]` on traits (#19045)
DanielEScherzer Sep 5, 2025
96c4d8b
uri: Fix handling of empty ports for uri_parser_rfc3986 (#19645)
TimWolla Sep 5, 2025
9d69ab9
Fix GH-19720: Assertion failure when error handler throws when access…
nielsdos Sep 5, 2025
c583124
Merge branch 'PHP-8.3' into PHP-8.4
nielsdos Sep 5, 2025
9d8f2a4
Merge branch 'PHP-8.4'
nielsdos Sep 5, 2025
f744c82
Fix GH-19706: dba stream resource mismanagement
nielsdos Sep 4, 2025
366a5a2
Merge branch 'PHP-8.4'
nielsdos Sep 5, 2025
2a96af7
fix build warnings for Haiku.
devnexen Aug 24, 2025
a757f27
fix pipe detection for STDERR.
gwanglst Sep 6, 2025
8280801
fix pipe detection for STDERR.
gwanglst Sep 6, 2025
aa3983b
fix pipe detection for STDERR.
gwanglst Sep 6, 2025
ebbed48
update LiteSpeed API to V8.3
gwanglst Sep 6, 2025
1557bb8
Merge branch 'PHP-8.3' into PHP-8.4
gwanglst Sep 6, 2025
f171afa
Merge branch 'PHP-8.4'
gwanglst Sep 6, 2025
b90ab81
uri: Call the proper `clone_obj` handler in `uri_write_component_ex()…
TimWolla Sep 6, 2025
2f16221
Fix memory leak in phar tar temporary file error handling code
nielsdos Sep 6, 2025
3d52e92
Merge branch 'PHP-8.3' into PHP-8.4
nielsdos Sep 7, 2025
110fae0
Merge branch 'PHP-8.4'
nielsdos Sep 7, 2025
b5817cc
Remove pointless zval_ptr_dtor() calls in userspace stream handling (…
nielsdos Sep 7, 2025
c267652
uri: Do not copy the normalized URI when cloning RFC 3986 URIs (#19588)
TimWolla Sep 7, 2025
a09d919
Implement GH-8967: Add PDO_SQLITE_ATTR_TRANSACTION_MODE (#19317)
stancl Sep 7, 2025
93865a4
Fix GH-19578: imagefilledellipse underflow on width argument.
devnexen Aug 25, 2025
a0b7dab
Merge branch 'PHP-8.3' into PHP-8.4
devnexen Sep 7, 2025
b697d1b
Merge branch 'PHP-8.4'
devnexen Sep 7, 2025
9f8802c
ext/pdo_pgsql: [RFC] Deprecate PGSQL_TRANSACTION_ constants. (#19594)
devnexen Sep 7, 2025
4e8058e
Add support for Uri\Rfc3986\Uri withers (#19636)
kocsismate Sep 8, 2025
4432083
uri: Improve safety of URI object initialization (#19648)
TimWolla Sep 8, 2025
ae7def7
Fix GH-19188: Add support for new INI `mail.cr_lf_mode` (#19238)
alexandre-daubois Sep 8, 2025
5ae8125
Fix GH-16993: Fix filter_var_array to warn when validation filters ar…
alexandre-daubois Sep 8, 2025
ad75c26
[RFC] Add a locale for grapheme case-insensitive functions (#18792)
youkidearitai Sep 8, 2025
6a2adcd
Fix GH-11952: better locale strings canonicalization for IntlDateForm…
alexandre-daubois Sep 8, 2025
cc4cfbf
Merge branch 'PHP-8.3' into PHP-8.4
alexandre-daubois Sep 8, 2025
2d11f4d
Merge branch 'PHP-8.4'
alexandre-daubois Sep 8, 2025
124540a
Reorder intl NEWS entry
alexandre-daubois Sep 8, 2025
c50b37d
Fix metadata leak when phar convert logic fails
nielsdos Sep 7, 2025
98bb934
Fix memory leak on failure in phar_convert_to_other()
nielsdos Sep 7, 2025
10a2a2a
Merge branch 'PHP-8.3' into PHP-8.4
nielsdos Sep 8, 2025
91be3e1
Merge branch 'PHP-8.4'
nielsdos Sep 8, 2025
ff84cb0
Fix OSS-Fuzz #385993744
nielsdos Jun 28, 2025
89f2805
Merge branch 'PHP-8.3' into PHP-8.4
nielsdos Sep 8, 2025
1869eff
Merge branch 'PHP-8.4'
nielsdos Sep 8, 2025
f6878b6
Fix GH-19752: Phar decompression with invalid extension can cause UAF
nielsdos Sep 8, 2025
c395355
Merge branch 'PHP-8.3' into PHP-8.4
nielsdos Sep 8, 2025
79eca3f
Merge branch 'PHP-8.4'
nielsdos Sep 8, 2025
156c847
uri: Fix handling of the `errors == NULL && !silent` for uri_parser_w…
TimWolla Sep 8, 2025
cebe50a
Remove driver specific support from ODBC (#15727)
NattyNarwhal Sep 9, 2025
4c04ff3
uri: Make the `.free_uri` handlers safe to call with `NULL` (#19627)
TimWolla Sep 9, 2025
9eedf00
Fix intl tests naming (#19763)
alexandre-daubois Sep 9, 2025
b718514
Fix memory leak when providing an invalid locale to IntlDateFormatter…
alexandre-daubois Sep 9, 2025
f9805eb
Merge branch 'PHP-8.3' into PHP-8.4
alexandre-daubois Sep 9, 2025
5a177ee
Merge branch 'PHP-8.4'
alexandre-daubois Sep 9, 2025
3f66cbe
Use zend_string API for mail.cr_lf_mode validation (#19759)
alexandre-daubois Sep 9, 2025
37bf0ec
main: Deprecate deriving $_SERVER['argc'] and $_SERVER['argv'] from t…
TimWolla Sep 9, 2025
3290197
[ci skip] Update NEWS for PHP 8.5.0 beta3
edorian Sep 9, 2025
1c6d0e9
Mark test as ONLINE (#19776)
remicollet Sep 9, 2025
d2fa1ca
Mark test as ONLINE (#19776)
remicollet Sep 9, 2025
7f9de57
Merge branch 'PHP-8.3' into PHP-8.4
remicollet Sep 9, 2025
581fcdc
Merge branch 'PHP-8.4'
remicollet Sep 9, 2025
635376d
PHP 8.4 is now for PHP 8.4.14-dev
NattyNarwhal Sep 9, 2025
3230588
Merge branch 'PHP-8.4' of github.com:php/php-src into PHP-8.4
NattyNarwhal Sep 9, 2025
c5611df
Merge branch 'PHP-8.4'
NattyNarwhal Sep 9, 2025
215ebbb
zend_API: Do not overwrite `readonly` properties in `object_propertie…
TimWolla Sep 9, 2025
9b71c61
Merge branch 'PHP-8.3' into PHP-8.4
TimWolla Sep 9, 2025
f08fe17
Merge branch 'PHP-8.4'
TimWolla Sep 9, 2025
4f59f37
Merge branch 'PHP-8.1' into PHP-8.2
TimWolla Sep 9, 2025
4b35b8b
Merge branch 'PHP-8.2' into PHP-8.3
TimWolla Sep 9, 2025
c6961a0
Merge branch 'PHP-8.3' into PHP-8.4
TimWolla Sep 9, 2025
ded813b
Merge branch 'PHP-8.4'
TimWolla Sep 9, 2025
c0f8bb6
Revert "fix pipe detection for STDERR."
bukka Sep 9, 2025
6f92e9c
Merge branch 'PHP-8.1' into PHP-8.2
bukka Sep 9, 2025
d2a54a0
uri: Do not treat arbitrary error codes as syntax errors in uri_parse…
TimWolla Sep 9, 2025
3a17712
Merge branch 'PHP-8.2' into PHP-8.3
bukka Sep 9, 2025
1faaa72
uri: Remove useless layer of indirection in `php_uri_get_parser()` (#…
TimWolla Sep 9, 2025
e946e9b
Merge branch 'PHP-8.3' into PHP-8.4
bukka Sep 9, 2025
03d984e
Merge branch 'PHP-8.4'
bukka Sep 9, 2025
834e92a
Fix GH-19780: InvalidUrlException should check $errors argument (#19781)
nielsdos Sep 9, 2025
c9cc68b
PHP-8.3 is now for PHP-8.3.27-dev
bukka Sep 9, 2025
47fd61b
Merge branch 'PHP-8.3' into PHP-8.4
bukka Sep 9, 2025
0e2c991
Merge branch 'PHP-8.4'
bukka Sep 9, 2025
f18e992
Zend: Deprecate __sleep() (#19682)
Girgias Sep 10, 2025
4191843
Update NEWS/UPGRADING for __sleep() deprecation
Girgias Sep 10, 2025
f4f6e89
GH-15630 follow-up: Remove redundant undefs (#19783)
petk Sep 10, 2025
8eac05f
Cleanup and clarify session.c (#19631)
alexandre-daubois Sep 10, 2025
2ff7a18
Update IR
dstogov Sep 10, 2025
22d002e
Merge branch 'PHP-8.4'
dstogov Sep 10, 2025
29c7ee4
Add a 1-char fastpath to `implode()` (#19276)
alexandre-daubois Sep 10, 2025
36057b9
Fix GH-19722: Windows: _get_osfhandle asserts in debug mode when give…
dktapps Sep 5, 2025
f6f1748
Fix GH-12265: Cloning an object breaks serialization recursion
nielsdos Sep 23, 2023
23a7ba1
Merge branch 'PHP-8.3' into PHP-8.4
nielsdos Sep 10, 2025
75e320f
Merge branch 'PHP-8.4'
nielsdos Sep 10, 2025
a76d01d
[ci skip] Add NEWS item for 9b71c616
nielsdos Sep 10, 2025
25d6b13
Merge branch 'PHP-8.4'
nielsdos Sep 10, 2025
c15d51f
Fix deprecation warning in test
nielsdos Sep 10, 2025
901f71e
Fix GH-19688: Remove pattern overflow in zip addGlob()
nielsdos Sep 3, 2025
98aba6c
Merge branch 'PHP-8.3' into PHP-8.4
nielsdos Sep 10, 2025
2d545dd
Merge branch 'PHP-8.4'
nielsdos Sep 10, 2025
a5f2eee
Zend: Deprecate __wakeup() (#19435)
Girgias Sep 11, 2025
49fdf49
Update NEWS/UPGRADING for __wakeup()
Girgias Sep 11, 2025
9659f3e
Check for __unserialize pointer first
Girgias Sep 11, 2025
26eac7d
uri: Clean up naming of public symbols (#19794)
TimWolla Sep 11, 2025
4e0e88a
Fix deoptimization after exit during inc/dec
arnaud-lb Sep 3, 2025
51033c2
zend_vm_gen: Fix line numbers for `--with-lines` (#19789)
TimWolla Sep 11, 2025
7594558
Fix deoptimization after exit during inc/dec
arnaud-lb Sep 3, 2025
62eaa71
Regenerate timelib parser files with --output <filename>
derickr Sep 11, 2025
57450e5
zend_vm_gen: Track line numbers on a per-file basis (#19799)
TimWolla Sep 11, 2025
3e95422
Merge branch 'PHP-8.4'
arnaud-lb Sep 11, 2025
ed9430a
Fix hard_timeout when zend-max-execution-timers is enabled
Appla Sep 10, 2025
c733491
Merge branch 'PHP-8.3' into PHP-8.4
iluuu1994 Sep 11, 2025
4cc395e
Merge branch 'PHP-8.4'
iluuu1994 Sep 11, 2025
be5b2bf
[skip ci] Add --enable-zend-max-execution-timers to variation nightly…
iluuu1994 Sep 11, 2025
78dd5ce
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Sep 11, 2025
d30ec1d
Merge branch 'PHP-8.2' into PHP-8.3
iluuu1994 Sep 11, 2025
04587e3
Merge branch 'PHP-8.3' into PHP-8.4
iluuu1994 Sep 11, 2025
b2c8bdd
Merge branch 'PHP-8.4'
iluuu1994 Sep 11, 2025
05eda43
Add missing extension dependencies for tests
Girgias Sep 11, 2025
2ad0b5c
Fix GH-19792: SCCP causes UAF for return value if both warning and ex…
nielsdos Sep 10, 2025
3026e88
Merge branch 'PHP-8.3' into PHP-8.4
nielsdos Sep 11, 2025
527ce26
Merge branch 'PHP-8.4'
nielsdos Sep 11, 2025
4974d5e
Fix GH-19701: Serialize/deserialize loses some data
nielsdos Sep 8, 2025
0338cbb
Merge branch 'PHP-8.3' into PHP-8.4
nielsdos Sep 11, 2025
d1c730c
Merge branch 'PHP-8.4'
nielsdos Sep 11, 2025
62660e6
[ci skip] Fix missing deprecation in output
nielsdos Sep 11, 2025
7404829
uri: Remove outdated docs in WhatWG uri parser (#19806)
nielsdos Sep 11, 2025
04deb4d
uri: Do not pass `uri_internal_t` to property handlers (#19805)
TimWolla Sep 11, 2025
bd4e2c7
Fix fuzzer runner (#19676)
nielsdos Sep 11, 2025
3e9caf5
uri: Optimize `php_uri_get_*()` (#19807)
TimWolla Sep 11, 2025
1d131f8
Fix OSS-Fuzz #442954659: zero-size box in HEIF file causes infinite l…
nielsdos Sep 12, 2025
871fe60
curl: Fix cloning of POST fields (#19813)
TimWolla Sep 12, 2025
a94f00a
Merge branch 'PHP-8.3' into PHP-8.4
TimWolla Sep 12, 2025
b8a9d79
[skip ci] Add missing name for GH-19813 in NEWS
TimWolla Sep 12, 2025
82e9985
Merge branch 'PHP-8.4'
TimWolla Sep 12, 2025
ef97a28
Merge branch 'PHP-8.3' into PHP-8.4
TimWolla Sep 12, 2025
ab808ea
Merge branch 'PHP-8.4'
TimWolla Sep 12, 2025
d4f5c84
uri: Throw when trying to modify URI objects after creation (#19768)
TimWolla Sep 12, 2025
e6c6333
uri: NEWS for GH-19794, GH-19768, and others
TimWolla Sep 12, 2025
edc2671
ext/mbstring: Update to Unicode 17.0 (#19796)
youkidearitai Sep 12, 2025
d30dd1b
Fix GH-19784: SoapServer memory leak
nielsdos Sep 12, 2025
61265c2
Merge branch 'PHP-8.3' into PHP-8.4
nielsdos Sep 13, 2025
469aa25
Merge branch 'PHP-8.4'
nielsdos Sep 13, 2025
2e9cdb2
Fix missing OpenSSL libctx name fetch conversions (#19830)
bukka Sep 13, 2025
b46681d
Fix curl build failure on macOS+curl 8.16
nielsdos Sep 12, 2025
8e1df69
Merge branch 'PHP-8.3' into PHP-8.4
nielsdos Sep 13, 2025
dd27ced
Merge branch 'PHP-8.4'
nielsdos Sep 13, 2025
93676a0
ext/standard: Deprecate passing string which are not one byte long to…
Girgias Sep 14, 2025
569b003
Update NEWS/UPGRADING for ord() deprecation
Girgias Sep 14, 2025
8774e96
Fix naming clash with libxml macro
ZhongRuoyu Sep 14, 2025
5427120
Merge branch 'PHP-8.4'
nielsdos Sep 14, 2025
4123b8e
exif/heic: Avoid undefined behaviour in address calculations
nielsdos Sep 6, 2025
4e70d41
exif/heic: Fix bound check in loop
nielsdos Sep 6, 2025
518c2a8
exif/heic: Avoid overflow when adding box size and checking against f…
nielsdos Sep 7, 2025
9c90114
exif/heic: Prevent overflow when computing meta bounds
nielsdos Sep 7, 2025
eba4140
exif/heic: Ensure file is at least 16 bytes to prevent underflow
nielsdos Sep 7, 2025
7a6a763
Fix OSS-Fuzz #442954659: Crash in exif_scan_HEIF_header
nielsdos Sep 13, 2025
6cc1a11
exif/heic: Make sure pos is always initialized
nielsdos Sep 13, 2025
fb3d4be
exif/heic: Make offset size_t
nielsdos Sep 13, 2025
02c13b6
Update NEWS for exif changes
nielsdos Sep 14, 2025
2225295
Fix GH-19653: Closure named argument unpacking between temporary clos…
nielsdos Aug 31, 2025
a3d27aa
Merge branch 'PHP-8.3' into PHP-8.4
nielsdos Sep 14, 2025
d6300a3
Merge branch 'PHP-8.4'
nielsdos Sep 14, 2025
a0329db
Update timelib to 2022.14
derickr Sep 15, 2025
94dbdd0
Merge branch 'PHP-8.2' into PHP-8.3
derickr Sep 15, 2025
2e85c5f
Merge branch 'PHP-8.3' into PHP-8.4
derickr Sep 15, 2025
42dc6aa
Merge branch 'PHP-8.4'
derickr Sep 15, 2025
b42bd2a
Update NEWS
derickr Sep 15, 2025
e1bd1b2
Update NEWS
derickr Sep 15, 2025
e3d4580
Update NEWS
derickr Sep 15, 2025
908a3cc
Update NEWS
derickr Sep 15, 2025
be5784d
Revert "Update timelib to 2022.14"
derickr Sep 15, 2025
4ad4d54
Merge branch 'PHP-8.2' into PHP-8.3
derickr Sep 15, 2025
1c323f1
Merge branch 'PHP-8.3' into PHP-8.4
derickr Sep 15, 2025
685e4df
Merge branch 'PHP-8.4'
derickr Sep 15, 2025
1644af2
zend_builtin_functions: Do not allocate to store name of FLF when fet…
TimWolla Sep 15, 2025
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
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ jobs:
--prefix=/usr \
--enable-phpdbg \
--enable-fpm \
--enable-opcache \
--with-pdo-mysql=mysqlnd \
--with-mysqli=mysqlnd \
--with-pgsql \
Expand Down Expand Up @@ -168,7 +167,6 @@ jobs:
no_output_timeout: 30m
command: |
sapi/cli/php run-tests.php \
-d zend_extension=opcache.so \
-d opcache.enable_cli=1 \
-d opcache.jit_buffer_size=64M \
-d opcache.jit=tracing \
Expand Down
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

/.github @TimWolla
/build/gen_stub.php @kocsismate
/ext/bcmath @Girgias @nielsdos @SakiTakamachi
/ext/bcmath @nielsdos @SakiTakamachi
/ext/curl @adoy
/ext/date @derickr
/ext/dba @Girgias
Expand Down
5 changes: 4 additions & 1 deletion .github/actions/apk/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ runs:
run: |
set -x

OPCACHE_TLS_TESTS_DEPS="clang gcc binutils-gold lld"

apk update -q
apk add \
util-linux \
Expand Down Expand Up @@ -53,4 +55,5 @@ runs:
postgresql14-dev \
tzdata \
musl-locales \
musl-locales-lang
musl-locales-lang \
$OPCACHE_TLS_TESTS_DEPS
6 changes: 4 additions & 2 deletions .github/actions/apt-x32/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ runs:
run: |
set -x

OPCACHE_TLS_TESTS_DEPS="gcc clang lld"

export DEBIAN_FRONTEND=noninteractive
dpkg --add-architecture i386
apt-get update -y | true
Expand Down Expand Up @@ -35,7 +37,6 @@ runs:
libssl-dev:i386 \
libwebp-dev:i386 \
libxml2-dev:i386 \
libxml2-dev:i386 \
libxpm-dev:i386 \
libxslt1-dev:i386 \
firebird-dev:i386 \
Expand All @@ -45,4 +46,5 @@ runs:
re2c \
unzip \
wget \
zlib1g-dev:i386
zlib1g-dev:i386 \
$OPCACHE_TLS_TESTS_DEPS
5 changes: 4 additions & 1 deletion .github/actions/apt-x64/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ runs:
run: |
set -x

OPCACHE_TLS_TESTS_DEPS="gcc clang lld"

export DEBIAN_FRONTEND=noninteractive

# Install sudo in Docker for consistent actions
Expand Down Expand Up @@ -74,4 +76,5 @@ runs:
libqdbm-dev \
libjpeg-dev \
libpng-dev \
libfreetype6-dev
libfreetype6-dev \
$OPCACHE_TLS_TESTS_DEPS
2 changes: 1 addition & 1 deletion .github/actions/configure-macos/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ runs:
set -x
BREW_OPT="$(brew --prefix)"/opt
export PATH="$BREW_OPT/bison/bin:$PATH"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/openssl@1.1/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/openssl/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/curl/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/libffi/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/libxml2/lib/pkgconfig"
Expand Down
7 changes: 7 additions & 0 deletions .github/actions/extra-tests/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: Extra tests
runs:
using: composite
steps:
- shell: sh
run: |
sapi/cli/php run-extra-tests.php
26 changes: 21 additions & 5 deletions .github/actions/freebsd/action.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,27 @@
name: FreeBSD
inputs:
configurationParameters:
default: ''
required: false
runExtraTests:
default: false
required: false
runs:
using: composite
steps:
- name: FreeBSD
uses: vmactions/freebsd-vm@v1
with:
release: '13.3'
release: '13.5'
usesh: true
copyback: false
# Temporarily disable sqlite, as FreeBSD ships it with disabled double quotes. We'll need to fix our tests.
# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269889
prepare: |
cd $GITHUB_WORKSPACE

OPCACHE_TLS_TESTS_DEPS="gcc"

kldload accf_http
pkg install -y \
autoconf \
Expand All @@ -37,9 +46,11 @@ runs:
webp \
libavif \
`#sqlite3` \
curl
curl \
$OPCACHE_TLS_TESTS_DEPS

./buildconf -f
CC=clang CXX=clang++ \
./configure \
--prefix=/usr/local \
--enable-debug \
Expand Down Expand Up @@ -80,7 +91,9 @@ runs:
--with-sodium \
--enable-werror \
--with-config-file-path=/etc \
--with-config-file-scan-dir=/etc/php.d
--with-config-file-scan-dir=/etc/php.d \
${{ inputs.configurationParameters }}

gmake -j2
mkdir /etc/php.d
gmake install > /dev/null
Expand All @@ -100,5 +113,8 @@ runs:
--offline \
--show-diff \
--show-slow 1000 \
--set-timeout 120 \
-d zend_extension=opcache.so
--set-timeout 120

if test "${{ inputs.runExtraTests }}" = "true"; then
sapi/cli/php run-extra-tests.php
fi
2 changes: 1 addition & 1 deletion .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,6 @@
- 'ext/pdo/php_pdo.h'
- 'ext/pdo/php_pdo_driver.h'
- 'ext/pdo/php_pdo_error.h'
- 'ext/phar/php_phar.h'
- 'ext/random/php_random.h'
- 'ext/random/php_random_csprng.h'
- 'ext/random/php_random_uint128.h'
Expand All @@ -493,6 +492,7 @@
- 'ext/spl/spl_iterators.h'
- 'ext/spl/spl_observer.h'
- 'ext/standard/*.h'
- 'ext/uri/*.h'
- 'ext/xml/expat_compat.h'
- 'ext/xml/php_xml.h'
- 'main/*.h'
Expand Down
3 changes: 3 additions & 0 deletions .github/scripts/setup-slapd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ olcTLSCertificateKeyFile: /etc/ldap/ssl/server.key
add: olcTLSVerifyClient
olcTLSVerifyClient: never
-
add: olcTLSProtocolMin
olcTLSProtocolMin: 3.3
-
add: olcAuthzRegexp
olcAuthzRegexp: uid=usera,cn=digest-md5,cn=auth cn=usera,dc=my-domain,dc=com
-
Expand Down
4 changes: 3 additions & 1 deletion .github/scripts/windows/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ if not exist "%SDK_RUNNER%" (
exit /b 3
)

cmd /c %SDK_RUNNER% -t .github\scripts\windows\build_task.bat
for /f "delims=" %%T in ('call .github\scripts\windows\find-vs-toolset.bat %PHP_BUILD_CRT%') do set "VS_TOOLSET=%%T"
echo Got VS Toolset %VS_TOOLSET%
cmd /c %SDK_RUNNER% -s %VS_TOOLSET% -t .github\scripts\windows\build_task.bat
if %errorlevel% neq 0 exit /b 3

exit /b 0
49 changes: 49 additions & 0 deletions .github/scripts/windows/find-vs-toolset.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
@echo off

setlocal enabledelayedexpansion

if "%~1"=="" (
echo ERROR: Usage: %~nx0 [vc14^|vc15^|vs16^|vs17]
exit /b 1
)

set "toolsets_vc14=14.0"
set "toolsets_vc15="
set "toolsets_vs16="
set "toolsets_vs17="


for /f "usebackq tokens=*" %%I in (`vswhere.exe -latest -find "VC\Tools\MSVC"`) do set "MSVCDIR=%%I"

if not defined MSVCDIR (
echo ERROR: could not locate VC\Tools\MSVC
exit /b 1
)

for /f "delims=" %%D in ('dir /b /ad "%MSVCDIR%"') do (
for /f "tokens=1,2 delims=." %%A in ("%%D") do (
set "maj=%%A" & set "min=%%B"
if "!maj!"=="14" (
if !min! LEQ 9 (
set "toolsets_vc14=%%D"
) else if !min! LEQ 19 (
set "toolsets_vc15=%%D"
) else if !min! LEQ 29 (
set "toolsets_vs16=%%D"
) else (
set "toolsets_vs17=%%D"
)
)
)
)

set "KEY=%~1"
set "VAR=toolsets_%KEY%"
call set "RESULT=%%%VAR%%%"
if defined RESULT (
echo %RESULT%
exit /b 0
) else (
echo ERROR: no toolset found for %KEY%
exit /b 1
)
3 changes: 2 additions & 1 deletion .github/scripts/windows/test.bat
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ if not exist "%SDK_RUNNER%" (
exit /b 3
)

cmd /c %SDK_RUNNER% -t .github\scripts\windows\test_task.bat
for /f "delims=" %%T in ('call .github\scripts\windows\find-vs-toolset.bat %PHP_BUILD_CRT%') do set "VS_TOOLSET=%%T"
cmd /c %SDK_RUNNER% -s %VS_TOOLSET% -t .github\scripts\windows\test_task.bat
if %errorlevel% neq 0 exit /b 3

exit /b 0
2 changes: 1 addition & 1 deletion .github/scripts/windows/test_task.bat
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ mkdir %PHP_BUILD_DIR%\test_file_cache
rem generate php.ini
echo extension_dir=%PHP_BUILD_DIR% > %PHP_BUILD_DIR%\php.ini
echo opcache.file_cache=%PHP_BUILD_DIR%\test_file_cache >> %PHP_BUILD_DIR%\php.ini
if "%OPCACHE%" equ "1" echo zend_extension=php_opcache.dll >> %PHP_BUILD_DIR%\php.ini
echo opcache.record_warnings=1 >> %PHP_BUILD_DIR%\php.ini
rem work-around for some spawned PHP processes requiring OpenSSL and sockets
echo extension=php_openssl.dll >> %PHP_BUILD_DIR%\php.ini
echo extension=php_sockets.dll >> %PHP_BUILD_DIR%\php.ini
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
if: github.repository == 'php/php-src'
steps:
- name: git checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Install dependencies
run: pip install -r docs/requirements.txt
- name: Check formatting
Expand Down
Loading