Skip to content

sync master #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 639 commits into from
Apr 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
639 commits
Select commit Hold shift + click to select a range
97162e9
Fix opcache dump varying tmps
iluuu1994 Apr 5, 2024
017cf41
Merge branch 'PHP-8.2' into PHP-8.3
iluuu1994 Apr 5, 2024
5363054
Merge branch 'PHP-8.3'
iluuu1994 Apr 5, 2024
0a0e806
Fix serialization of entity references in attributes (#13884)
nielsdos Apr 5, 2024
5ce9687
Fix GH-13891: memleak and segfault when using ini_set with session.tr…
nielsdos Apr 6, 2024
8367e9c
[ci skip] NEWS
nielsdos Apr 6, 2024
eb244fc
Merge branch 'PHP-8.2' into PHP-8.3
nielsdos Apr 6, 2024
cf31332
Merge branch 'PHP-8.3'
nielsdos Apr 6, 2024
7c85104
random: Add clarifying comments to the implementation of CombinedLCG
TimWolla Apr 6, 2024
b981d4a
Declare true return type for ext/odbc functions
kocsismate Apr 6, 2024
9a4847a
Get rid of non-exposed solid_fetch_prev() function
kocsismate Apr 6, 2024
c96b975
filter_input_array - Implement solution 2 of GH-13805 (#13804)
juan-morales Apr 6, 2024
1cf8291
ext/pcntl: cpu affinity api introduction.
devnexen Apr 5, 2024
365e211
Convert odbc_bindcols() function to void (#13900)
kocsismate Apr 7, 2024
0086815
adding myself to ext/pcntl ext. (#13901)
devnexen Apr 7, 2024
a0da32a
Cleanup and optimize attribute value reading (#13897)
nielsdos Apr 7, 2024
a22a872
Add next handler parameter to zend_observer_remove_begin/end_handler …
bwoebi Apr 7, 2024
01817e9
ext/pcntl pcntl_signal_get_handler update.
devnexen Apr 7, 2024
4a14211
Fix persistent local flag in session url updating (#13905)
nielsdos Apr 7, 2024
6c7707e
Merge branch 'PHP-8.2' into PHP-8.3
nielsdos Apr 7, 2024
8140982
Merge branch 'PHP-8.3'
nielsdos Apr 7, 2024
dd2ffaa
ext/pcntl: pcntl affinity improves EINVAL handling in both cases. (#1…
devnexen Apr 7, 2024
d8f2900
ext/pcntl: adding pcntl_getcpu.
devnexen Apr 7, 2024
2aae14c
Fix GH-13860: Incorrect PHP_STREAM_OPTION_CHECK_LIVENESS case in ext/…
nielsdos Apr 5, 2024
9213664
Merge branch 'PHP-8.2' into PHP-8.3
nielsdos Apr 7, 2024
1e4bb03
Merge branch 'PHP-8.3'
nielsdos Apr 7, 2024
0f1e979
Fix GH-13789: build failed mbstring_arginfo.h when Visual C++ on Wind…
youkidearitai Apr 7, 2024
a86256c
Improve stability of test gh13860.phpt
nielsdos Apr 7, 2024
73218e0
Merge branch 'PHP-8.2' into PHP-8.3
nielsdos Apr 7, 2024
68592c8
Merge branch 'PHP-8.3'
nielsdos Apr 7, 2024
7c86062
ext/pcntl: getpriority/setpriority `who` default value handling chang…
devnexen Apr 7, 2024
577b8ae
Fix cookie_seek_function_t signature under musl (#13890)
arnaud-lb Apr 8, 2024
85d6212
[ci skip] NEWS
arnaud-lb Apr 8, 2024
618eb3d
Merge branch 'PHP-8.2' into PHP-8.3
arnaud-lb Apr 8, 2024
0da1eb5
[ci skip] NEWS
arnaud-lb Apr 8, 2024
345580c
Merge branch 'PHP-8.3'
arnaud-lb Apr 8, 2024
af098ac
Always load EX(opline) into the current frame in JIT when observers a…
bwoebi Mar 21, 2024
f52b2a9
Merge branch 'PHP-8.2' into PHP-8.3
bwoebi Apr 8, 2024
13c8d93
Merge branch 'PHP-8.3'
bwoebi Apr 8, 2024
6f8bda0
Fix potential NULL pointer dereference before calling EVP_SignInit
icy17 Apr 8, 2024
07fe3b2
Merge branch 'PHP-8.2' into PHP-8.3
nielsdos Apr 8, 2024
9b5749a
Merge branch 'PHP-8.3'
nielsdos Apr 8, 2024
ae5220a
Avoid call to php_socket_errno() if possible (#13909)
nielsdos Apr 8, 2024
0766ac6
loongarch64 support for fibers
qiangxuhui Apr 1, 2024
e48a5c1
Add zend_test.observer.enabled=0 to opcache tests asserting specific …
bwoebi Apr 8, 2024
5ead5c5
Merge branch 'PHP-8.2' into PHP-8.3
bwoebi Apr 8, 2024
e9292c3
Merge branch 'PHP-8.3'
bwoebi Apr 8, 2024
ea02682
Fix GH-13903: ASAN false positive underflow when executing copy()
nielsdos Apr 8, 2024
b701fa8
Update news
nielsdos Apr 8, 2024
0bc5cb6
Merge branch 'PHP-8.3'
nielsdos Apr 8, 2024
2079da0
Fix #13865 Improve parameter and return value related deprecation mes…
kocsismate Apr 8, 2024
db28693
ext/posix: posix_isatty set errno for it too.
devnexen Apr 8, 2024
fd73681
Fix GCC warning when using getThis() in a conditional (#13923)
arnaud-lb Apr 9, 2024
5708df7
Update IR
dstogov Apr 9, 2024
11d3ded
Fix more "Applying non-zero offset XX to null pointer" warnings (See …
dstogov Apr 9, 2024
645af9f
ext/sockets: adding solaris/illumos SO_EXCLBIND constant.
devnexen Apr 7, 2024
de03a7c
Remove unused os/signpost.h header check (#13920)
petk Apr 9, 2024
6d848fa
Add zend_test.observer.enabled=0 to more tests
bwoebi Apr 9, 2024
20959c3
NEWS: remove ZWSP
SakiTakamachi Apr 10, 2024
f56ba62
Merge branch 'PHP-8.2' into PHP-8.3
SakiTakamachi Apr 10, 2024
158788e
Merge branch 'PHP-8.3'
SakiTakamachi Apr 10, 2024
fc14f17
remove ZWSP
SakiTakamachi Apr 10, 2024
e3c784f
Add proc_open escaping for cmd file execution
bukka Feb 15, 2024
093c08a
Fix GHSA-wpj3-hf5j-x4v4: __Host-/__Secure- cookie bypass due to parti…
nielsdos Mar 17, 2024
0ba5229
Fix bug GHSA-q6x7-frmf-grcw: password_verify can erroneously return true
bukka Mar 29, 2024
de4f7f9
Update NEWS
ramsey Apr 10, 2024
a9ffc44
Merge branch 'PHP-8.1' into PHP-8.2
ramsey Apr 10, 2024
3d9941f
Merge branch 'PHP-8.2' into PHP-8.3
ramsey Apr 10, 2024
3394efc
Fix infinite loop in mb_encode_mimeheader
alexdowad Mar 18, 2024
c7c1336
Adapt regression test
nielsdos Apr 6, 2024
049082e
Update NEWS
ramsey Apr 10, 2024
7ca4300
Merge branch 'PHP-8.3'
ramsey Apr 10, 2024
ca5fe40
PHP-8.1 is now for PHP 8.1.29-dev
ramsey Apr 10, 2024
b507f1b
Merge branch 'PHP-8.1' into PHP-8.2
ramsey Apr 10, 2024
1111fc6
Merge branch 'PHP-8.2' into PHP-8.3
ramsey Apr 10, 2024
2a1cc4e
Merge branch 'PHP-8.3'
ramsey Apr 10, 2024
a37d661
Fix false positive test failure
dstogov Apr 10, 2024
2cfd9df
Fix GH-13932: Attempt to fix mbstring on windows build (msvc).
devnexen Apr 10, 2024
39c67e3
Merge branch 'PHP-8.3'
devnexen Apr 10, 2024
5035b85
ext/mysqlnd: support ER_CLIENT_INTERACTION_TIMEOUT
Appla Apr 10, 2024
acf9047
Merge branch 'PHP-8.2' into PHP-8.3
kamil-tekiela Apr 10, 2024
72f94a1
Merge branch 'PHP-8.3'
kamil-tekiela Apr 10, 2024
67fc53e
PHP-8.3 is now for PHP 8.3.7-dev
ericmann Apr 10, 2024
c18fa43
Merge branch 'PHP-8.3'
ericmann Apr 10, 2024
51ff37b
Factor out dom_fetch_first_iteration_item()
nielsdos Apr 10, 2024
2bf9da6
Fix key data for NodeList iterations
nielsdos Apr 10, 2024
78ccea4
Fix GH-13863: Removal during NodeList iteration breaks loop
nielsdos Apr 10, 2024
44e8301
Add grapheme_str_split function
youkidearitai Mar 2, 2024
0e16e29
ext/sockets: socket_create_listen update.
devnexen Mar 31, 2024
ea927ca
Fix exception IP in JIT (#13929)
bwoebi Apr 10, 2024
639a0d7
Merge branch 'PHP-8.2' of https://github.com/php/php-src into PHP-8.3
bwoebi Apr 10, 2024
99cfedf
Merge branch 'PHP-8.3'
bwoebi Apr 10, 2024
4d28e40
Improve check for broken iconv //IGNORE (#13898)
petk Apr 10, 2024
4a0ec3d
Make ext/odbc default value handling more consistent (#13910)
kocsismate Apr 10, 2024
c2553a2
sapi/fcgi: update listen queue size handling. (#13939)
devnexen Apr 10, 2024
5d91f87
Remove rscale in bc_raisemod
SakiTakamachi Apr 4, 2024
66809c0
Fix usage of reentrant functions in ext/posix (#13921)
arnaud-lb Apr 11, 2024
ed84bcd
[ci skip] NEWS
arnaud-lb Apr 11, 2024
d986b5c
Merge branch 'PHP-8.2' into PHP-8.3
arnaud-lb Apr 11, 2024
e2e4e64
[ci skip] NEWS
arnaud-lb Apr 11, 2024
47f0a06
Merge branch 'PHP-8.3'
arnaud-lb Apr 11, 2024
91b8457
Fix TLS access in JIT with Musl (#13927)
arnaud-lb Apr 11, 2024
4ded247
ext/fileinfo/tests/bug78987.phpt: increase a memory limit
orlitzky Apr 10, 2024
bc62b41
Merge branch 'PHP-8.3'
nielsdos Apr 11, 2024
be2f454
Add dedicated StreamBucket class (#13111)
kocsismate Apr 11, 2024
843946a
Add upgrading note for the "Dedicated StreamBucket class" RFC
kocsismate Apr 11, 2024
3a40e3d
Use a link test to check for GNU libiconv (#13894)
hiirotsuki Apr 11, 2024
a6fdd8f
Update ext/ldap sanity check (#13946)
petk Apr 12, 2024
3b93f13
Revert "ext/mysqlnd: support ER_CLIENT_INTERACTION_TIMEOUT"
bukka Apr 12, 2024
fbcad69
Merge branch 'PHP-8.2' into PHP-8.3
bukka Apr 12, 2024
d24086b
Merge branch 'PHP-8.3'
bukka Apr 12, 2024
4058082
Add GDB pretty-printers for zend_string, zend_type (#13463)
arnaud-lb Apr 12, 2024
ab589e4
Add GDB pretty-printers for zend_ast, zval (#13520)
arnaud-lb Apr 12, 2024
08b2ab2
Include the source location in Closure names (#13550)
TimWolla Apr 12, 2024
55dfd45
Fix bug #63937: Upload speed 10 times slower with PHP (#13041)
nielsdos Apr 12, 2024
72b2524
[ci skip] NEWS
nielsdos Apr 12, 2024
26c432d
ext/posix: changing helpers return to zend_result. (#13957)
devnexen Apr 13, 2024
6df8111
[ci skip] UPGRADING
nielsdos Apr 14, 2024
4829b8f
ext/session: Add test for session_start with read_and_close option (#…
jorgsowa Apr 14, 2024
5c69b2e
Factor out reading an attribute value
nielsdos Apr 10, 2024
ac039cf
Implement HTMLCollection::namedItem()
nielsdos Apr 10, 2024
53f6e5e
Move node list dimension handling to a separate file
nielsdos Apr 10, 2024
aa6564c
Refactor dom_modern_nodelist_get_index()
nielsdos Apr 10, 2024
b3f820b
Split off nodelist header components to nodelist.h
nielsdos Apr 10, 2024
47feb57
Support named items in dimension handling for HTMLCollection
nielsdos Apr 10, 2024
8421cfd
Fix file_get_contents() on Windows fails with "errno=22 Invalid argum…
DnwK98 Apr 12, 2024
4dad74f
Merge branch 'PHP-8.2' into PHP-8.3
bukka Apr 14, 2024
ce4c8ab
Merge branch 'PHP-8.3'
bukka Apr 14, 2024
c618d3e
Set streams NEWS category for file_get_contents fix
bukka Apr 14, 2024
c18690a
Merge branch 'PHP-8.2' into PHP-8.3
bukka Apr 14, 2024
7fa94c9
Merge branch 'PHP-8.3'
bukka Apr 14, 2024
8ce9f2e
Add test for performing special operations on XSLTProcessor propertie…
nielsdos Apr 14, 2024
a136117
Make (DOM)XPath::quote only accept strings without NULL bytes (#13960)
nielsdos Apr 14, 2024
89e744d
[skip ci] Fix old {closure}() name reference in 32-bit tests
iluuu1994 Apr 15, 2024
8475cfb
[skip ci] Add missing if: always() to community tests
iluuu1994 Apr 15, 2024
f2cd0d5
Fix rename test file name collision
iluuu1994 Apr 15, 2024
df4d59e
Merge branch 'PHP-8.2' into PHP-8.3
iluuu1994 Apr 15, 2024
5c671c3
Merge branch 'PHP-8.3'
iluuu1994 Apr 15, 2024
a7a7e6d
Fix clean section in test
iluuu1994 Apr 15, 2024
f06a755
Merge branch 'PHP-8.2' into PHP-8.3
iluuu1994 Apr 15, 2024
887ed94
Merge branch 'PHP-8.3'
iluuu1994 Apr 15, 2024
5f9b9c4
Fixed missed exception
dstogov Apr 15, 2024
a351121
Merge branch 'PHP-8.2' into PHP-8.3
iluuu1994 Apr 15, 2024
c2456e9
Merge branch 'PHP-8.3'
iluuu1994 Apr 15, 2024
c3acfb1
Fix GH-13931: Applying zero offset to null pointer in Zend/zend_opcode.c
nielsdos Apr 10, 2024
550e0ce
Merge branch 'PHP-8.2' into PHP-8.3
nielsdos Apr 15, 2024
584a7b8
Merge branch 'PHP-8.3'
nielsdos Apr 15, 2024
d407266
ext/pcntl: pcntl_getqos_class/pcntl_setqos_class addition.
devnexen Apr 11, 2024
a64fc00
tests: add php_history file check (#13967)
spk Apr 16, 2024
326dc17
Fix tests when stdout is unbuffered (#13924)
arnaud-lb Apr 16, 2024
32efc76
Use return value of getpwuid_r(), not errno (#13969)
arnaud-lb Apr 16, 2024
f6e8145
fix: zend-max-execution-timers with negative or high timeout value (#…
dunglas Apr 16, 2024
d47aaac
[ci skip] NEWS
arnaud-lb Apr 16, 2024
c12fd08
Merge branch 'PHP-8.2' into PHP-8.3
arnaud-lb Apr 16, 2024
812d19d
[ci skip] NEWS
arnaud-lb Apr 16, 2024
af5db45
Merge branch 'PHP-8.3'
arnaud-lb Apr 16, 2024
46b6ad6
Inline GDB scripts in the PHP binary (#13600)
arnaud-lb Apr 16, 2024
7d6bb3e
Fix extension_dir variable quoting in php-config (#13963)
petk Apr 16, 2024
fe25afe
Update IR
dstogov Apr 16, 2024
093d334
Fix GH-13978: Fuzzer readme still mentions obsolete --enable-json fla…
nielsdos Apr 16, 2024
9038823
Merge branch 'PHP-8.2' into PHP-8.3
nielsdos Apr 16, 2024
14cd67a
Merge branch 'PHP-8.3'
nielsdos Apr 16, 2024
bedafdc
Fix GH-13968: Build failed when with --enable-mbregex on MSVC (#13971)
youkidearitai Apr 16, 2024
a2e924e
Update IR
dstogov Apr 16, 2024
58c0202
Update IR
dstogov Apr 17, 2024
47ec320
Make documentURI and URL not readonly (#13982)
nielsdos Apr 17, 2024
1f8c899
ext/reflection: Add test for ReflectionParameter::getDeclaringFunctio…
Girgias Apr 17, 2024
1acd7a0
Add missing COMPILE_IGNORE_OTHER_FILES check for static calls
iluuu1994 Apr 17, 2024
3d86d9a
Merge branch 'PHP-8.2' into PHP-8.3
iluuu1994 Apr 17, 2024
7a10b97
Merge branch 'PHP-8.3'
iluuu1994 Apr 17, 2024
e23440e
Implement reflection constant
iluuu1994 Mar 11, 2024
fda91a0
Fix GH-13984: Buffer size is now checked before memcmp (#13991)
SakiTakamachi Apr 17, 2024
dd5cdfd
Merge branch 'PHP-8.2' into PHP-8.3
SakiTakamachi Apr 17, 2024
d14b208
Merge branch 'PHP-8.3'
SakiTakamachi Apr 17, 2024
ff76cb7
rudimentary midipix port (#13896)
hiirotsuki Apr 18, 2024
fe0e1d8
Describe what you need to ask systems@php.net for
derickr Apr 18, 2024
742c2e8
Split out tasks from requested info, and fix typo
derickr Apr 18, 2024
6fed6d8
Use AC_SUBST instead of PHP_SUBST_OLD where possible (#13993)
petk Apr 18, 2024
7192379
Substitute PEAR_INSTALLDIR only when enabling PEAR (#13994)
petk Apr 18, 2024
cc46a4e
ext/intl: level up c++ runtime std for icu 74 and onwards.
devnexen Feb 17, 2024
e94f3a7
Merge branch 'PHP-8.2' into PHP-8.3
devnexen Apr 19, 2024
de490c5
Merge branch 'PHP-8.3'
devnexen Apr 19, 2024
2447cb2
main/output.c: Refine int return type to bool or zend_result (#13997)
Girgias Apr 19, 2024
d03d436
reflection: Fix ReflectionFunction::getShortName() for Closures (#14001)
TimWolla Apr 19, 2024
e0f24ab
Revert php_output_stack_* signature change
Girgias Apr 19, 2024
04b864e
Fix GH-13806: openssl_x509_parse_basic test fails with OpenSSL 3.2+ (…
bukka Apr 19, 2024
353571e
Merge branch 'PHP-8.2' into PHP-8.3
bukka Apr 19, 2024
1b01594
Merge branch 'PHP-8.3'
bukka Apr 19, 2024
edb13b6
CI: Skip building docs if GitHub repository is not php-src (#14006)
bukka Apr 19, 2024
b3e26c3
Fix missing handling of CALLABLE_CONVERT in cleanup_unfinished_calls()
iluuu1994 Apr 19, 2024
4393198
Merge branch 'PHP-8.2' into PHP-8.3
iluuu1994 Apr 19, 2024
8160869
Merge branch 'PHP-8.3'
iluuu1994 Apr 19, 2024
e93d23a
Remove unused ext/spl SPL_API code (#13985)
petk Apr 19, 2024
bca94e3
[ci skip] Fix typo in release-process.md (#14012)
nielsdos Apr 20, 2024
2a1aa8c
Fix GH-13998: Manage refcount of agg_context->val correctly (#14004)
SakiTakamachi Apr 20, 2024
4306416
Merge branch 'PHP-8.2' into PHP-8.3
SakiTakamachi Apr 20, 2024
3e3875c
Merge branch 'PHP-8.3'
SakiTakamachi Apr 20, 2024
42443b4
ext/session: fix _read/_write buffer limit.
devnexen Apr 20, 2024
2636104
Merge branch 'PHP-8.2' into PHP-8.3
devnexen Apr 20, 2024
151a677
Merge branch 'PHP-8.3'
devnexen Apr 20, 2024
2364054
ext/pcntl: pcntl_fork refining error handling. (#14021)
devnexen Apr 20, 2024
7428a92
[ci skip] Be more specific about ext-dom incompatibilities in UPGRADI…
nielsdos Apr 20, 2024
b3700e2
Simplify prop handler of XMLReader (#14023)
nielsdos Apr 20, 2024
c3b07a6
Adjust nightly org restriction check
iluuu1994 Apr 21, 2024
0e7ef95
[skip ci] Also skip benchmarking on non php-src
iluuu1994 Apr 21, 2024
4f0d4c0
[skip ci] Also skip all other push jobs on non php-src
iluuu1994 Apr 21, 2024
06b87f9
Remove broken hack in mysqlnd_vio::close_stream
nielsdos Mar 21, 2024
319fb50
Fix memory leak in mysqlnd_vio::open_pipe
nielsdos Mar 21, 2024
a20d9d7
Factor common code out into mysqlnd_fixup_regular_list()
nielsdos Mar 21, 2024
0b69c3a
Fix crash in shutdown when using a named pipe with a persistent mysql…
nielsdos Mar 21, 2024
bb8234d
Use php_stream_auto_cleanup() consistently
nielsdos Mar 22, 2024
43cbeb3
Add an assertion for certainty
nielsdos Mar 22, 2024
dd1a32d
NEWS
nielsdos Apr 21, 2024
469ad32
[skip ci] Backport 0e7ef95 and 4f0d4c0
iluuu1994 Apr 21, 2024
891e4a5
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Apr 21, 2024
2f64d07
Merge branch 'PHP-8.2' into PHP-8.3
iluuu1994 Apr 21, 2024
76a254a
Merge branch 'PHP-8.3'
iluuu1994 Apr 21, 2024
7d3d8de
Fix erroneous dnl appended in configure (#14013)
petk Apr 21, 2024
f28ddec
Merge branch 'PHP-8.2' into PHP-8.3
petk Apr 21, 2024
7151855
Merge branch 'PHP-8.3'
petk Apr 21, 2024
3f0b204
cli: allow to change ~/.php_history with PHP_HISTFILE
spk Apr 8, 2024
f8b9030
Temporary reset filename and lineno override before autoload
ranvis Feb 16, 2024
5899cab
Merge branch 'PHP-8.2' into PHP-8.3
iluuu1994 Apr 22, 2024
8a7d79d
Merge branch 'PHP-8.3'
iluuu1994 Apr 22, 2024
44775b7
Fix GH-13727: Building with -Werror=strict-prototypes (#14029)
petk Apr 22, 2024
71aae5a
Merge branch 'PHP-8.2' into PHP-8.3
petk Apr 22, 2024
a27cdd6
Merge branch 'PHP-8.3'
petk Apr 22, 2024
3a300e9
ext/pcntl: signals list update for dragonflybsd related to checkpoint.
devnexen Apr 19, 2024
bffab33
Update Lexbor (#14032)
nielsdos Apr 22, 2024
07337df
Add two checks for zend_mm_heap's integrity (#13943)
jvoisin Apr 23, 2024
9bbc195
Remove zend_strtod mutex (#13974)
arnaud-lb Apr 23, 2024
6d285e3
[ci skip] UPGRADING
arnaud-lb Apr 23, 2024
3b5321d
PHP-8.2 is now for PHP 8.2.20-dev
saundefined Apr 23, 2024
3a252b2
Merge branch 'refs/heads/PHP-8.2' into PHP-8.3
saundefined Apr 23, 2024
77d38d3
Merge branch 'refs/heads/PHP-8.3'
saundefined Apr 23, 2024
bab75e1
PHP 8.3 is now for PHP-8.3.8-dev
bukka Apr 23, 2024
b6cf388
Merge branch 'PHP-8.3'
bukka Apr 23, 2024
71194ea
Update IR
dstogov Apr 23, 2024
4719ef2
ext/gmp: Improve error message
Girgias Apr 23, 2024
13a5a81
ext/gmp: Fix leading whitespace before explicit octal prefix
Girgias Apr 23, 2024
f813708
Fix GH-13815: mb_trim() inaccurate $characters default value (#13820)
nielsdos Apr 24, 2024
a707863
[ci skip] UPGRADING
nielsdos Apr 24, 2024
b61479b
ext/mbstring: Pass string length to _php_mb_ini_mbstring_http_output_…
Girgias Nov 18, 2023
86dfbad
ext/mbstring: Always pass length to php_mb_get_encoding_or_pass()
Girgias Nov 19, 2023
c96e894
ext/mbstring: Check encoding passed to mb_http_output() has no null b…
Girgias Nov 22, 2023
f68d725
UPGRADING
Girgias Apr 23, 2024
3626e2d
Get rid of remaining usages of zval_try_get_string() (#14041)
nielsdos Apr 24, 2024
bad5d2c
Update IR
dstogov Apr 25, 2024
8e4363d
Update IR
dstogov Apr 26, 2024
243827b
Fix GH-13519: another attempt after the faulty fix.
devnexen Apr 27, 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
  •  
  •  
  •  
5 changes: 2 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ jobs:
libsqlite3-dev \
libwebp-dev \
libonig-dev \
libkrb5-dev \
libgssapi-krb5-2 \
libcurl4-openssl-dev \
libxml2-dev \
libxslt1-dev \
Expand Down Expand Up @@ -128,7 +126,6 @@ jobs:
--enable-calendar \
--enable-ftp \
--with-enchant=/usr \
--with-kerberos \
--enable-sysvmsg \
--with-ffi \
--enable-zend-test \
Expand Down Expand Up @@ -174,6 +171,8 @@ jobs:
-d opcache.enable_cli=1 \
-d opcache.jit_buffer_size=64M \
-d opcache.jit=tracing \
-d zend_test.observer.enabled=1 \
-d zend_test.observer.show_output=0 \
-P -q -x -j2 \
-g FAIL,BORK,LEAK,XLEAK \
--no-progress \
Expand Down
6 changes: 3 additions & 3 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ env:
freebsd_task:
name: FREEBSD_DEBUG_NTS
freebsd_instance:
image_family: freebsd-13-2
image_family: freebsd-13-3
env:
ARCH: amd64
install_script:
#- sed -i -e 's/quarterly/latest/g' /etc/pkg/FreeBSD.conf
#- pkg upgrade -y
- kldload accf_http
- pkg install -y autoconf bison gmake re2c icu libiconv png freetype2 enchant2 bzip2 krb5 t1lib gmp tidyp libsodium libzip libxml2 libxslt openssl oniguruma pkgconf webp libavif
- pkg install -y autoconf bison gmake re2c icu libiconv png freetype2 enchant2 bzip2 t1lib gmp tidyp libsodium libzip libxml2 libxslt openssl oniguruma pkgconf webp libavif
script:
- ./buildconf -f
- ./configure --prefix=/usr/local --enable-debug --enable-option-checking=fatal --enable-fpm --with-pdo-sqlite --without-pear --with-bz2 --with-avif --with-jpeg --with-webp --with-freetype --enable-gd --enable-exif --with-zip --with-zlib --enable-soap --enable-xmlreader --with-xsl --with-libxml --enable-shmop --enable-pcntl --enable-mbstring --with-curl --enable-sockets --with-openssl --with-iconv=/usr/local --enable-bcmath --enable-calendar --enable-ftp --with-kerberos --with-ffi --enable-zend-test --enable-dl-test=shared --enable-intl --with-mhash --with-sodium --enable-werror --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d
- ./configure --prefix=/usr/local --enable-debug --enable-option-checking=fatal --enable-fpm --with-pdo-sqlite --without-pear --with-bz2 --with-avif --with-jpeg --with-webp --with-freetype --enable-gd --enable-exif --with-zip --with-zlib --enable-soap --enable-xmlreader --with-xsl --with-libxml --enable-shmop --enable-pcntl --enable-mbstring --with-curl --enable-sockets --with-openssl --with-iconv=/usr/local --enable-bcmath --enable-calendar --enable-ftp --with-ffi --enable-zend-test --enable-dl-test=shared --enable-intl --with-mhash --with-sodium --enable-werror --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d
- gmake -j2
- mkdir /etc/php.d
- gmake install
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
/main/gdb_inlined_script.c linguist-generated -diff
/Zend/zend_vm_execute.h linguist-generated -diff
/Zend/zend_vm_handlers.h linguist-generated -diff
/Zend/zend_vm_opcodes.[ch] linguist-generated -diff
Expand Down
13 changes: 11 additions & 2 deletions CODEOWNERS → .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,25 @@
/ext/json @bukka
/ext/libxml @nielsdos
/ext/mbstring @alexdowad
/ext/mysqlnd @SakiTakamachi
/ext/odbc @NattyNarwhal
/ext/opcache @dstogov @iluuu1994
/ext/openssl @bukka
/ext/odbc @NattyNarwhal
/ext/pdo_pgsql @devnexen
/ext/pcntl @devnexen
/ext/pdo @SakiTakamachi
/ext/pdo_dblib @SakiTakamachi
/ext/pdo_firebird @SakiTakamachi
/ext/pdo_mysql @SakiTakamachi
/ext/pdo_odbc @NattyNarwhal @SakiTakamachi
/ext/pdo_pgsql @devnexen @SakiTakamachi
/ext/pdo_sqlite @SakiTakamachi
/ext/pgsql @devnexen
/ext/random @TimWolla @zeriyoshi
/ext/session @Girgias
/ext/sockets @devnexen
/ext/spl @Girgias
/ext/standard @bukka
/ext/xmlreader @nielsdos
/ext/xsl @nielsdos
/main @bukka
/sapi/fpm @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 @@ -23,10 +23,8 @@ runs:
libffi-dev:i386 \
libfreetype6-dev:i386 \
libgmp-dev:i386 \
libgssapi-krb5-2:i386 \
libicu-dev:i386 \
libjpeg-dev:i386 \
libkrb5-dev:i386 \
libonig-dev:i386 \
libpng-dev:i386 \
libpq-dev:i386 \
Expand Down
3 changes: 1 addition & 2 deletions .github/actions/apt-x64/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ runs:
libxpm-dev \
libzip-dev \
libsqlite3-dev \
libsqlite3-mod-spatialite \
libwebp-dev \
libonig-dev \
libkrb5-dev \
libgssapi-krb5-2 \
libcurl4-openssl-dev \
libxml2-dev \
libxslt1-dev \
Expand Down
7 changes: 6 additions & 1 deletion .github/actions/brew/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ runs:
- shell: bash
run: |
set -x

# Patch brew to overwrite always
formula_installer="$(brew --repo)"/Library/Homebrew/formula_installer.rb
code=" keg.link\(verbose: verbose\?"
sudo sed -Ei '' "s/$code.*/$code, overwrite: true\)/" "$formula_installer"

brew install \
pkg-config \
autoconf \
Expand All @@ -13,7 +19,6 @@ runs:
brew install \
openssl@1.1 \
curl \
krb5 \
bzip2 \
enchant \
libffi \
Expand Down
2 changes: 0 additions & 2 deletions .github/actions/configure-macos/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ runs:
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/curl/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/krb5/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"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/libxslt/lib/pkgconfig"
Expand Down Expand Up @@ -58,7 +57,6 @@ runs:
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--with-kerberos \
--enable-sysvmsg \
--with-ffi \
--enable-zend-test \
Expand Down
1 change: 0 additions & 1 deletion .github/actions/configure-x32/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ runs:
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--with-kerberos \
--enable-sysvmsg \
--with-ffi \
--enable-zend-test \
Expand Down
1 change: 0 additions & 1 deletion .github/actions/configure-x64/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ runs:
--enable-calendar \
--enable-ftp \
${{ inputs.skipSlow == 'false' && '--with-enchant=/usr' || '' }} \
--with-kerberos \
--enable-sysvmsg \
--with-ffi \
--enable-zend-test \
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/verify-generated-files/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ runs:
steps:
- shell: bash
run: |
set -x
set -ex
[[ "$OSTYPE" == "darwin"* ]] && export PATH="$(brew --prefix)/opt/bison/bin:$PATH"
scripts/dev/credits
scripts/dev/genfiles
scripts/gdb/debug_gdb_scripts_gen.php
Zend/zend_vm_gen.php
ext/tokenizer/tokenizer_data_gen.php
build/gen_stub.php -f
build/gen_stub.php --generate-optimizer-info
build/gen_stub.php -f --generate-optimizer-info --verify
git add . -N && git diff --exit-code
1 change: 1 addition & 0 deletions .github/nightly_matrix.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ function get_matrix_include(array $branches) {
'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,
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/close-needs-feedback.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:

jobs:
build:
if: github.repository_owner == 'php'
if: github.repository == 'php/php-src'
runs-on: ubuntu-latest
permissions:
issues: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/close-stale-feature-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:

jobs:
stale:
if: github.repository_owner == 'php'
if: github.repository == 'php/php-src'
runs-on: ubuntu-latest
permissions:
issues: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/close-stale-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:

jobs:
stale:
if: github.repository_owner == 'php'
if: github.repository == 'php/php-src'
runs-on: ubuntu-latest
permissions:
issues: write
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
permissions:
pages: write
id-token: write
if: github.repository == 'php/php-src'
steps:
- name: git checkout
uses: actions/checkout@v4
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:
jobs:
GENERATE_MATRIX:
name: Generate Matrix
if: github.repository_owner == 'php' || github.event_name == 'workflow_dispatch'
if: github.repository == 'php/php-src' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
outputs:
branches: ${{ steps.set-matrix.outputs.branches }}
Expand Down Expand Up @@ -288,7 +288,7 @@ jobs:
with:
token: ${{ secrets.ACTION_MONITORING_SLACK }}
COVERAGE_DEBUG_NTS:
if: github.repository_owner == 'php' || github.event_name == 'workflow_dispatch'
if: github.repository == 'php/php-src' || github.event_name == 'workflow_dispatch'
services:
postgres:
image: postgres
Expand Down Expand Up @@ -410,6 +410,7 @@ jobs:
echo opcache.jit_hot_side_exit=1 >> /etc/php.d/opcache.ini
php -v
- name: Test AMPHP
if: always()
run: |
repositories="amp cache dns file http parallel parser pipeline process serialization socket sync websocket-client websocket-server"
X=0
Expand All @@ -427,6 +428,7 @@ jobs:
done
exit $X
- name: Test Laravel
if: always()
run: |
git clone https://github.com/laravel/framework.git --branch=master --depth=1
cd framework
Expand All @@ -439,6 +441,7 @@ jobs:
exit 1
fi
- name: Test ReactPHP
if: always()
run: |
repositories="async cache child-process datagram dns event-loop promise promise-stream promise-timer stream"
X=0
Expand All @@ -456,6 +459,7 @@ jobs:
done
exit $X
- name: Test Revolt PHP
if: always()
run: |
git clone https://github.com/revoltphp/event-loop.git --depth=1
cd event-loop
Expand All @@ -466,6 +470,7 @@ jobs:
exit 1
fi
- name: Test Symfony
if: always()
run: |
git clone https://github.com/symfony/symfony.git --depth=1
cd symfony
Expand Down Expand Up @@ -497,6 +502,7 @@ jobs:
exit 1
fi
- name: 'Symfony Preloading'
if: always()
run: |
php /usr/bin/composer create-project symfony/symfony-demo symfony_demo --no-progress --ignore-platform-reqs
cd symfony_demo
Expand Down Expand Up @@ -763,7 +769,7 @@ jobs:
with:
token: ${{ secrets.ACTION_MONITORING_SLACK }}
PECL:
if: github.repository_owner == 'php' || github.event_name == 'workflow_dispatch'
if: github.repository == 'php/php-src' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-22.04
env:
CC: ccache gcc
Expand Down
19 changes: 13 additions & 6 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ env:
CXX: ccache g++
jobs:
LINUX_X64:
if: github.repository_owner == 'php' || github.event_name == 'pull_request'
if: github.repository == 'php/php-src' || github.event_name == 'pull_request'
services:
mysql:
image: mysql:8
Expand Down Expand Up @@ -80,7 +80,9 @@ jobs:
zts: true
asan: true
name: "LINUX_X64_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}${{ matrix.asan && '_ASAN' || '' }}"
runs-on: ubuntu-22.04
runs-on: ubuntu-${{ !matrix.asan && '22' || '20' }}.04
container:
image: ${{ matrix.asan && 'ubuntu:23.04' || null }}
steps:
- name: git checkout
uses: actions/checkout@v4
Expand All @@ -89,6 +91,7 @@ jobs:
- name: LLVM 16 (ASAN-only)
if: ${{ matrix.asan }}
run: |
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y lsb-release wget software-properties-common gnupg
wget https://apt.llvm.org/llvm.sh
chmod u+x llvm.sh
sudo ./llvm.sh 16
Expand Down Expand Up @@ -119,7 +122,7 @@ jobs:
configurationParameters: >-
--${{ matrix.debug && 'enable' || 'disable' }}-debug
--${{ matrix.zts && 'enable' || 'disable' }}-zts
${{ matrix.asan && 'CFLAGS="-fsanitize=undefined,address -fno-sanitize=pointer-overflow -DZEND_TRACK_ARENA_ALLOC" LDFLAGS="-fsanitize=undefined,address -fno-sanitize=pointer-overflow" CC=clang-16 CXX=clang++-16' || '' }}
${{ matrix.asan && 'CFLAGS="-fsanitize=undefined,address -DZEND_TRACK_ARENA_ALLOC" LDFLAGS="-fsanitize=undefined,address" CC=clang-16 CXX=clang++-16' || '' }}
skipSlow: ${{ matrix.asan }}
- name: make
run: make -j$(/usr/bin/nproc) >/dev/null
Expand All @@ -146,7 +149,7 @@ jobs:
if: ${{ !matrix.asan }}
uses: ./.github/actions/verify-generated-files
MACOS_DEBUG_NTS:
if: github.repository_owner == 'php' || github.event_name == 'pull_request'
if: github.repository == 'php/php-src' || github.event_name == 'pull_request'
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -188,7 +191,7 @@ jobs:
- name: Verify generated files are up to date
uses: ./.github/actions/verify-generated-files
WINDOWS:
if: github.repository_owner == 'php' || github.event_name == 'pull_request'
if: github.repository == 'php/php-src' || github.event_name == 'pull_request'
name: WINDOWS_X64_ZTS
runs-on: windows-2019
env:
Expand All @@ -215,13 +218,17 @@ jobs:
run: .github/scripts/windows/test.bat
BENCHMARKING:
name: BENCHMARKING
if: github.repository_owner == 'php' || github.event_name == 'pull_request'
if: github.repository == 'php/php-src' || github.event_name == 'pull_request'
runs-on: ubuntu-22.04
steps:
- name: git checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
# ASLR can cause a lot of noise due to missed sse opportunities for memcpy
# and other operations, so we disable it during benchmarking.
- name: Disable ASLR
run: echo 0 | sudo tee /proc/sys/kernel/randomize_va_space
- name: apt
run: |
set -x
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/remove-needs-feedback.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:

jobs:
build:
if: "github.repository_owner == 'php' && contains(github.event.issue.labels.*.name, 'Status: Needs Feedback') && github.event.issue.user.login == github.event.sender.login"
if: "github.repository == 'php/php-src' && contains(github.event.issue.labels.*.name, 'Status: Needs Feedback') && github.event.issue.user.login == github.event.sender.login"
runs-on: ubuntu-latest
permissions:
issues: write
Expand Down
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ addons:
- libgmp-dev
- libicu-dev
- libjpeg-dev
- libkrb5-dev
- libonig-dev
- libpng-dev
- libpq-dev
Expand Down
Loading