Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1304 commits
Select commit Hold shift + click to select a range
16514da
Merge branch 'PHP-8.5'
devnexen Feb 22, 2026
5f87a6e
Merge branch 'PHP-8.5'
devnexen Feb 22, 2026
42baffd
Add note about session behavior change in UPGRADE file (#21271)
nicolas-grekas Feb 23, 2026
b58087d
test: improve tests for in_array (#21087)
jorgsowa Feb 23, 2026
7b4a703
ext/standard: Cleanup boolean return macros (#21261)
arshidkv12 Feb 23, 2026
93bbb46
Merge branch 'PHP-8.5'
devnexen Feb 23, 2026
6b92940
ext/xls: Replace RETVAL_TRUE/RETVAL_FALSE with RETVAL_BOOL (#21278)
arshidkv12 Feb 23, 2026
7158e63
Merge branch 'PHP-8.5'
petk Feb 23, 2026
3b609a1
Zend: Replace RETVAL_TRUE/RETVAL_FALSE with RETVAL_BOOL (#21277)
arshidkv12 Feb 23, 2026
d116066
Merge branch 'PHP-8.5'
devnexen Feb 23, 2026
b81686a
Merge branch 'PHP-8.5'
devnexen Feb 23, 2026
3bf7d9a
Merge branch 'PHP-8.5'
iluuu1994 Feb 24, 2026
db0e365
Fix missing reference unwrap for FE_FETCH_R in JIT (GH-21265)
iluuu1994 Feb 24, 2026
f52da75
Merge branch 'PHP-8.5'
iluuu1994 Feb 24, 2026
68d96e3
Merge branch 'PHP-8.5'
dstogov Feb 24, 2026
27a88a3
Merge branch 'PHP-8.5'
DanielEScherzer Feb 24, 2026
4156b52
Merge branch 'PHP-8.5'
iluuu1994 Feb 24, 2026
9a76133
Merge branch 'PHP-8.5'
DanielEScherzer Feb 24, 2026
300892a
Merge branch 'PHP-8.5'
devnexen Feb 24, 2026
6f2ccd4
Merge branch 'PHP-8.5'
NattyNarwhal Feb 24, 2026
5fc9d9d
Merge branch 'PHP-8.5'
DanielEScherzer Feb 24, 2026
031b4c6
Merge branch 'PHP-8.5'
dstogov Feb 25, 2026
5bd1bbd
ext/pcre: Fix preg_grep() returning partial array instead of false on…
lacatoire Feb 26, 2026
e045b88
run-tests.php: Use PHP_SHLIB_SUFFIX (#21301)
petk Feb 26, 2026
9b01f51
ext/pcntl: Reject negative values in pcntl_alarm()
devnexen Feb 23, 2026
9cc1d32
Merge branch 'PHP-8.5'
devnexen Feb 26, 2026
7bc80c0
Merge branch 'PHP-8.5'
devnexen Feb 26, 2026
f46bc8e
ext/mbstring: Replace RETVAL_TRUE/RETVAL_FALSE with RETVAL_BOOL (#21276)
arshidkv12 Feb 26, 2026
8a907a9
ext/sodium: Add support for libsodium 1.0.21 APIs (#20960)
jedisct1 Feb 27, 2026
1b106df
Merge branch 'PHP-8.5'
iluuu1994 Feb 27, 2026
7923dc2
Merge branch 'PHP-8.5'
iluuu1994 Feb 27, 2026
e4f727d
Implement ReflectionProperty::is{Readable,Writable}()
iluuu1994 Oct 3, 2024
073dcf6
Merge branch 'PHP-8.5'
iluuu1994 Feb 27, 2026
be6038a
[skip ci] Also add ReflectionProperty::is{Readable,Writable}() to NEWS
iluuu1994 Feb 27, 2026
4b0a4f4
Merge branch 'PHP-8.5'
ndossche Feb 27, 2026
d1ff85f
Merge branch 'PHP-8.5'
devnexen Feb 27, 2026
114c0d6
Merge branch 'PHP-8.5'
devnexen Feb 27, 2026
c68ede9
Merge branch 'PHP-8.5'
ndossche Feb 27, 2026
b2bc70c
Update time periods in mbstring section of EXTENSIONS
alexdowad Feb 28, 2026
15a58cf
Merge branch 'PHP-8.5'
ndossche Feb 28, 2026
2fd3433
Merge branch 'PHP-8.5'
devnexen Feb 28, 2026
41c436a
Merge branch 'PHP-8.5'
iluuu1994 Mar 2, 2026
ffd58ea
Merge branch 'PHP-8.5'
iluuu1994 Mar 2, 2026
daf1d32
Merge branch 'PHP-8.5'
ndossche Mar 2, 2026
5ca1598
Empty merge
derickr Mar 2, 2026
832a5ea
Updated to version 2026.1 (2026a)
derickr Mar 2, 2026
bfd66bb
Merge branch 'PHP-8.5'
ndossche Mar 2, 2026
a83c025
Use zend_always_inline for frameless function template functions (GH-…
iluuu1994 Mar 2, 2026
f17c5ad
Windows build: Add new function CHECK_HEADER() (#21191)
petk Mar 3, 2026
84b0a73
Fix GH-13204: glob() fails if square bracket is in current directory …
ndossche Mar 3, 2026
c7824b3
Merge branch 'PHP-8.5'
iluuu1994 Mar 3, 2026
7a1c261
[RFC] Add grapheme_strrev function (#20949)
youkidearitai Mar 4, 2026
ce1cadb
Fix Solaris tests and add nightly CI job
psumbera Dec 12, 2025
5307a67
Merge branch 'PHP-8.5'
iluuu1994 Mar 4, 2026
471ae15
Fix incorrect zend_hash_find_ptr() on non-ptr in ReflectionProperty::…
iluuu1994 Mar 4, 2026
11a9574
Convert more zend_parse_parameters_none() to fast ZPP (#21330)
alexandre-daubois Mar 4, 2026
c506142
Merge branch 'PHP-8.5'
kocsismate Mar 5, 2026
39f1ed4
Merge branch 'PHP-8.5'
devnexen Mar 5, 2026
77925b9
Merge branch 'PHP-8.5'
devnexen Mar 5, 2026
806e0d0
Merge branch 'PHP-8.5'
remicollet Mar 6, 2026
f99ca63
Windows build: Use GREP_HEADER() instead of CHECK_FUNC_IN_HEADER() (#…
petk Mar 6, 2026
61fd5ce
Merge branch 'PHP-8.5'
ndossche Mar 7, 2026
242445e
Merge branch 'PHP-8.5'
iluuu1994 Mar 7, 2026
be8ac28
Merge branch 'PHP-8.5'
bukka Mar 7, 2026
873468c
Merge branch 'PHP-8.5'
bukka Mar 7, 2026
f2d96c8
Merge branch 'PHP-8.5'
Girgias Mar 7, 2026
f830fa9
Sockets refactoring 2026 (#21365)
devnexen Mar 7, 2026
58acc67
ext/mbstring: Fix deprecation warning (#21363)
petk Mar 7, 2026
eedbffe
Empty some values of mysqli_get_charset() (#21361)
kamil-tekiela Mar 7, 2026
53e31d5
Fix GH-21362: ReflectionMethod::invoke() allows different Closures (#…
iliaal Mar 8, 2026
c56e8ca
ext/pgsql, ext/pdo_pgsql: Remove preprocessor guards for symbols pred…
KentarouTakeda Mar 8, 2026
148dc1d
Merge branch 'PHP-8.5'
devnexen Mar 9, 2026
cccc548
Merge branch 'PHP-8.5'
iluuu1994 Mar 9, 2026
d81db0b
Merge branch 'PHP-8.5'
NattyNarwhal Mar 9, 2026
0155b50
phar: Fix const-generic compile warnings
ndossche Mar 9, 2026
da1e89f
RFC: Add Form Feed in Trim Functions (#20788)
LamentXU123 Mar 9, 2026
8bff644
Zend: remove unused scope parameter of add_intersection_type()
Girgias Mar 9, 2026
6880a6c
Zend: mark scope parameter of zend_type_to_string_resolved() const
Girgias Mar 9, 2026
2b20627
Zend: mark zend_perform_covariant_type_check() as static
Girgias Mar 9, 2026
032e5f6
Zend: mark arg_info parameters of zend_do_perform_arg_type_hint_check…
Girgias Mar 9, 2026
1096ea1
Zend: mark variable as const
Girgias Mar 9, 2026
f93b170
Zend: inherit interfaces early (#18622)
Girgias Mar 9, 2026
f29bc08
reflection: Remove `_DO_THROW()` macro (#21399)
TimWolla Mar 10, 2026
6e664a0
reflection: Check against the known string in `is_closure_invoke()` (…
TimWolla Mar 10, 2026
6409235
Merge branch 'PHP-8.5'
ndossche Mar 10, 2026
98ededc
Merge branch 'PHP-8.5'
ndossche Mar 10, 2026
d305591
Merge branch 'PHP-8.5'
ndossche Mar 10, 2026
9a73c00
Merge branch 'PHP-8.5'
ndossche Mar 10, 2026
7f20223
ext/soap: use zend_string_equals_literal() instead of strcmp() (#21405)
Girgias Mar 10, 2026
ed88724
Merge branch 'PHP-8.5'
devnexen Mar 10, 2026
c658d3c
ext/pgsql: use smart_str_append_double() instead of snprintf call (#2…
Girgias Mar 11, 2026
79556df
Merge branch 'PHP-8.5'
dstogov Mar 11, 2026
13b83a4
Bump libtool to serial 63 from 2.5.4 (#21067)
NattyNarwhal Mar 11, 2026
8b7c70d
Merge branch 'PHP-8.5'
ndossche Mar 11, 2026
113893b
Zend: create a IS_VOID type AST rather a string (#21415)
Girgias Mar 11, 2026
28c6659
dom: Simplify return value management of xpath callback
ndossche Mar 11, 2026
46357cb
dom: Merge declaration and assignment
ndossche Mar 11, 2026
b0aa6b9
ext/soap: various optimisations
devnexen Mar 12, 2026
e9b3ea8
Merge branch 'PHP-8.5'
ndossche Mar 12, 2026
a026333
Merge branch 'PHP-8.5'
ndossche Mar 12, 2026
5ccaccd
ext/reflection: Use smart_str_append instead of smart_str_appendl (#2…
arshidkv12 Mar 13, 2026
44d4f0e
ext/soap: Use smart_str_appends() instead of smart_str_appendl(..., s…
arshidkv12 Mar 13, 2026
80b1ede
[skip ci] Fix uninitialized fn_flags2 for internal functions
iluuu1994 Mar 13, 2026
92ba1e4
Prevent closing of innerstream of php://temp stream
iluuu1994 Feb 15, 2026
a2fc8fe
ext/openssl: openssl: use zend_string_init() instead of manual alloca…
arshidkv12 Mar 14, 2026
31962aa
ext/pgsql: Enable lo_tell64/lo_truncate64 by removing dead VE_PG_LO64…
KentarouTakeda Mar 14, 2026
a5ffcf3
Use zend_string_init_fast() for single-character string creation (#21…
arshidkv12 Mar 14, 2026
006f141
ext/phar: Use zend_string_concat2 instead of manual zend_string_alloc…
arshidkv12 Mar 14, 2026
605c075
ext/zip: add ZipArchive::openString() method
tstarling Apr 29, 2024
c197fad
Merge branch 'PHP-8.5'
ndossche Mar 14, 2026
91134db
ReflectionFiber::getCallable(): remove stray backslash (#21439)
DanielEScherzer Mar 14, 2026
7e16d4e
Merge branch 'PHP-8.5'
devnexen Mar 14, 2026
4561e92
Fix ReflectionMethod::invoke() for first class callables (#21389)
iliaal Mar 15, 2026
3927630
Remove unused config.h inclusion in SAPIs (#21377)
petk Mar 15, 2026
45157d2
ext/zip: Remove unreachable break after RETURN_STRING (#21458)
arshidkv12 Mar 16, 2026
f44609c
ext/standard: Remove unreachable break after RETURN_STRING (#21459)
arshidkv12 Mar 16, 2026
0039af0
Propagate bind error for stream_socket_server()
iluuu1994 Mar 3, 2026
a8543df
Convert remaining zend_parse_parameters_none() to ZPP (#21343)
alexandre-daubois Mar 16, 2026
a1d8e52
gen_stub: drop unused parameter in `ConstInfo::getClassConstDeclarati…
DanielEScherzer Sep 4, 2025
8ee5a52
gen_stub: polyfill and use `array_any()`
DanielEScherzer Sep 4, 2025
777fa5d
gen_stub: fix typo `$minPHPCompatability` to `$minPHPCompatibility`
DanielEScherzer Sep 4, 2025
f1dd3f2
gen_stub: move `generateArgInfoCode()` into `FileInfo`
DanielEScherzer Mar 14, 2026
25f62cf
gen_stub: simplify with early returns
DanielEScherzer Sep 4, 2025
0bd3a6b
Merge branch 'PHP-8.5'
dstogov Mar 16, 2026
c438805
Update IR (#21462)
dstogov Mar 16, 2026
8cf9179
Merge branch 'PHP-8.5'
dstogov Mar 16, 2026
a16ace8
Merge branch 'PHP-8.5'
ndossche Mar 17, 2026
e6db18b
Merge branch 'PHP-8.5'
ndossche Mar 17, 2026
9b022c4
ext/standard: replace RETVAL_EMPTY_ARRAY() + return with RETURN_EMPT…
arshidkv12 Mar 18, 2026
769258f
[skip ci] Update `php -v` placeholder in bug_report.yml template
TimWolla Mar 18, 2026
ab043ee
[skip ci] Update versioned binary name in bug_report.yml template
TimWolla Mar 18, 2026
db37779
Merge branch 'PHP-8.5'
dstogov Mar 19, 2026
7b16f81
ext/session: code cleanup - use tab for indent
thg2k Mar 18, 2026
a680273
ext/session: code cleanup - use consistent pointer declarations
thg2k Mar 18, 2026
3b20ccd
ext/session: code cleanup - don't use tabs for alignments
thg2k Mar 18, 2026
adba504
ext/session: code cleanup - space after control flow keywords
thg2k Mar 18, 2026
d63fb99
ext/session: code cleanup - use single empty line except for sections
thg2k Mar 18, 2026
103e35d
ext/session: code refactoring - improve readability and consistency
thg2k Mar 18, 2026
8c42cf4
Merge branch 'PHP-8.5'
iluuu1994 Mar 19, 2026
38cbbee
Zend: add const qualifiers to the majority of compare functions (#21304)
Girgias Mar 19, 2026
e39b6b9
Merge branch 'PHP-8.5'
iluuu1994 Mar 20, 2026
2e20074
Merge branch 'PHP-8.5'
arnaud-lb Mar 20, 2026
b83dd10
gen_stub: use real `mixed` type
DanielEScherzer Mar 18, 2026
ef5771d
gen_stub: use real `readonly` modifier
DanielEScherzer Mar 18, 2026
362f5fd
gen_stub: use `match` rather than `switch` when possible
DanielEScherzer Mar 18, 2026
36e1469
gen_stub: use first class callables where possible
DanielEScherzer Mar 18, 2026
30b2d77
Merge branch 'PHP-8.5'
kocsismate Mar 20, 2026
614b22a
Add array size maximum to array_diff()
ndossche Mar 14, 2026
a6a7b39
Merge branch 'PHP-8.5'
ndossche Mar 21, 2026
d3727f4
ext/pgsql: Remove unreachable break (#21482)
arshidkv12 Mar 21, 2026
c524773
ext/ftp: Remove unreachable break (#21481)
arshidkv12 Mar 21, 2026
f102735
Merge branch 'PHP-8.5'
remicollet Mar 21, 2026
4d52853
ext/spl: extract AppendIterator constructor (#21367)
Girgias Mar 21, 2026
f40b356
Use smart_str_append() if we have a zend_string* (#21414)
Girgias Mar 21, 2026
74fad61
Add test for array_diff() array maximum
ndossche Mar 21, 2026
9011bd3
[skip ci] Fix CI badge in README
iluuu1994 Mar 21, 2026
61c83f8
Merge branch 'PHP-8.5'
iluuu1994 Mar 21, 2026
cb8d3a2
Merge branch 'PHP-8.5'
iluuu1994 Mar 22, 2026
be539d9
Merge branch 'PHP-8.5'
ndossche Mar 22, 2026
00c0a9b
Merge branch 'PHP-8.5'
devnexen Mar 22, 2026
be1ae8e
Zend: add const modifiers (#19571)
Girgias Mar 23, 2026
d34c840
zend_builtin_functions.c: add const qualifiers (#21487)
Girgias Mar 23, 2026
2918cae
ext/*: Remove `break` after `return` (#21485)
LamentXU123 Mar 23, 2026
8f9a8c0
Fix GH-21421: SoapClient typemap property breaks engine assumptions
ndossche Mar 12, 2026
0516a76
/build/gen_stub.php: typo fix from 'seperate' to 'separate' (#21505)
LamentXU123 Mar 24, 2026
04ae8d9
[skip ci] Recommend LLM disclosure for GH comments (GH-21506)
iluuu1994 Mar 24, 2026
f8e4f64
[skip ci] Regenerate ext/fileinfo/libmagic.patch (GH-21509)
orlitzky Mar 24, 2026
00c4295
Merge branch 'PHP-8.5'
edorian Mar 24, 2026
9caa0a7
Fix bc_str2num accepting strings with embedded null bytes
jorgsowa Mar 22, 2026
ce1761e
ext/dom: add a const qualifier in dom_objects_set_class_ex()(#21511)
Girgias Mar 24, 2026
118fa2c
ext/mysqli: add a const qualifier in mysqli_objects_new() (#21510)
Girgias Mar 24, 2026
674473d
ext/xsl: add const qualifiers when iteration over a CE's parents (#21…
Girgias Mar 24, 2026
a8cc04d
Optimize JSON pretty print indentation performance (GH-21474)
LamentXU123 Mar 24, 2026
8af4e80
ext/opcache: formalize return type of accel_restart_is_active() to bool
Girgias Mar 9, 2026
046b44e
ext/opcache: formalize return type of zend_get_stream_timestamp() to …
Girgias Mar 9, 2026
c136801
ext/opcache: formalize return type of do_validate_timestamps() to zen…
Girgias Mar 9, 2026
b431c36
ext/opcache: formalize return type of check_persistent_script_access(…
Girgias Mar 9, 2026
e7ffec3
ext/opcache: reduce scope of variable
Girgias Mar 9, 2026
d50b91f
ext/opcache: add const qualifiers
Girgias Mar 9, 2026
bcdadd5
ext/opcache: use type size_t instead of type int
Girgias Mar 23, 2026
022fc4c
zend_builtin_functions.c: Use RETURN_THROW() for clarity
Girgias Nov 7, 2025
5b5b17a
zend_builtin_functions.c: use type uint32_t instead of int
Girgias Nov 7, 2025
82866cc
zend_builtin_functions.c: use known string when possible
Girgias Nov 7, 2025
4852e7f
zend_builtin_functions.c: add const qualifiers
Girgias Nov 7, 2025
db8b4b5
zend_builtin_functions.c: remove some variable shadowing
Girgias Nov 7, 2025
afd04af
zend_builtin_functions.c: refactor is_a_impl() to use early returns
Girgias Nov 7, 2025
ee7d02d
zend_builtin_functions.c: use RET{URN|VAL}_BOOL() when possible
Girgias Nov 7, 2025
deb5997
zend_objects_API.h: add some const qualifiers
Girgias Mar 24, 2026
66e4ba1
zend_objects_API.c: reduce scope of variable
Girgias Mar 24, 2026
e4dcd2e
zend_objects_API.c: use uint32_t type instead of int type
Girgias Mar 24, 2026
7d40bae
Merge branch 'PHP-8.5'
SakiTakamachi Mar 25, 2026
4bfa1b6
ext/spl: add const qualifiers when dealing with CEs (#21512)
Girgias Mar 25, 2026
4139422
fileinfo: Don't compile libmagic/strcasestr.c (GH-21522)
orlitzky Mar 25, 2026
a135ac7
TAILLCALL VM: Do not return in ZEND_VM_ENTER_EX, ZEND_VM_LEAVE
arnaud-lb Mar 20, 2026
5375e97
[skip ci] Fix typos in ext/dba/libinifile/inifile.c
LamentXU123 Mar 25, 2026
e5a723e
Avoid goto into zend_try block in do_cli()
iluuu1994 Mar 25, 2026
d92c822
Revert "Avoid goto into zend_try block in do_cli()"
iluuu1994 Mar 25, 2026
1655d57
Merge branch 'PHP-8.5'
devnexen Mar 25, 2026
f6f6fa9
Merge branch 'PHP-8.5'
shivammathur Mar 26, 2026
80504a6
Merge branch 'PHP-8.5'
arnaud-lb Mar 26, 2026
437dce7
ext/spl: add test for phpinfo() output
Girgias Mar 25, 2026
8c37bb9
ext/spl: refactor reflection-like functions
Girgias Mar 25, 2026
b3f2a3d
Merge branch 'PHP-8.5'
Girgias Mar 26, 2026
5e45c17
[ext/standard] Use hash add_new variant in array_count_values()
arshidkv12 Mar 26, 2026
4f02d15
ext/ldap: ldap_free_result() always returns true
Girgias Mar 26, 2026
a2c9606
ext/ldap: CS nit
Girgias Mar 26, 2026
e5f9650
ext/xml: Use zend_hash_lookup() for missing array keys (#21536)
arshidkv12 Mar 26, 2026
8df516c
ext/xsl: Remove dead code in importStylesheet and use direct property…
devnexen Mar 26, 2026
67cbe09
Zend/Optimizer/zend_dump: minor refactorings (#21540)
Girgias Mar 27, 2026
594e002
Merge branch 'PHP-8.5'
iluuu1994 Mar 27, 2026
05b3c28
Slightly optimize hash add_new for packed arrays (GH-21539)
iluuu1994 Mar 27, 2026
e4b3ffe
Merge branch 'PHP-8.5'
iluuu1994 Mar 27, 2026
0401fb3
[fileinfo] Hide libmagic dynamic symbols
orlitzky Mar 20, 2026
9f71d29
[skip ci] Fix typos in ext/soap (GH-21551)
LamentXU123 Mar 27, 2026
e1e38e1
zend_string: Simplify `zend_string_concat[23]` with `zend_mempcpy` (#…
TimWolla Mar 27, 2026
9cb1150
gen_stub: Fix generation for `@generate-legacy-arginfo 70000` (#21554)
TimWolla Mar 27, 2026
83b8a89
zend_cfg: use uint32_t type rather than int type (#21542)
Girgias Mar 27, 2026
a9fad08
[skip ci] Update LICENSE to 2026 (GH-21562)
LamentXU123 Mar 28, 2026
3c800cc
[skip ci] Fix various typos in ext/standard (GH-21559)
LamentXU123 Mar 28, 2026
6538015
Merge branch 'PHP-8.5'
devnexen Mar 28, 2026
d28d59a
Zend/Optimizer/dfa_pass.c: refactor zend_dfa_optimize_calls() (#21549)
Girgias Mar 28, 2026
465ecaa
ext/standard: zend_string_concat2() instead of manual memcpy (#21567)
arshidkv12 Mar 28, 2026
78f2d44
uri: Preinitialize `errors` array with the correct size in `fill_erro…
LamentXU123 Mar 28, 2026
02614a2
ext/spl: zend_string_concat3() instead of manual memcpy for sub_path …
arshidkv12 Mar 28, 2026
7e7607f
Merge branch 'PHP-8.5'
iluuu1994 Mar 28, 2026
5bb980b
Merge branch 'PHP-8.5'
iluuu1994 Mar 28, 2026
c45b2be
Optimize string allocation in `uri_parser_rfc3986` when getting IPv6 …
LamentXU123 Mar 28, 2026
73c4690
[skip ci] Fix various typos in ext/zip (GH-21571)
LamentXU123 Mar 29, 2026
358d9c5
Fix bug #49874: ftell() and fseek() inconsistency when using stream f…
bukka Mar 30, 2026
c3a1214
ext/standard: Use posix_spawn_file_actions_addchdir when available (#…
NattyNarwhal Mar 30, 2026
cd75300
Audit INI functions and macros, and replace them with better alternat…
Girgias Mar 30, 2026
0ada938
Zend: Preallocate error buffer with capacity tracking (#20565)
devnexen Mar 30, 2026
0b70abc
gen_stub: Implement deep cloning using `array_map()` (#21555)
TimWolla Mar 30, 2026
cc77b6f
gen_stub: move constructors above other methods
DanielEScherzer Mar 21, 2026
5b2df3b
gen_stub: use constructor property promotion
DanielEScherzer Mar 20, 2026
b1710f4
gen_stub: use str_starts_with() and str_ends_with()
DanielEScherzer Mar 20, 2026
f7a5a32
Fix minor typo in NEWS (resuse -> reuse) (#21586)
LamentXU123 Mar 31, 2026
bd042a5
Merge branch 'PHP-8.5'
arnaud-lb Mar 31, 2026
a231da8
sapi/phpdbg: refactor phpdbg_load_module_or_extension() (#21578)
Girgias Mar 31, 2026
d5f4c43
Merge branch 'PHP-8.5'
devnexen Mar 31, 2026
d4db3a9
Merge branch 'PHP-8.5'
iluuu1994 Mar 31, 2026
87b8345
Merge branch 'PHP-8.5'
iluuu1994 Mar 31, 2026
75ed209
Merge branch 'PHP-8.5'
dstogov Apr 1, 2026
43c0a78
properly initialize AEAD cipher flags in OpenSSL backend
jordikroon Jan 6, 2026
344b75d
allow null AAD parameter in openssl_encrypt/decrypt
jordikroon Jan 7, 2026
4e50174
Check for EVP_CIPH_SIV_MODE in switch
jordikroon Jan 12, 2026
7fbc6da
Update tests and introduce aad_supports_vector
jordikroon Jan 13, 2026
b525afa
Fix switch statement
jordikroon Jan 13, 2026
d2b545a
re-add filename to openssl arginfo
jordikroon Apr 3, 2026
2b81ae6
Add AES-GCM-SIV AEAD support (RFC 8452)
Rakdos8 Apr 25, 2026
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
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
arm:
resource_class: arm.medium
docker:
- image: cimg/base:current-22.04
- image: cimg/base:current-24.04
- image: mysql:8.4
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: true
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
libreadline-dev \
libldap2-dev \
libsodium-dev \
libargon2-0-dev \
libargon2-dev \
libmm-dev \
libsnmp-dev \
snmpd \
Expand All @@ -78,7 +78,7 @@ jobs:
libqdbm-dev \
libjpeg-dev \
libpng-dev \
libfreetype6-dev
libfreetype-dev
- run:
name: ./configure
command: |
Expand Down
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

# Collapse generated files within git and pull request diff.
**/*_arginfo.h linguist-generated -diff
**/*_decl.h linguist-generated -diff
/main/debug_gdb_scripts.c linguist-generated -diff
/Zend/zend_vm_execute.h linguist-generated -diff
/Zend/zend_vm_handlers.h linguist-generated -diff
Expand Down
9 changes: 5 additions & 4 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,15 @@ body:
attributes:
label: PHP Version
description: |
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.
Please run PHP with the `-v` flag (e.g. `php -v`, `php8.5 -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.

Please make sure that the used PHP version [is a supported version](https://www.php.net/supported-versions.php).
placeholder: |
PHP 8.3.19 (cli) (built: Mar 13 2025 17:44:40) (NTS)
PHP 8.5.2 (cli) (built: Jan 21 2026 17:35:28) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.19, Copyright (c) Zend Technologies
with Zend OPcache v8.3.19, Copyright (c), by Zend Technologies
Built by Ubuntu
Zend Engine v4.5.2, Copyright (c) Zend Technologies
with Zend OPcache v8.5.2, Copyright (c), by Zend Technologies
render: plain
validations:
required: true
Expand Down
10 changes: 10 additions & 0 deletions .github/actions/configure-unit-tests/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: ./configure (unit tests)
description: Configure PHP with minimal settings for unit testing
runs:
using: composite
steps:
- shell: bash
run: |
set -x
./buildconf --force
./configure --disable-all --enable-embed=static
2 changes: 1 addition & 1 deletion .github/actions/setup-mssql/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ runs:
-p 1433:1433 \
--name sql1 \
-h sql1 \
-d mcr.microsoft.com/mssql/server:2022-CU14-ubuntu-22.04
-d mcr.microsoft.com/mssql/server:2025-latest
4 changes: 2 additions & 2 deletions .github/actions/verify-generated-files/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ runs:
Zend/zend_vm_gen.php
ext/tokenizer/tokenizer_data_gen.php
build/gen_stub.php -f --generate-optimizer-info --verify
# Use the -a flag for a bug in git 2.46.0, which doesn't consider changed -diff files.
git add . -N && git diff -a --exit-code
ext/phar/makestub.php
.github/scripts/test-directory-unchanged.sh .
1 change: 1 addition & 0 deletions .github/scripts/download-bundled/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!*.patch
41 changes: 41 additions & 0 deletions .github/scripts/download-bundled/boost-context.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#!/bin/sh
set -ex
cd "$(dirname "$0")/../../.."

tmp_dir=/tmp/php-src-download-bundled/boost-context
rm -rf "$tmp_dir"

revision=refs/tags/boost-1.86.0

git clone --depth 1 --revision="$revision" https://github.com/boostorg/context.git "$tmp_dir"

rm -rf Zend/asm
cp -R "$tmp_dir"/src/asm Zend/asm

cd Zend/asm

# remove unneeded files
rm jump_arm_aapcs_pe_armasm.asm
rm jump_i386_ms_pe_clang_gas.S
rm jump_i386_ms_pe_gas.asm
rm jump_i386_x86_64_sysv_macho_gas.S
rm jump_ppc32_ppc64_sysv_macho_gas.S
rm jump_x86_64_ms_pe_clang_gas.S
rm make_arm_aapcs_pe_armasm.asm
rm make_i386_ms_pe_clang_gas.S
rm make_i386_ms_pe_gas.asm
rm make_i386_x86_64_sysv_macho_gas.S
rm make_ppc32_ppc64_sysv_macho_gas.S
rm make_x86_64_ms_pe_clang_gas.S
rm ontop_*.S
rm ontop_*.asm
rm tail_ontop_ppc32_sysv.cpp

# move renamed files
# GH-13896 introduced these 2 files named as .S but since https://github.com/boostorg/context/pull/265 they are named as .asm
mv jump_x86_64_ms_pe_gas.asm jump_x86_64_ms_pe_gas.S
mv make_x86_64_ms_pe_gas.asm make_x86_64_ms_pe_gas.S

# add extra files
git restore LICENSE
git restore save_xmm_x86_64_ms_masm.asm # added in GH-18352, not an upstream boost.context file
35 changes: 35 additions & 0 deletions .github/scripts/download-bundled/pcre2.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/bin/sh
set -ex
cd "$(dirname "$0")/../../.."

tmp_dir=/tmp/php-src-download-bundled/pcre2
rm -rf "$tmp_dir"

revision=refs/tags/pcre2-10.44

git clone --depth 1 --recurse-submodules --revision="$revision" https://github.com/PCRE2Project/pcre2.git "$tmp_dir"

rm -rf ext/pcre/pcre2lib
cp -R "$tmp_dir"/src ext/pcre/pcre2lib

cd ext/pcre/pcre2lib

# remove unneeded files
rm config.h.generic
rm pcre2.h.in
rm pcre2_dftables.c
rm pcre2_fuzzsupport.c
rm pcre2_jit_test.c
rm pcre2demo.c
rm pcre2grep.c
rm pcre2posix.c
rm pcre2posix.h
rm pcre2posix_test.c
rm pcre2test.c

# move renamed files
mv pcre2.h.generic pcre2.h
mv pcre2_chartables.c.dist pcre2_chartables.c

# add extra files
git restore config.h # based on config.h.generic but with many changes
14 changes: 14 additions & 0 deletions .github/scripts/download-bundled/uriparser.config.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/ext/uri/uriparser/src/UriConfig.h b/ext/uri/uriparser/src/UriConfig.h
index b9a85a8..ab78b96 100644
--- a/ext/uri/uriparser/src/UriConfig.h
+++ b/ext/uri/uriparser/src/UriConfig.h
@@ -41,7 +41,9 @@

# define PACKAGE_VERSION "@PROJECT_VERSION@"

+/*
#cmakedefine HAVE_WPRINTF
#cmakedefine HAVE_REALLOCARRAY
+*/

#endif /* !defined(URI_CONFIG_H) */
24 changes: 24 additions & 0 deletions .github/scripts/download-bundled/uriparser.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/sh
set -ex
cd "$(dirname "$0")/../../.."

tmp_dir=/tmp/php-src-download-bundled/uriparser
rm -rf "$tmp_dir"

revision=refs/tags/uriparser-1.0.0

git clone --depth 1 --revision="$revision" https://github.com/uriparser/uriparser.git "$tmp_dir"

rm -rf ext/uri/uriparser
mkdir ext/uri/uriparser
cp -R "$tmp_dir"/src ext/uri/uriparser
cp -R "$tmp_dir"/include ext/uri/uriparser
cp "$tmp_dir"/COPYING.BSD-3-Clause ext/uri/uriparser

cd ext/uri/uriparser

# move renamed files
mv src/UriConfig.h.in src/UriConfig.h

# patch customized files
git apply -v ../../../.github/scripts/download-bundled/uriparser.config.patch
16 changes: 16 additions & 0 deletions .github/scripts/test-directory-unchanged.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/sh
set -ex

# use the repo root directory as "--git-dir"
cd "$(dirname "$0")/../.."

dir="$1"

# notify git about untracked (except ignored) files
git add -N "$dir"

# display overview of changed files
git status "$dir"

# display diff of working directory vs HEAD commit and set exit code
git diff -a --exit-code HEAD "$dir"
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- docs/**
jobs:
pages:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
Expand Down
Loading