Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
435 commits
Select commit Hold shift + click to select a range
493b59a
Merge branch 'PHP-8.4' into PHP-8.5
devnexen Apr 10, 2026
9b8a647
Merge branch 'PHP-8.5'
devnexen Apr 10, 2026
556757d
Fix build: use php_globfree wrapper in ZipArchive::addGlob early returns
iliaal Apr 10, 2026
e60f880
Merge branch 'PHP-8.5'
devnexen Apr 10, 2026
663efac
Update UPGRADING/NEWS for ValueErrors
Girgias Apr 10, 2026
605301c
UPGRADING: order extensions alphabetically [skip ci]
DanielEScherzer Apr 10, 2026
9e8dbc1
ext/standard: fix wrong array_filter() default value
Ayesh Apr 10, 2026
3c68fa9
UPGRADING: Fix `ARRAY_FILTER_USE_VALUE` const addition
Ayesh Apr 10, 2026
7744eab
ext/sqlite3: fix wrong pointer types passed to the free list comparator.
devnexen Mar 21, 2026
555e652
Merge branch 'PHP-8.5'
devnexen Apr 10, 2026
8ad79e1
ext/standard: Use RETURN_LONG instead of RETVAL_LONG + return (#21719)
arshidkv12 Apr 11, 2026
afded3d
Simplify gh21031.phpt and solve flakiness
iluuu1994 Apr 9, 2026
749f488
Merge branch 'PHP-8.4' into PHP-8.5
iluuu1994 Apr 11, 2026
3afd2cb
Merge branch 'PHP-8.5'
iluuu1994 Apr 11, 2026
e5c86d2
license-update: ext/bcmath source headers
ramsey Jun 28, 2025
fb37b15
license-update: ext/bz2 source headers
ramsey Jun 28, 2025
bff64ea
license-update: ext/calendar source headers
ramsey Jun 28, 2025
92e8205
license-update: ext/com_dotnet source headers
ramsey Jun 28, 2025
e5f7b88
license-update: ext/ctype source headers
ramsey Jun 28, 2025
f2b9a4a
license-update: ext/curl source headers
ramsey Jun 28, 2025
ae9b028
license-update: ext/date source headers
ramsey Jun 28, 2025
71fb480
license-update: ext/dba source headers
ramsey Jun 28, 2025
2f76185
license-update: ext/dl_test source headers
ramsey Jun 28, 2025
cf23c1e
license-update: ext/dom source headers
ramsey Jun 28, 2025
ca728f4
license-update: ext/enchant source headers
ramsey Jun 28, 2025
c174ef7
license-update: ext/exif source headers
ramsey Jun 28, 2025
ebacd00
license-update: ext/ffi source headers
ramsey Jun 28, 2025
49760b2
license-update: ext/fileinfo source headers
ramsey Jun 28, 2025
c5b3388
license-update: ext/filter source headers
ramsey Jun 28, 2025
929e489
license-update: ext/ftp source headers
ramsey Jun 28, 2025
8964e3f
license-update: ext/gd source headers
ramsey Jun 28, 2025
4d37482
license-update: ext/gettext source headers
ramsey Jun 28, 2025
b231924
license-update: ext/gmp source headers
ramsey Jun 28, 2025
03d9576
license-update: ext/hash source headers
ramsey Jun 28, 2025
c8970b3
license-update: ext/iconv source headers
ramsey Jun 28, 2025
bb06835
license-update: ext/intl source headers
ramsey Jun 28, 2025
1101afb
license-update: ext/json source headers
ramsey Jun 28, 2025
43c1555
license-update: ext/ldap source headers
ramsey Jun 28, 2025
bded30c
license-update: ext/lexbor source headers
ramsey Jun 28, 2025
c2af097
license-update: ext/libxml source headers
ramsey Jun 28, 2025
f141a56
license-update: ext/mbstring source headers
ramsey Jun 28, 2025
056894a
license-update: ext/mysqli source headers
ramsey Jun 28, 2025
e76a336
license-update: ext/mysqlnd source headers
ramsey Jun 28, 2025
bbf2126
license-update: ext/odbc source headers
ramsey Jun 28, 2025
7a2303f
license-update: ext/opcache source headers
ramsey Jun 28, 2025
4fa202a
license-update: ext/openssl source headers
ramsey Jun 28, 2025
eeee731
license-update: ext/pcntl source headers
ramsey Jun 28, 2025
c090841
license-update: ext/pcre source headers
ramsey Jun 28, 2025
b765bbf
license-update: ext/pdo source headers
ramsey Jun 28, 2025
c44d688
license-update: ext/pdo_dblib source headers
ramsey Jun 28, 2025
1615849
license-update: ext/pdo_firebird source headers
ramsey Jun 28, 2025
16a56fd
license-update: ext/pdo_mysql source headers
ramsey Jun 28, 2025
dd160ca
license-update: ext/pdo_odbc source headers
ramsey Jun 28, 2025
eca7fb4
license-update: ext/pdo_pgsql source headers
ramsey Jun 28, 2025
b943a1b
license-update: ext/pdo_sqlite source headers
ramsey Jun 28, 2025
7740a4e
license-update: ext/pgsql source headers
ramsey Jun 28, 2025
f069da6
license-update: ext/phar source headers
ramsey Jun 28, 2025
c8316b2
license-update: ext/posix source headers
ramsey Jun 28, 2025
712d22d
license-update: ext/random source headers
ramsey Jun 28, 2025
61ebc7f
license-update: ext/readline source headers
ramsey Jun 28, 2025
a2cb54d
license-update: ext/reflection source headers
ramsey Jun 28, 2025
25b6335
license-update: ext/session source headers
ramsey Jun 28, 2025
46bb4fc
license-update: ext/shmop source headers
ramsey Jun 28, 2025
85d1394
license-update: ext/simplexml source headers
ramsey Jun 28, 2025
f80f679
license-update: ext/snmp source headers
ramsey Jun 28, 2025
d14aad1
license-update: ext/soap source headers
ramsey Jun 28, 2025
fb8adda
license-update: ext/sockets source headers
ramsey Jun 28, 2025
1e9c7bd
license-update: ext/sodium source headers
ramsey Jun 28, 2025
07d3b6c
license-update: ext/spl source headers
ramsey Jun 28, 2025
a0f032e
license-update: ext/sqlite3 source headers
ramsey Jun 28, 2025
5164621
license-update: ext/standard source headers
ramsey Jun 28, 2025
7a7df1f
license-update: ext/sysvmsg source headers
ramsey Jun 28, 2025
548eb95
license-update: ext/sysvsem source headers
ramsey Jun 28, 2025
850c177
license-update: ext/sysvshm source headers
ramsey Jun 28, 2025
1fbfabe
license-update: ext/tidy source headers
ramsey Jun 28, 2025
77d7c0e
license-update: ext/tokenizer source headers
ramsey Jun 28, 2025
113d1ac
license-update: ext/uri source headers
ramsey Jun 28, 2025
c3e63ae
license-update: ext/xml source headers
ramsey Jun 28, 2025
462bdf8
license-update: ext/xmlreader source headers
ramsey Jun 28, 2025
4d92655
license-update: ext/xmlwriter source headers
ramsey Jun 28, 2025
7dafb83
license-update: ext/xsl source headers
ramsey Jun 28, 2025
f04af71
license-update: ext/zend_test source headers
ramsey Jun 28, 2025
67347de
license-update: ext/zip source headers
ramsey Jun 28, 2025
40be849
license-update: ext/zlib source headers
ramsey Jun 28, 2025
c3b755b
license-update: ext_skel.php source headers
ramsey Jun 28, 2025
b98e498
license-update: main/streams source headers
ramsey Jun 28, 2025
715fcf1
license-update: main source headers
ramsey Jun 28, 2025
6d30bed
license-update: sapi/apache2handler source headers
ramsey Jun 28, 2025
8d814cd
license-update: sapi/cgi source headers
ramsey Jun 28, 2025
316629d
license-update: sapi/cli source headers
ramsey Jun 28, 2025
8a95ef1
license-update: sapi/embed source headers
ramsey Jun 28, 2025
bfe88f1
license-update: sapi/fpm source headers
ramsey Jun 28, 2025
27f7bb7
license-update: sapi/fuzzer source headers
ramsey Jun 28, 2025
c4ec4e2
license-update: sapi/litespeed source headers
ramsey Jun 28, 2025
e1984cb
license-update: sapi/phpdbg source headers
ramsey Jun 28, 2025
ac0b05d
license-update: scripts source headers
ramsey Jun 28, 2025
1fb8acd
license-update: TSRM source headers
ramsey Jun 28, 2025
bd07d1b
license-update: win32 source headers
ramsey Jun 28, 2025
3c85b15
license-update: Zend/Optimizer source headers
ramsey Jun 28, 2025
084a10a
license-update: Zend source headers
ramsey Jun 28, 2025
3ba0b9c
license-update: run-tests.php source headers
ramsey Jun 28, 2025
1b93524
license-update: docs source headers
ramsey Jun 28, 2025
19cb3b0
license-update: version info output
ramsey Jun 28, 2025
7fd4d3a
license-update: update phpinfo() license statements
ramsey Jun 28, 2025
f414d44
license-update: man pages
ramsey Jun 28, 2025
a6eaf95
license-update: LICENSE files
ramsey Jun 28, 2025
e8684c3
license-update: configure message
ramsey Jun 28, 2025
a2723b1
license-update: README and CONTRIBUTING docs
ramsey Jun 28, 2025
65200a4
license-update: license info for mysqlnd plugin
ramsey Jun 28, 2025
cc4ce2b
license-update: remove copyright years from info output
ramsey Jan 11, 2026
e439494
license-update: update Zend copyright name
ramsey Feb 5, 2026
06b3376
license-update: revise license statement in phpinfo
ramsey Feb 5, 2026
3610840
license-update: update license header in ext/intl/rangeformatter sources
ramsey Apr 4, 2026
cef6fbe
Decrease zend.max_allowed_stack_size in stack_limit_015.phpt
shivammathur Apr 12, 2026
bc82e6b
Merge branch 'PHP-8.3' into PHP-8.4
iluuu1994 Apr 12, 2026
4f6e99c
Merge branch 'PHP-8.4' into PHP-8.5
iluuu1994 Apr 12, 2026
1481ac7
Merge branch 'PHP-8.5'
iluuu1994 Apr 12, 2026
9f68d3c
[ci skip] Update EXTENSIONS status and update CODEOWNERS
ndossche Apr 12, 2026
17226f2
Merge branch 'PHP-8.4' into PHP-8.5
ndossche Apr 12, 2026
4300804
Merge branch 'PHP-8.5'
ndossche Apr 12, 2026
5e6b90e
Fix GH-21730: Mt19937::__debugInfo() leaks state HashTable when the s…
iliaal Apr 12, 2026
46940a0
Merge branch 'PHP-8.4' into PHP-8.5
TimWolla Apr 12, 2026
7415c50
Merge branch 'PHP-8.5'
TimWolla Apr 12, 2026
1a428e5
Fix GH-21731: Random\Engine\Xoshiro256StarStar::__unserialize() accep…
iliaal Apr 12, 2026
f90e532
Fix order in NEWS
TimWolla Apr 12, 2026
73eace2
Merge branch 'PHP-8.4' into PHP-8.5
TimWolla Apr 12, 2026
2181129
Merge branch 'PHP-8.5'
TimWolla Apr 12, 2026
e585034
Fix GH-21699: callable resolution must fail if error handler threw du…
macoaure Apr 13, 2026
d64eb79
Fix-up NEWS
Girgias Apr 13, 2026
c85ea3c
Merge branch 'PHP-8.4' into PHP-8.5
Girgias Apr 13, 2026
0d30d82
Merge branch 'PHP-8.5'
Girgias Apr 13, 2026
08dad09
Fix GH-8561, GH-8562, GH-8563, GH-8564: SplFileObject iterator desync…
iliaal Apr 13, 2026
159b4ee
Add NEWS entry for SplFileObject iterator fixes
Girgias Apr 13, 2026
d0167e7
ext/snmp: rename argument and variables to be more consistent and inf…
prateekbhujel Apr 13, 2026
d1670fb
Add date.timezone=UTC to the INI overwrites in run-tests.php
hakre Apr 11, 2026
d341eb7
Merge branch 'PHP-8.4' into PHP-8.5
iluuu1994 Apr 13, 2026
b34d906
Merge branch 'PHP-8.5'
iluuu1994 Apr 13, 2026
91b0aeb
Remove charsets plugin (#21714)
kamil-tekiela Apr 13, 2026
9b6f83e
ext/pdo_odbc: Require non-empty string when building string buffer (#…
NattyNarwhal Apr 13, 2026
c9cc472
Merge branch 'PHP-8.4' into PHP-8.5
NattyNarwhal Apr 13, 2026
7136751
Merge branch 'PHP-8.5'
NattyNarwhal Apr 13, 2026
9d30bd5
Finish deprecation of $row < 1 (#21053)
NattyNarwhal Apr 13, 2026
72c12ea
Add myself to DOM/XML/SOAP/SimpleXML/XMLReader/Writer and XSL.
devnexen Apr 13, 2026
a82696d
Merge branch 'PHP-8.4' into PHP-8.5
devnexen Apr 13, 2026
1510196
Merge branch 'PHP-8.5'
devnexen Apr 13, 2026
ebb6e4f
Zend/zend_execute.c: add const qualifiers
Girgias Apr 2, 2026
f4db0d0
Zend/zend_execute.c: use zend_never_inline ZEND_COLD
Girgias Apr 6, 2026
933ae15
Zend/zend_execute.c: mark some error functions as static
Girgias Apr 2, 2026
6b159ca
Zend/zend_execute.c: mark error functions as zend_never_inline
Girgias Apr 2, 2026
bc42a87
Zend/zend_execute.c: mark zend_non_static_method_call() as ZEND_COLD …
Girgias Apr 2, 2026
d648cc1
Zend/zend_execute.c: use uint32_t type instead of int type
Girgias Apr 2, 2026
6c5bed3
Fix missing addref for __unset
iluuu1994 Apr 2, 2026
be9f26d
Merge branch 'PHP-8.4' into PHP-8.5
iluuu1994 Apr 14, 2026
ddeda32
Merge branch 'PHP-8.5'
iluuu1994 Apr 14, 2026
d0d1627
ext/phar: add missing EXTENSIONS section for test (#21744)
Girgias Apr 14, 2026
a97677c
UPGRADING: document SplFileObject iterator fixes in PHP 8.6 (#21753)
iliaal Apr 14, 2026
1195f27
ext/phar: restructure code to be more legible (#21745)
Girgias Apr 14, 2026
3948dbe
ext/phar: use zend_string* and concat API for constructor argument
Girgias Apr 14, 2026
e1c5049
ext/phar: refactor phar_fix_filepath() to return zend_string* rather …
Girgias Apr 14, 2026
b8c3bf9
ext/phar: Drop unnecessary Windows code as filepath is already unixie…
Girgias Apr 15, 2026
edd99f7
ext/ldap: Enable ldap_set_rebind_proc() on Windows (#21749)
petk Apr 15, 2026
fbd3017
GH-21754: sapi/cli: avoid deprecation messages with `--rf` and method…
DanielEScherzer Apr 15, 2026
1c6c7bc
Merge branch 'PHP-8.4' into PHP-8.5
DanielEScherzer Apr 15, 2026
be67a37
Merge branch 'PHP-8.5'
DanielEScherzer Apr 15, 2026
f437b8b
docs: add error message wording conventions to CODING_STANDARDS (#21761)
jorgsowa Apr 15, 2026
16baee5
Upgrade Lexbor to v2.7.0
ndossche Mar 14, 2026
d58d3d2
Merge branch 'PHP-8.4' into PHP-8.5
iluuu1994 Apr 16, 2026
b63717c
Merge branch 'PHP-8.5'
iluuu1994 Apr 16, 2026
f7eb5ef
[skip ci] Add note for lexbor v2.7.0 upgrade
iluuu1994 Apr 16, 2026
9c6ec37
Merge branch 'PHP-8.4' into PHP-8.5
iluuu1994 Apr 16, 2026
4997418
Merge branch 'PHP-8.5'
iluuu1994 Apr 16, 2026
e2a9232
ext/phar: use zend_string for entry in phar_split_fname() (#21767)
Girgias Apr 16, 2026
eb763fb
ext/phar: arch variable is only needed once in phar_file_stat() (#21780)
Girgias Apr 16, 2026
6031497
ext/phar: add const qualifiers (#21779)
Girgias Apr 16, 2026
8d28c05
ext/phar: refactor phar_split_fname() to return zend_string* rather t…
Girgias Apr 17, 2026
ce3a240
ext/phar/utils.c: Change if guard to assertion in phar_get_link_locat…
Girgias Apr 17, 2026
4b4ba03
gen_stub: fix invalid C variable name for namespaced types in union/i…
GromNaN Apr 17, 2026
fa5ab4f
gen_stub: support use statements in stub files (#21784)
GromNaN Apr 17, 2026
ec79850
Fix GH-21683: PDOStatement::fetch() throws on empty result With PDO::…
thomasschiet Apr 9, 2026
8b34389
Merge branch 'PHP-8.5'
devnexen Apr 18, 2026
a287430
CONTRIBUTING.md: Update branch status (#21796)
LamentXU123 Apr 18, 2026
b33fee5
ext/phar: refactor phar_entry_info.link field (#21790)
Girgias Apr 18, 2026
2945c72
build/gen_stub: support asymmetric visibility modifiers. (#21773)
devnexen Apr 18, 2026
0236667
ext/gmp: gmp_fact() reject values larger than unsigned long.
devnexen Apr 18, 2026
efecd13
gen_stub: set up PHP 8.6 support (#21792)
DanielEScherzer Apr 18, 2026
b40cae2
[ci skip] ext/dom: NEWS/UPGRADING notes for asymmetric visibility on …
devnexen Apr 18, 2026
fad4323
Replace google.com with example.com in URI test fixtures (#21807)
jordikroon Apr 19, 2026
2d651e2
zend_inheritance: Fix enum case conflict in trait binding (#21771)
prateekbhujel Apr 20, 2026
2de529f
Merge branch 'PHP-8.4' into PHP-8.5
TimWolla Apr 20, 2026
95a17af
Merge branch 'PHP-8.5'
TimWolla Apr 20, 2026
46286fb
Accept HY000 in pdo_firebird autocommit test (#21789)
shivammathur Apr 20, 2026
3bb8072
Merge branch 'PHP-8.4' into PHP-8.5
shivammathur Apr 20, 2026
42162bd
Merge branch 'PHP-8.5'
shivammathur Apr 20, 2026
2bd6579
Check for __has_attribute(x) and/or clang instead of only basing exis…
henderkes Apr 20, 2026
7cd8a0a
[Windows] Improve clang-cl support (#21618)
henderkes Apr 20, 2026
3afd6d3
/ext/standard: Check for empty string in linkinfo() (#21793)
LamentXU123 Apr 20, 2026
383ff8c
ext/session: improve parsing of session.cookie_lifetime (#21704)
jorgsowa Apr 20, 2026
b77b505
phar: restore is_link handler in phar_intercept_functions_shutdown
iliaal Apr 18, 2026
36c4195
phar: fix NULL dereference in Phar::webPhar() when SCRIPT_NAME is absent
iliaal Apr 18, 2026
b9aaa05
phar: free is_temp_dir entry before rejecting .phar/* paths in offsetGet
iliaal Apr 18, 2026
0c99bd7
phar: call phar_entry_delref before goto finish in phar_add_file erro…
iliaal Apr 18, 2026
30f3685
phar: propagate phar_stream_flush return value from phar_stream_close
iliaal Apr 18, 2026
2fe8527
ext/phar: Fix memory leak in phar_verify_signature() when md_ctx is i…
JarneClauw Apr 13, 2026
3df1fa7
Update NEWS for recent bug fixes
Girgias Apr 20, 2026
786356d
Merge branch 'PHP-8.4' into PHP-8.5
Girgias Apr 20, 2026
c36c50e
Merge branch 'PHP-8.5'
Girgias Apr 20, 2026
617e4c3
ext/gmp: reject values larger than unsigned long in gmp_pow/binomial/…
devnexen Apr 19, 2026
c380bd5
[skip ci] Backport CI changes
iluuu1994 Apr 20, 2026
48605f4
Merge branch 'PHP-8.2' into PHP-8.3
iluuu1994 Apr 20, 2026
7a7f5ac
Merge branch 'PHP-8.3' into PHP-8.4
iluuu1994 Apr 20, 2026
38b20dd
Merge branch 'PHP-8.4' into PHP-8.5
iluuu1994 Apr 20, 2026
e07d066
Merge branch 'PHP-8.5'
iluuu1994 Apr 20, 2026
d965793
ext/session: fix missing zval_ptr_dtor for retval in PS_GC_FUNC(user)
jorgsowa Apr 14, 2026
298061b
Merge branch 'PHP-8.4' into PHP-8.5
Girgias Apr 21, 2026
fc9a4a3
Merge branch 'PHP-8.5'
Girgias Apr 21, 2026
701d8a6
ext/standard: Throw a ValueError when the parameter includes NUL byte…
LamentXU123 Apr 21, 2026
8b6b4a6
[skip ci] Tweak paths-ignore
LamentXU123 Apr 20, 2026
19598f3
[skip ci] Sort paths-ignore and remove cirrus
iluuu1994 Apr 21, 2026
bdf0672
Merge branch 'PHP-8.2' into PHP-8.3
iluuu1994 Apr 21, 2026
6a5525c
Merge branch 'PHP-8.3' into PHP-8.4
iluuu1994 Apr 21, 2026
c40041f
Merge branch 'PHP-8.4' into PHP-8.5
iluuu1994 Apr 21, 2026
fc8f56c
Merge branch 'PHP-8.5'
iluuu1994 Apr 21, 2026
d60e7a1
[skip ci] Mark curl/bug71523.phpt as online test
iluuu1994 Apr 21, 2026
505e9fe
Merge branch 'PHP-8.2' into PHP-8.3
iluuu1994 Apr 21, 2026
ed1b00c
Merge branch 'PHP-8.3' into PHP-8.4
iluuu1994 Apr 21, 2026
f8b1f08
Merge branch 'PHP-8.4' into PHP-8.5
iluuu1994 Apr 21, 2026
f63be32
Merge branch 'PHP-8.5'
iluuu1994 Apr 21, 2026
c0d0212
ext/phar: remove `phar_archive_data->alias == phar_archive_data->fnam…
Girgias Apr 21, 2026
aeb5671
PHP 8.4 is now for PHP 8.4.22-dev
NattyNarwhal Apr 21, 2026
cb363ec
Merge branch 'PHP-8.4' into PHP-8.5
NattyNarwhal Apr 21, 2026
61eb31a
Merge branch 'PHP-8.5'
NattyNarwhal Apr 21, 2026
355571c
Fix usage of optimize attribute on unsupported compilers (GH-21819)
iluuu1994 Apr 21, 2026
637c116
ext/mysqli: Throw error when mysql_stmt_data_seek cannot be executed …
kamil-tekiela Apr 21, 2026
9cf4182
gen_stub: fix invalid C variable name for namespaced types in union/i…
GromNaN Apr 17, 2026
e88a9d1
Merge branch 'PHP-8.5'
kocsismate Apr 21, 2026
c6ef114
PHP-8.5 is now for PHP 8.5.7-dev
DanielEScherzer Apr 21, 2026
239a8be
Merge branch 'PHP-8.5'
DanielEScherzer Apr 21, 2026
9d53371
ext/phar: reduce scope of variables and clean up CS
Girgias Apr 21, 2026
4195fc4
ext/phar: no longer assign to variables in if conditions
Girgias Apr 21, 2026
c5a3f46
ext/phar: mark _phar_archive_data.ext field as const
Girgias Apr 21, 2026
60b2d0d
ext/phar: mark last_phar_name global cache field as const
Girgias Apr 21, 2026
d43c523
Fix GH-21544: Dom\XMLDocument::C14N() drops namespace declarations on…
devnexen Mar 28, 2026
86a1b36
Merge branch 'PHP-8.4' into PHP-8.5
devnexen Apr 22, 2026
ee3addf
Merge branch 'PHP-8.5'
devnexen Apr 22, 2026
da58c65
gen_stub: Support fn_flags2 flags
arnaud-lb Apr 21, 2026
2c5dc5d
Add ZEND_ACC2_FORBID_DYN_CALLS
arnaud-lb Apr 21, 2026
0bbb3ce
Partial application
arnaud-lb Aug 5, 2025
94a88c6
Squashed changes
arnaud-lb Jan 6, 2026
e775c27
Use ZEND_ACC2_FORBID_DYN_CALLS
arnaud-lb Apr 22, 2026
a7331b1
Comment
arnaud-lb Apr 22, 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
  •  
  •  
  •  
21 changes: 10 additions & 11 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@

/.github @TimWolla
/build/gen_stub.php @kocsismate
/ext/bcmath @ndossche @SakiTakamachi
/ext/bcmath @SakiTakamachi
/ext/curl @adoy
/ext/date @derickr
/ext/dba @Girgias
/ext/dom @ndossche
/ext/dom @devnexen
/ext/ffi @dstogov
/ext/gd @devnexen
/ext/gettext @devnexen
/ext/gmp @Girgias
/ext/intl @devnexen
/ext/libxml @devnexen
/ext/json @bukka
/ext/lexbor @kocsismate @ndossche
/ext/libxml @ndossche
/ext/lexbor @kocsismate
/ext/mbstring @alexdowad @youkidearitai
/ext/mysqli @bukka @kamil-tekiela
/ext/mysqlnd @bukka @kamil-tekiela @SakiTakamachi
Expand All @@ -47,17 +47,16 @@
/ext/random @TimWolla @zeriyoshi
/ext/reflection @DanielEScherzer
/ext/session @Girgias
/ext/simplexml @ndossche
/ext/soap @ndossche
/ext/simplexml @devnexen
/ext/soap @devnexen
/ext/sockets @devnexen
/ext/spl @Girgias
/ext/standard @bukka
/ext/tidy @ndossche
/ext/uri @kocsismate @TimWolla
/ext/xml @ndossche
/ext/xmlreader @ndossche
/ext/xmlwriter @ndossche
/ext/xsl @ndossche
/ext/xml @devnexen
/ext/xmlreader @devnexen
/ext/xmlwriter @devnexen
/ext/xsl @devnexen
/main @bukka
/sapi/fpm @bukka
/Zend/Optimizer @dstogov
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ body:
Please make sure that the used PHP version [is a supported version](https://www.php.net/supported-versions.php).
placeholder: |
PHP 8.5.2 (cli) (built: Jan 21 2026 17:35:28) (NTS)
Copyright (c) The PHP Group
Copyright © The PHP Group and Contributors
Built by Ubuntu
Zend Engine v4.5.2, Copyright (c) Zend Technologies
with Zend OPcache v8.5.2, Copyright (c), by Zend Technologies
Zend Engine v4.5.2, Copyright © Zend by Perforce
with Zend OPcache v8.5.2, Copyright ©, Zend by Perforce
render: plain
validations:
required: true
Expand Down
6 changes: 2 additions & 4 deletions .github/actions/freebsd/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ runs:
pkgconf \
webp \
libavif \
`#sqlite3` \
sqlite3 \
curl \
$OPCACHE_TLS_TESTS_DEPS

Expand All @@ -57,9 +57,7 @@ runs:
--enable-debug \
--enable-option-checking=fatal \
--enable-fpm \
`#--with-pdo-sqlite` \
--without-sqlite3 \
--without-pdo-sqlite \
--with-pdo-sqlite \
--without-pear \
--with-bz2 \
--with-avif \
Expand Down
12 changes: 12 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@
- scripts/**/*
- win32/build/**/*

"Category: CI":
- changed-files:
- any-glob-to-any-file:
- .circleci/*
- .github/actions/**/*
- .github/scripts/**/*
- .github/workflows/*
- .github/CODEOWNERS
- .github/labeler.yml
- .github/setup_hmailserver.php
- .github/matrix.php

"Extension: bcmath":
- changed-files:
- any-glob-to-any-file:
Expand Down
15 changes: 9 additions & 6 deletions .github/matrix.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,15 @@ function select_jobs($repository, $trigger, $nightly, $labels, $php_version, $re
$jobs['SOLARIS'] = true;
}
if ($all_jobs || !$no_jobs || $test_windows) {
$jobs['WINDOWS']['matrix'] = $all_variations
? ['include' => [
['asan' => true, 'opcache' => true, 'x64' => true, 'zts' => true],
['asan' => false, 'opcache' => false, 'x64' => false, 'zts' => false],
]]
: ['include' => [['asan' => false, 'opcache' => true, 'x64' => true, 'zts' => true]]];
$matrix = [['asan' => false, 'opcache' => true, 'x64' => true, 'zts' => true]];
if ($all_variations) {
$matrix[] = ['asan' => true, 'opcache' => true, 'x64' => true, 'zts' => true];
$matrix[] = ['asan' => false, 'opcache' => false, 'x64' => false, 'zts' => false];
if (version_compare($php_version, '8.5', '>=')) {
$matrix[] = ['asan' => false, 'opcache' => true, 'x64' => true, 'zts' => true, 'clang' => true];
}
}
$jobs['WINDOWS']['matrix'] = ['include' => $matrix];
$jobs['WINDOWS']['config'] = version_compare($php_version, '8.4', '>=')
? ['vs_crt_version' => 'vs17']
: ['vs_crt_version' => 'vs16'];
Expand Down
8 changes: 7 additions & 1 deletion .github/scripts/windows/build_task.bat
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,18 @@ if %errorlevel% neq 0 exit /b 3
if "%THREAD_SAFE%" equ "0" set ADD_CONF=%ADD_CONF% --disable-zts
if "%INTRINSICS%" neq "" set ADD_CONF=%ADD_CONF% --enable-native-intrinsics=%INTRINSICS%
if "%ASAN%" equ "1" set ADD_CONF=%ADD_CONF% --enable-sanitizer --enable-debug-pack
if "%CLANG_TOOLSET%" equ "1" set ADD_CONF=%ADD_CONF% --with-toolset=clang

rem C4018: comparison: signed/unsigned mismatch
rem C4146: unary minus operator applied to unsigned type
rem C4244: type conversion, possible loss of data
rem C4267: 'size_t' type conversion, possible loss of data
set CFLAGS=/W3 /WX /wd4018 /wd4146 /wd4244 /wd4267
if "%CLANG_TOOLSET%" equ "1" (
rem Clang is much stricter than MSVC, produces too many warnings that would fail the build with /WX
set CFLAGS=/W3 /wd4018 /wd4146 /wd4244 /wd4267
) else (
set CFLAGS=/W3 /WX /wd4018 /wd4146 /wd4244 /wd4267
)

cmd /c configure.bat ^
--enable-snapshot-build ^
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -413,10 +413,15 @@ jobs:
with:
enableOpcache: true
jitType: tracing
- uses: codecov/codecov-action@v5
- name: Generate coverage report
if: ${{ !cancelled() }}
run: make gcovr-xml
- uses: codecov/codecov-action@v6
if: ${{ !cancelled() }}
with:
disable_search: true
fail_ci_if_error: true
files: gcovr.xml
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
COMMUNITY:
Expand Down Expand Up @@ -935,7 +940,7 @@ jobs:
strategy:
fail-fast: false
matrix: ${{ fromJson(inputs.branch).jobs.WINDOWS.matrix }}
name: "WINDOWS_${{ matrix.x64 && 'X64' || 'X86' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}${{ matrix.asan && '_ASAN' || ''}}"
name: "WINDOWS_${{ matrix.x64 && 'X64' || 'X86' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}${{ matrix.asan && '_ASAN' || ''}}${{ matrix.clang && '_CLANG' || ''}}"
runs-on: windows-2022
env:
PHP_BUILD_CACHE_BASE_DIR: C:\build-cache
Expand All @@ -949,6 +954,7 @@ jobs:
PARALLEL: -j2
OPCACHE: "${{ matrix.opcache && '1' || '0' }}"
ASAN: "${{ matrix.asan && '1' || '0' }}"
CLANG_TOOLSET: "${{ matrix.clang && '1' || '0' }}"
steps:
- name: git config
run: git config --global core.autocrlf false && git config --global core.eol lf
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@ name: Test
on:
push:
paths-ignore: &ignore_paths
- .circleci/**
- .github/CODEOWNERS
- .github/ISSUE_TEMPLATE/**
- '**/*.md'
- '**/*.rst'
- docs/**
- EXTENSIONS
- LICENSE
- NEWS
- UPGRADING
- UPGRADING.INTERNALS
- '**/README.*'
- CONTRIBUTING.md
- CODING_STANDARDS.md
- .cirrus.yml
- .circleci/**
branches:
- PHP-8.2
- PHP-8.3
Expand Down
10 changes: 10 additions & 0 deletions CODING_STANDARDS.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,16 @@ rewritten to comply with these rules.
return value for functions that perform some operation that may
succeed or fail.

1. When throwing a `ValueError` or emitting a warning, use consistent
phrasing for error messages. Common patterns are:

* Type errors: `must be of type int` (use the type name, not e.g. `must be an integer`)
* Range/boundary: `must be between X and Y` / `must be greater than [or equal to] X` / `must be less than X` / `must be finite`
* String constraints: `must not contain any null bytes` / `must not be empty` / `must be a single character`
* Valid value: `must be a valid X` (e.g. `must be a valid encoding`, `must be a valid calendar ID`)
* Enum-like: `must be one of X, Y, or Z`
* Structural: `must have X` / `must have key X` / `must have N elements`

## User functions/methods naming conventions

1. Function names for user-level functions should be enclosed with in the
Expand Down
57 changes: 23 additions & 34 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ implement RFCs. Please be sure to include tests as appropriate!
By submitting a pull request, you certify that you have the necessary rights
to submit the work, that the work does not violate any third-party rights
(including those of your employer, if applicable), and that you license your
contribution under the PHP License or under another license if explicitly
accepted by the PHP project maintainers.
contribution under the [Modified BSD License](LICENSE) or under another license
if explicitly accepted by the PHP project maintainers.

If you are fixing a bug, then please submit your PR against the lowest actively
supported branch of PHP that the bug affects (only green branches on
Expand Down Expand Up @@ -356,30 +356,21 @@ Having said that, here are the organizational rules:
`--enable-zts` switch to ensure your code handles TSRM correctly and doesn't
break for those who need that.

Currently, we have the following branches in use:

| Branch | |
| --------- | --------- |
| master | Active development branch for PHP 8.6, which is open for backwards incompatible changes and major internal API changes. |
| PHP-8.5 | Is used to release the PHP 8.5.x series. This is a current stable version and is open for bugfixes only. |
| PHP-8.4 | Is used to release the PHP 8.4.x series. This is a current stable version and is open for bugfixes only. |
| PHP-8.3 | Is used to release the PHP 8.3.x series. This is a current stable version and is open for bugfixes only. |
| PHP-8.2 | Is used to release the PHP 8.2.x series. This is an old stable version and is open for security fixes only. |
| PHP-8.1 | Is used to release the PHP 8.1.x series. This is an old stable version and is open for security fixes only. |
| PHP-8.0 | This branch is closed. |
| PHP-7.4 | This branch is closed. |
| PHP-7.3 | This branch is closed. |
| PHP-7.2 | This branch is closed. |
| PHP-7.1 | This branch is closed. |
| PHP-7.0 | This branch is closed. |
| PHP-5.6 | This branch is closed. |
| PHP-5.5 | This branch is closed. |
| PHP-5.4 | This branch is closed. |
| PHP-5.3 | This branch is closed. |
| PHP-5.2 | This branch is closed. |
| PHP-5.1 | This branch is closed. |
| PHP-4.4 | This branch is closed. |
| PHP-X.Y.Z | These branches are used for the release managers for tagging the releases, hence they are closed to the general public. |
The master branch is an active development branch for the newest version of PHP,
which is open for backwards incompatible changes and major internal API changes.

For PHP-X.Y branches, they are used to release the PHP X.Y.z series. Please see
the [supported versions page](https://www.php.net/supported-versions.php) to get
the status of each version.

If a version is described as "Active support", the corresponding branch is a
current stable version and is open for bugfixes only. If a version is described
as "Security fixes only", the corresponding branch is an old stable version
and is open for security fixes only. If a version is described as "End of life",
the corresponding branch is closed.

Note that PHP-X.Y.Z branches are used for the release managers for tagging the
releases, hence they are closed to the general public.

The next few rules are more of a technical nature:

Expand Down Expand Up @@ -439,15 +430,13 @@ New source code files should include the following header block:
```c
/*
+----------------------------------------------------------------------+
| Copyright (c) The PHP Group |
| Copyright © The PHP Group and Contributors. |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| https://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
| This source file is subject to the Modified BSD License that is |
| bundled with this package in the file LICENSE, and is available |
| through the World Wide Web at <https://www.php.net/license/>. |
| |
| SPDX-License-Identifier: BSD-3-Clause |
+----------------------------------------------------------------------+
| Author: |
+----------------------------------------------------------------------+
Expand Down
18 changes: 9 additions & 9 deletions EXTENSIONS
Original file line number Diff line number Diff line change
Expand Up @@ -171,28 +171,28 @@ PRIMARY MAINTAINER: Christian Stocker <chregu@php.net> (2003 - 2011)
Rob Richards <rrichards@php.net> (2003 - 2012)
Marcus Börger <helly@php.net> (2003 - 2006)
Nora Dossche <nielsdos@php.net> (2023 - 2026)
MAINTENANCE: Odd fixes
MAINTENANCE: Orphan
STATUS: Working
SINCE: 5.0
-------------------------------------------------------------------------------
EXTENSION: simplexml
PRIMARY MAINTAINER: Marcus Börger <helly@php.net> (2003 - 2008)
Nora Dossche <nielsdos@php.net> (2023 - 2026)
MAINTENANCE: Odd fixes
MAINTENANCE: Orphan
STATUS: Working
SINCE: 5.0
-------------------------------------------------------------------------------
EXTENSION: soap
PRIMARY MAINTAINER: Dmitry Stogov <dmitry@php.net> (2004 - 2018)
Nora Dossche <nielsdos@php.net> (2024 - 2026)
MAINTENANCE: Odd fixes
MAINTENANCE: Orphan
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: xml
PRIMARY MAINTAINER: Thies C. Arntzen <thies@thieso.net> (1999 - 2002)
Rob Richards <rrichards@php.net> (2003 - 2013)
Nora Dossche <nielsdos@php.net> (2023 - 2026)
MAINTENANCE: Odd fixes
MAINTENANCE: Orphan
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: lexbor
Expand All @@ -206,28 +206,28 @@ EXTENSION: libxml
PRIMARY MAINTAINER: Rob Richards <rrichards@php.net> (2003 - 2009)
Christian Stocker <chregu@php.net> (2004 - 2011)
Nora Dossche <nielsdos@php.net> (2023 - 2026)
MAINTENANCE: Odd fixes
MAINTENANCE: Orphan
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: xmlreader
PRIMARY MAINTAINER: Rob Richards <rrichards@php.net> (2004 - 2010)
Christian Stocker <chregu@php.net> (2004 - 2004)
Nora Dossche <nielsdos@php.net> (2023 - 2026)
MAINTENANCE: Odd fixes
MAINTENANCE: Orphan
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: xmlwriter
PRIMARY MAINTAINER: Rob Richards <rrichards@php.net> (2004 - 2010)
Pierre-Alain Joye <pajoye@php.net> (2005-2009)
Nora Dossche <nielsdos@php.net> (2023 - 2026)
MAINTENANCE: Odd fixes
MAINTENANCE: Orphan
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: xsl
PRIMARY MAINTAINER: Christian Stocker <chregu@php.net> (2003 - 2011)
Rob Richards <rrichards@php.net> (2003 - 2010)
Nora Dossche <nielsdos@php.net> (2023 - 2026)
MAINTENANCE: Odd fixes
MAINTENANCE: Orphan
STATUS: Working
SINCE: 5.0
-------------------------------------------------------------------------------
Expand Down Expand Up @@ -496,7 +496,7 @@ PRIMARY MAINTAINER: John Coggeshall <john@php.net> (2003 - 2006)
Ilia Alshanetsky <iliaa@php.net> (2003 - 2009)
Nuno Lopes <nlopess@php.net> (2006 - 2012)
Nora Dossche <nielsdos@php.net> (2025 - 2026)
MAINTENANCE: Odd fixes
MAINTENANCE: Orphan
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: tokenizer
Expand Down
Loading
Loading