Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4253 commits
Select commit Hold shift + click to select a range
471dcf6
Merge branch 'PHP-8.2'
bukka Apr 11, 2023
86ffde3
Improve ini number handling with INI_SCANNER_TYPED
iluuu1994 Apr 4, 2023
805f21b
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos Apr 11, 2023
c0c80b5
Merge branch 'PHP-8.2'
nielsdos Apr 11, 2023
d3f82f3
Merge branch 'PHP-8.1' into PHP-8.2
derickr Apr 12, 2023
71ff744
Merge branch 'PHP-8.2'
derickr Apr 12, 2023
aae20cd
ext/phar: Fix recently introduced potential NULL dereferencement segf…
Girgias Apr 12, 2023
6ebd08b
Optimize HT_HASH_RESET (#11059)
nielsdos Apr 12, 2023
6df7557
mb_parse_str, mb_http_input, and mb_convert_variables use fast text c…
alexdowad Apr 2, 2023
00008a8
Remove unnecessary memory clearing in virtual_file_ex() (#10963)
nielsdos Apr 12, 2023
de9ea68
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Apr 13, 2023
92669d7
Merge branch 'PHP-8.2'
iluuu1994 Apr 13, 2023
adcb38b
xxhash.h: Fix GCC 12 -Og
Apr 12, 2023
023e17a
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Apr 13, 2023
49fd630
Merge branch 'PHP-8.2'
iluuu1994 Apr 13, 2023
edd4980
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Apr 13, 2023
5823955
Merge branch 'PHP-8.2'
iluuu1994 Apr 13, 2023
afbc71d
Add benchmarking to CI
iluuu1994 Apr 6, 2023
d126031
Restrict benchmarking push to php org
iluuu1994 Apr 14, 2023
8d5e06d
Fix commit sha in commit name
iluuu1994 Apr 14, 2023
a0476fd
Micro-optimize double comparison (#11061)
nielsdos Apr 14, 2023
f4ede23
Fix commit hash really this time
iluuu1994 Apr 14, 2023
1799327
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos Apr 15, 2023
a44acde
Merge branch 'PHP-8.2'
nielsdos Apr 15, 2023
9a20f43
Merge branch 'PHP-8.1' into PHP-8.2
bukka Apr 15, 2023
35647aa
Merge branch 'PHP-8.2'
bukka Apr 15, 2023
24cc402
Benchmarking mean (#11085)
iluuu1994 Apr 15, 2023
2044e5a
Fix uninitialized variable compile error
iluuu1994 Apr 15, 2023
af809ef
Fix CI benchmarking diff
iluuu1994 Apr 15, 2023
6d33a1a
Merge branch 'PHP-8.1' into PHP-8.2
bukka Apr 16, 2023
e6d2705
Merge branch 'PHP-8.2'
bukka Apr 16, 2023
581e729
fpm: remove 2 unneeded newlines from zlog call
SjonHortensius Apr 14, 2023
35c1bb2
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Apr 16, 2023
4dad419
Merge branch 'PHP-8.2'
iluuu1994 Apr 16, 2023
414f71a
Typed class constants (#10444)
kocsismate Apr 16, 2023
5a40831
ext/openssl: pass ini options to extra processes in tests
jakub-bumble Mar 31, 2023
b340e10
Fix uninitialized memory in parse_ini_string()
iluuu1994 Apr 17, 2023
f5dc2c3
Merge branch 'PHP-8.1' into PHP-8.2
remicollet Apr 18, 2023
c75facb
Merge branch 'PHP-8.2'
remicollet Apr 18, 2023
5c6ccc4
Merge branch 'PHP-8.1' into PHP-8.2
remicollet Apr 18, 2023
6adf2f6
[ci skip] NEWS for 11071
remicollet Apr 18, 2023
71a1e30
Merge branch 'PHP-8.2'
remicollet Apr 18, 2023
44eef67
Import timelib 2022.06
derickr Apr 17, 2023
cc7b799
Fixed tests
derickr Apr 17, 2023
d1af263
Merge remote-tracking branch 'derickr/fix-datetime-diff-around-dst-tr…
derickr Apr 18, 2023
1dcab8a
Add NEWS entry
derickr Apr 18, 2023
360e6f8
Merge branch 'PHP-8.2'
derickr Apr 18, 2023
f948f79
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Apr 19, 2023
b22758d
Merge branch 'PHP-8.2'
iluuu1994 Apr 19, 2023
72fc8b5
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Apr 20, 2023
4af95b7
Merge branch 'PHP-8.2'
iluuu1994 Apr 20, 2023
91d3aaa
Bump OCI8 version to make a PECL release for 8.2
cjbj Apr 20, 2023
05467b9
Merge branch 'pecloci8' into PHP-8.2
cjbj Apr 20, 2023
b06a6b8
Merge branch 'PHP-8.2'
cjbj Apr 20, 2023
b2282be
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Apr 20, 2023
04fd04a
Merge branch 'PHP-8.2'
iluuu1994 Apr 20, 2023
6f63d4b
Fix -Wenum-int-mismatch warnings on gcc 13
iluuu1994 Apr 19, 2023
439919c
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Apr 20, 2023
6ca6b46
Merge branch 'PHP-8.2'
iluuu1994 Apr 20, 2023
f06da77
ci update freebsd image to the 13.2 image (#11110)
devnexen Apr 21, 2023
629d774
Import timelib 2022.07 to address OSS fuzz issue
derickr Apr 21, 2023
4ce00aa
Merge branch 'PHP-8.2'
derickr Apr 21, 2023
976d7ed
ext/intl: deprecate U_MULTIPLE_DECIMAL_SEPERATORS constant
devnexen Mar 30, 2023
1209f59
Allow CTE on basic type/math functions (#10842)
mvorisek Apr 24, 2023
947eb95
Allow array functions to operate in-place if the refcount is 1 (#11060)
nielsdos Apr 24, 2023
7300659
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos Apr 24, 2023
56f916e
Merge branch 'PHP-8.2'
nielsdos Apr 24, 2023
c598a92
Merge branch 'PHP-8.1' into PHP-8.2
patrickallaert Apr 25, 2023
eee6509
Merge branch 'PHP-8.2'
patrickallaert Apr 25, 2023
04a5f2b
Add test to make sure that readonly properties cannot be reassigned b…
kocsismate Apr 25, 2023
8318f4a
PHP-8.2 is now for PHP 8.2.7-dev
saundefined Apr 25, 2023
8086baa
Merge branch 'PHP-8.2'
saundefined Apr 25, 2023
f89fe83
Minor conditions simplify (#10397)
mvorisek Apr 26, 2023
368dd81
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Apr 26, 2023
a00e223
Merge branch 'PHP-8.2'
iluuu1994 Apr 26, 2023
7b4b40f
ext/sockets: addig Linux's IP_BIND_ADDRESS_NO_PORT.
devnexen Apr 22, 2023
a2d90aa
Merge branch 'PHP-8.1' into PHP-8.2
kocsismate Apr 27, 2023
945db3c
Merge branch 'PHP-8.2'
kocsismate Apr 27, 2023
294d3e9
[ci skip] Add zeriyoshi to CODEOWNERS for ext-random (#11148)
zeriyoshi Apr 28, 2023
732d92c
[skip ci] Fix various typos and grammar issues (#11143)
javiereguiluz Apr 28, 2023
6a9061e
Fix GH-9344: pgsql pipeline mode proposal.
devnexen Mar 17, 2023
bbe42a5
[skip ci] UPGRADING highligh last intl deprecation difference
devnexen Apr 29, 2023
de9b3f6
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Apr 30, 2023
4472443
Merge branch 'PHP-8.2'
iluuu1994 Apr 30, 2023
5ad6571
Allow aliasing namespaces containing reserved class names
iluuu1994 Apr 28, 2023
4f74e86
Merge branch 'PHP-8.2'
iluuu1994 Apr 30, 2023
b915a1d
Fix uninitialised variable warning in mbfilter_sjis.c
nielsdos Apr 29, 2023
fde0c7d
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Apr 30, 2023
706696f
Merge branch 'PHP-8.2'
iluuu1994 Apr 30, 2023
9f15193
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 May 1, 2023
96e1d3f
Merge branch 'PHP-8.2'
iluuu1994 May 1, 2023
50127ce
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 May 1, 2023
e2bd92f
Merge branch 'PHP-8.2'
iluuu1994 May 1, 2023
574d780
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 May 1, 2023
626331f
Merge branch 'PHP-8.2'
iluuu1994 May 1, 2023
bf727cf
RFC: Make unserialize() emit a warning for trailing bytes (#9630)
TimWolla May 1, 2023
7e50735
Merge branch 'PHP-8.1' into PHP-8.2
dstogov May 2, 2023
f012266
Merge branch 'PHP-8.2'
dstogov May 2, 2023
f127e65
JIT: Align JIT stubs (#11149)
PeterYang12 May 2, 2023
e2f477c
Fix negative indices on empty array not affecting next chosen index
ColinHDev Apr 28, 2023
0e5ac62
Add configuration opcache.jit_max_trace_length (#11173)
May 2, 2023
c155949
Merge branch 'PHP-8.1' into PHP-8.2
dstogov May 2, 2023
56d1cc7
Merge branch 'PHP-8.2'
dstogov May 2, 2023
e1fc246
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos May 2, 2023
41cda46
Merge branch 'PHP-8.2'
nielsdos May 2, 2023
d82e96c
[skip ci] Link technical resources in CONTRIBUTING.md
iluuu1994 Apr 28, 2023
81b2d2e
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 May 3, 2023
4e6025a
Merge branch 'PHP-8.2'
iluuu1994 May 3, 2023
36559fb
Remove unused macro PHP_FNV1_32A_INIT and PHP_FNV1A_64_INIT (#11114)
NilsIrl May 3, 2023
ef6bbaa
Downgrade to Ubuntu 20.04 for ASAN nightly for now
iluuu1994 Apr 18, 2023
ab3f584
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos May 3, 2023
001e278
Merge branch 'PHP-8.2'
nielsdos May 3, 2023
f6c0c60
Fix GH-11104: STDIN/STDOUT/STDERR is not available for CLI without a …
nielsdos Apr 30, 2023
a65cdd9
Implement NEON-accelerated version of BLOCKCONV for lowercasing and u…
nielsdos May 4, 2023
84c185c
ext/pgsql: pg_cancel_query internal update.
devnexen Apr 15, 2023
7ec8ae1
ext/pgsql: pg_trace allow to refine its trace mode via 2 new constants.
devnexen Apr 9, 2023
cfbb47b
Merge branch 'PHP-8.1' into PHP-8.2
bwoebi May 5, 2023
a9d11b6
Merge branch 'PHP-8.2'
bwoebi May 5, 2023
bb38ad7
Add new test for array_fill() to cover the case when the parameter co…
jquiaios May 5, 2023
2e0f75e
ext/pgsql: pg_lo_read addressing the todo. (#11159)
devnexen May 5, 2023
c02348c
Make SERVER_SOFTWARE compliant with RFC3875 (#11093)
cedric-anne May 5, 2023
3af5f47
`http_response_code` should warn if headers were already sent
NattyNarwhal Mar 1, 2023
f31d253
ext/pgsql adding PGSQL_ERRORS_SQLSTATE constant support.
devnexen May 2, 2023
1fc18a8
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos May 5, 2023
42aaac3
Merge branch 'PHP-8.2'
nielsdos May 5, 2023
ac5920f
Fix GH-11141: Could not open input file: should be sent to stderr
nielsdos Apr 29, 2023
f18a038
ext/pgsql: fix pg_trace test when trace mode is supported. (#11191)
devnexen May 6, 2023
fa10dfc
Add PKCS7_NOOLDMIMETYPE and OPENSSL_CMS_OLDMIMETYPE
kesselb Feb 25, 2023
5690e8b
Add myself as a standard CODEOWNER to not miss some changes
bukka May 6, 2023
4d4b960
Fix GH-11054: Reset OpenSSL errors when using a PEM public key
famoser Apr 10, 2023
a0e71cb
Fix maximum argument count of pcntl_forkx()
nielsdos May 6, 2023
80efa76
Merge branch 'PHP-8.2'
nielsdos May 6, 2023
dc1a70c
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos May 6, 2023
82b0537
Merge branch 'PHP-8.2'
nielsdos May 6, 2023
5107483
Correctly copy lineno for zval asts (#11203)
iluuu1994 May 7, 2023
1820c42
Prevent unnecessary string duplication in assert() (#11031)
Girgias May 7, 2023
646f54b
ext/standard/array.c: use uint32_t instead of incorrect int type
Girgias May 6, 2023
e673056
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos May 7, 2023
f6e296d
Merge branch 'PHP-8.2'
nielsdos May 7, 2023
8533856
Narrow bool return types to true when possible
kocsismate May 7, 2023
281669a
Add support for true standalone type when generating methodsynopsis
kocsismate May 7, 2023
37e6594
Fix gmp_long/gmp_ulong typedef warning on Windows x86 (#11112)
mvorisek May 7, 2023
b71a961
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 May 8, 2023
38cf52d
Merge branch 'PHP-8.2'
iluuu1994 May 8, 2023
06fe9ff
Fix use-of-undefined in zend_fiber_object_gc of ex->call
iluuu1994 May 8, 2023
173680a
Merge branch 'PHP-8.2'
iluuu1994 May 9, 2023
acc9406
Remove unnecessary NULL assignments after ecalloc in streams (#11209)
nielsdos May 9, 2023
44491d1
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos May 9, 2023
63a84a2
Merge branch 'PHP-8.2'
nielsdos May 9, 2023
6692477
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 May 10, 2023
7304b56
Merge branch 'PHP-8.2'
iluuu1994 May 10, 2023
53558ff
Merge branch 'PHP-8.1' into PHP-8.2
bwoebi May 10, 2023
0787247
Merge branch 'PHP-8.2'
bwoebi May 10, 2023
09dd3e3
Narrow some more return types to true
kocsismate May 10, 2023
5e962f6
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 May 10, 2023
5820528
Merge branch 'PHP-8.2'
iluuu1994 May 10, 2023
c47c64e
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 May 11, 2023
6a2d041
Merge branch 'PHP-8.2'
iluuu1994 May 11, 2023
12c30a8
[skip ci] Add missing --no-progress flag to ARM build
iluuu1994 May 11, 2023
c71cf06
Merge branch 'PHP-8.2'
iluuu1994 May 11, 2023
0a04c00
Fix potential NULL pointer access in zend_fiber_object_gc
iluuu1994 May 11, 2023
8d8cfe2
Merge branch 'PHP-8.2'
iluuu1994 May 11, 2023
730f32b
Keep the orig_path for xport stream
iamluc Apr 20, 2023
e349913
Fix delayed early binding class redeclaration error
iluuu1994 May 10, 2023
e0af7c3
Merge branch 'PHP-8.2'
iluuu1994 May 12, 2023
d369a77
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos May 12, 2023
2fa8473
Merge branch 'PHP-8.2'
nielsdos May 12, 2023
bda28eb
Merge branch 'PHP-8.1' into PHP-8.2
bukka May 13, 2023
7034263
Merge branch 'PHP-8.2'
bukka May 13, 2023
90553af
Merge branch 'PHP-8.1' into PHP-8.2
bukka May 13, 2023
a225f6a
Merge branch 'PHP-8.2'
bukka May 13, 2023
1129046
Merge branch 'PHP-8.1' into PHP-8.2
bukka May 14, 2023
03f64b7
Merge branch 'PHP-8.2'
bukka May 14, 2023
ac41608
Fix -Wenum-int-mismatch warning in ext/json/php_json_encoder.h
iluuu1994 May 14, 2023
6bd5464
Cacheline demote to improve performance (#11101)
May 15, 2023
0600f51
Implement delayed early binding for classes without parents
iluuu1994 May 10, 2023
aa553af
Fix segfault in mb_strrpos/mb_strripos with ASCII encoding and negati…
iluuu1994 May 10, 2023
c5a623b
Added negative offset test for mb_strrpos
rgeraads May 10, 2023
6408fb2
Merge branch 'PHP-8.2'
iluuu1994 May 15, 2023
aae39fe
Fix #9483: Fix autoconf warnings due to old libtool (#11207)
petk May 15, 2023
e35cd34
Fix assertion warning message when no description is provided
Girgias May 16, 2023
80c8ca9
Use uint32_t for variable storing ZEND_NUM_ARGS()
Girgias May 16, 2023
97e29be
Use shared, immutable array for return value of mb_list_encodings
alexdowad Apr 22, 2023
3ab10da
Take order of candidate encodings into account when guessing text enc…
alexdowad Apr 30, 2023
7914b8c
Use pakutoma's encoding check functions for mb_detect_encoding even i…
alexdowad May 11, 2023
727e26f
Fix #97836 and #81705: Segfault / type confusion in concat_function
nielsdos Dec 4, 2022
bd03c03
Allow CTE on more CTE safe functions (#10771)
mvorisek May 16, 2023
69d41cc
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 May 17, 2023
8d0345d
Merge branch 'PHP-8.2'
iluuu1994 May 17, 2023
3769505
Merge branch 'PHP-8.1' into PHP-8.2
bukka May 19, 2023
e5d46b3
Merge branch 'PHP-8.2'
bukka May 19, 2023
45897f5
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos May 19, 2023
afcf97b
Merge branch 'PHP-8.2'
nielsdos May 19, 2023
1fe7dc3
Fix -Wstrict-prototypes warnings in fuzzer SAPI (#11277)
nielsdos May 20, 2023
ffae350
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos May 20, 2023
a94fe87
Merge branch 'PHP-8.2'
nielsdos May 20, 2023
548e061
FPM: refactor fpm_php_get_string_from_table() to better match usage (…
Girgias May 20, 2023
c717c79
Combine CJK encoding conversion code in a single source file
alexdowad Apr 14, 2023
73633bf
Optimize conversion of SJIS-2004 text to Unicode
alexdowad Apr 18, 2023
175154d
Optimize conversion of CP932 text to Unicode
alexdowad Apr 18, 2023
245daed
Move kana translation tables to mbfilter_cjk.c
alexdowad Apr 22, 2023
f337c92
Test mb_strlen for all text encodings supported by mbstring
alexdowad May 16, 2023
8e6be14
Fix problem with CP949 conversion when 0xC9 precedes byte lower than …
alexdowad May 16, 2023
18ca489
Convert mbfilter_conv{,_r}_map_tbl to return bool
alexdowad May 21, 2023
03b163b
Remove unused variable err in mb_send_mail() (#11285)
nielsdos May 21, 2023
c230aa9
Correctly handle multiple constants in typed declaration
nikic May 20, 2023
5c74164
Fix string coercion for $a .= $a (#11296)
iluuu1994 May 22, 2023
7790ee8
Fix concat_function use-after-free on out-of-memory error (#11297)
iluuu1994 May 22, 2023
f656344
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos May 22, 2023
24ff7ee
Merge branch 'PHP-8.2'
nielsdos May 22, 2023
a2af8ac
Fix the JIT buffer relocation failure at the corner case (#11266)
LoongT4o May 23, 2023
caab608
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos May 23, 2023
505a30c
Merge branch 'PHP-8.2'
nielsdos May 23, 2023
d5f68b5
PHP-8.2 is now for PHP 8.2.8-dev
adoy May 23, 2023
a05d58d
Merge branch 'PHP-8.2'
adoy May 23, 2023
f90fd01
Merge branch 'PHP-8.1' into PHP-8.2
ramsey May 23, 2023
f36d09d
Merge branch 'PHP-8.2'
ramsey May 23, 2023
2eee46e
ext/session: pass ini options to extra processes in tests (#11294)
mikhainin May 24, 2023
4676d9b
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 May 24, 2023
ded8b7f
Merge branch 'PHP-8.2'
iluuu1994 May 24, 2023
7c7698f
Fix preg_replace_callback_array() pattern validation
iluuu1994 May 23, 2023
32968f8
Merge branch 'PHP-8.2'
iluuu1994 May 24, 2023
0ee4371
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 May 24, 2023
a59c933
Merge branch 'PHP-8.2'
iluuu1994 May 24, 2023
1c733c8
Use zend_ast_apply in zend_eval_const_expr (#11261)
iluuu1994 May 24, 2023
bbcf9e7
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos May 24, 2023
3189a9f
Merge branch 'PHP-8.2'
nielsdos May 24, 2023
0b1d750
Allow arbitrary expressions in static variable initializer
iluuu1994 Aug 11, 2022
5ff244d
[skip ci] Fix linguist-generated for zend_vm_opcodes files
iluuu1994 May 24, 2023
eb7ec15
Use single allocation for indirect values in array_multisort
iluuu1994 May 24, 2023
150825d
[skip ci] Fix release date of PHP 8.2.7
adoy May 25, 2023
04b1bc3
Merge branch 'PHP-8.2'
adoy May 25, 2023
5b8e941
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 May 25, 2023
adb3d52
Merge branch 'PHP-8.2'
iluuu1994 May 25, 2023
af72727
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos May 25, 2023
56b1c11
Merge branch 'PHP-8.2'
nielsdos May 25, 2023
5b033b0
Fix zend_jit_stop_counter_handlers() performance issues with protect_…
iluuu1994 May 25, 2023
2d86e95
Merge branch 'PHP-8.2'
iluuu1994 May 26, 2023
b47a7d4
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 May 26, 2023
58a191c
Merge branch 'PHP-8.2'
iluuu1994 May 26, 2023
8ed66b4
Add tests for list() in assignment in array literals
iluuu1994 May 25, 2023
fbe6696
Revert "Use zend_ast_apply in zend_eval_const_expr (#11261)"
iluuu1994 May 26, 2023
350e449
Merge branch 'PHP-8.1' into PHP-8.2
devnexen May 27, 2023
2e4369a
Merge branch 'PHP-8.2'
devnexen May 27, 2023
f735543
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 May 27, 2023
2d883a6
Merge branch 'PHP-8.2'
iluuu1994 May 27, 2023
b884011
Shrink libxml_doc_props struct (#11326)
nielsdos May 29, 2023
9ff1ea6
Merge branch 'PHP-8.1' into PHP-8.2
nielsdos May 29, 2023
99ec0c1
Merge branch 'PHP-8.2'
nielsdos May 29, 2023
5198d75
DOMNodeList::item may return DOMElement.
divinity76 May 29, 2023
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ environment:
#PDO_MYSQL_TEST_PASS: Password12!
#PGSQL_TEST_CONNSTR: "host=127.0.0.1 dbname=test port=5432 user=postgres password=Password12!"
#PDO_PGSQL_TEST_DSN: "pgsql:host=127.0.0.1 port=5432 dbname=test user=postgres password=Password12!"
STACK_LIMIT_DEFAULTS_CHECK: 1
#build permutations
matrix:
- THREAD_SAFE: 0
Expand Down
189 changes: 186 additions & 3 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,190 @@
env:
CIRRUS_CLONE_DEPTH: 1

asan_task:
name: ASAN_DEBUG_NTS
container:
image: gcc:latest
additional_containers:
- name: mysql
image: mysql:8
port: 3306
cpu: 1.0
memory: 1G
env:
MYSQL_ROOT_PASSWORD: "root"
MYSQL_DATABASE: "test"
install_script:
- apt-get update -y
- >-
apt-get install -y
bison
re2c
locales
locales-all
`#ldap-utils`
openssl
`slapd`
libgmp-dev
libicu-dev
`#libtidy-dev`
`#libenchant-dev`
libaspell-dev
libpspell-dev
libsasl2-dev
libxpm-dev
libzip-dev
`#libsqlite3-dev`
libwebp-dev
libonig-dev
libkrb5-dev
libgssapi-krb5-2
libcurl4-openssl-dev
libxml2-dev
libxslt1-dev
libpq-dev
libreadline-dev
`#libldap2-dev`
libsodium-dev
libargon2-0-dev
libmm-dev
`#libsnmp-dev`
`#postgresql`
`#postgresql-contrib`
`#snmpd`
`#snmp-mibs-downloader`
`#freetds-dev`
`#unixodbc-dev`
llvm
clang
libc-client-dev
dovecot-core
dovecot-pop3d
dovecot-imapd
`#sendmail`
`#firebird-dev`
liblmdb-dev
libtokyocabinet-dev
libdb-dev
libqdbm-dev
libjpeg-dev
libpng-dev
libfreetype6-dev
build_script:
- ./buildconf -f
- >-
./configure
--enable-debug
--enable-zts
--enable-option-checking=fatal
--prefix=/usr
--enable-phpdbg
--enable-fpm
--enable-opcache
--disable-opcache-jit
--with-pdo-mysql=mysqlnd
--with-mysqli=mysqlnd
`#--with-pgsql`
`#--with-pdo-pgsql`
`#--with-pdo-sqlite`
--enable-intl
--without-pear
--enable-gd
--with-jpeg
--with-webp
--with-freetype
--with-xpm
--enable-exif
--with-zip
--with-zlib
--with-zlib-dir=/usr
--enable-soap
--enable-xmlreader
--with-xsl
`#--with-tidy`
--enable-sysvsem
--enable-sysvshm
--enable-shmop
--enable-pcntl
--with-readline
--enable-mbstring
--with-curl
--with-gettext
--enable-sockets
--with-bz2
--with-openssl
--with-gmp
--enable-bcmath
--enable-calendar
--enable-ftp
--with-pspell=/usr
`#--with-enchant=/usr`
--with-kerberos
--enable-sysvmsg
--with-ffi
--enable-zend-test
`#--enable-dl-test=shared`
`#--with-ldap`
`#--with-ldap-sasl`
--with-password-argon2
--with-mhash
--with-sodium
--enable-dba
--with-cdb
--enable-flatfile
--enable-inifile
--with-tcadb
--with-lmdb
--with-qdbm
`#--with-snmp`
`#--with-unixODBC`
`#--with-imap`
--with-kerberos
--with-imap-ssl
`#--with-pdo-odbc=unixODBC,/usr`
`#--with-pdo-oci=shared,instantclient,/opt/oracle/instantclient`
`#--with-oci8=shared,instantclient,/opt/oracle/instantclient`
--with-config-file-path=/etc
--with-config-file-scan-dir=/etc/php.d
`#--with-pdo-firebird`
`#--with-pdo-dblib`
--enable-werror
CFLAGS='-fsanitize=undefined,address -DZEND_TRACK_ARENA_ALLOC' LDFLAGS='-fsanitize=undefined,address'
CC=clang
CXX=clang++
- make -j2
- make install
- mkdir -p /etc/php.d
- echo opcache.enable_cli=1 > /etc/php.d/opcache.ini
- echo opcache.protect_memory=1 >> /etc/php.d/opcache.ini
# Specify opcache.preload_user as we're running as root.
- echo opcache.preload_user=root >> /etc/php.d/opcache.ini
tests_script:
- export SKIP_IO_CAPTURE_TESTS=1
- export CI_NO_IPV6=1
- export MYSQL_TEST_HOST=127.0.0.1
- export MYSQL_TEST_USER=root
- export MYSQL_TEST_PASSWD=root
- export PDO_MYSQL_TEST_DSN="mysql:host=127.0.0.1;dbname=test"
- export PDO_MYSQL_TEST_USER=root
- export PDO_MYSQL_TEST_PASS=root
- >-
sapi/cli/php run-tests.php
-P -q -x -j2
-g FAIL,BORK,LEAK,XLEAK
--no-progress
--offline
--show-diff
--show-slow 1000
--set-timeout 120
-d zend_extension=opcache.so
-d opcache.enable_cli=1
--asan

freebsd_task:
name: FREEBSD_DEBUG_NTS
freebsd_instance:
image_family: freebsd-13-0
image_family: freebsd-13-2
env:
ARCH: amd64
install_script:
Expand All @@ -25,12 +205,13 @@ freebsd_task:
tests_script:
- export SKIP_IO_CAPTURE_TESTS=1
- export CI_NO_IPV6=1
- sapi/cli/php run-tests.php -P -q -j2 -g FAIL,XFAIL,BORK,WARN,LEAK,XLEAK,SKIP --offline --show-diff --show-slow 1000 --set-timeout 120 -d zend_extension=opcache.so
- export STACK_LIMIT_DEFAULTS_CHECK=1
- sapi/cli/php run-tests.php -P -q -j2 -g FAIL,BORK,LEAK,XLEAK --no-progress --offline --show-diff --show-slow 1000 --set-timeout 120 -d zend_extension=opcache.so

arm_task:
name: ARM_DEBUG_NTS
arm_container:
image: gcc:10
image: gcc:12
additional_containers:
- name: mysql
image: mysql:8
Expand Down Expand Up @@ -204,6 +385,7 @@ arm_task:
-d opcache.jit=function
-P -q -x -j2
-g FAIL,BORK,LEAK,XLEAK
--no-progress
--offline
--show-diff
--show-slow 1000
Expand All @@ -216,6 +398,7 @@ arm_task:
-d opcache.jit=tracing
-P -q -x -j2
-g FAIL,BORK,LEAK,XLEAK
--no-progress
--offline
--show-diff
--show-slow 1000
Expand Down
34 changes: 22 additions & 12 deletions .gdbinit
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,8 @@ define ____print_ht
set $n = $n - 1
end

if $ht->u.v.flags & 4
set $packed = $ht->u.v.flags & 4
if $packed
printf "Packed"
else
printf "Hash"
Expand All @@ -329,36 +330,45 @@ define ____print_ht
set $i = 0
set $ind = $ind + 1
while $i < $num
set $p = (Bucket*)($ht->arData + $i)
if $packed
set $val = (zval*)($ht->arPacked + $i)
set $key = (zend_string*)0
set $h = $i
else
set $bucket = (Bucket*)($ht->arData + $i)
set $val = &$bucket->val
set $key = $bucket->key
set $h = $bucket->h
end
set $n = $ind
if $p->val.u1.v.type > 0
if $val->u1.v.type > 0
while $n > 0
printf " "
set $n = $n - 1
end
printf "[%d] ", $i
if $p->key
____print_str $p->key->val $p->key->len
if $key
____print_str $key->val $key->len
printf " => "
else
printf "%d => ", $p->h
printf "%d => ", $h
end
if $arg1 == 0
printf "%p\n", (zval *)&$p->val
printf "%p\n", $val
end
if $arg1 == 1
set $zval = (zval *)&$p->val
set $zval = $val
____printzv $zval 1
end
if $arg1 == 2
printf "%s\n", (char*)$p->val.value.ptr
printf "%s\n", (char*)$val->value.ptr
end
if $arg1 == 3
set $func = (zend_function*)$p->val.value.ptr
set $func = (zend_function*)$val->value.ptr
printf "\"%s\"\n", $func->common.function_name->val
end
if $arg1 == 4
set $const = (zend_constant *)$p->val.value.ptr
set $const = (zend_constant *)$val->value.ptr
____printzv $const 1
end
end
Expand Down Expand Up @@ -472,7 +482,7 @@ end

define print_pi
set $pi = (zend_property_info *)$arg0
set $initial_offset = ((uint32_t)(zend_uintptr_t)(&((zend_object*)0)->properties_table[(0)]))
set $initial_offset = ((uint32_t)(uintptr_t)(&((zend_object*)0)->properties_table[(0)]))
set $ptr_to_val = (zval*)((char*)$pi->ce->default_properties_table + $pi->offset - $initial_offset)
printf "[%p] {\n", $pi
printf " offset = %p\n", $pi->offset
Expand Down
17 changes: 13 additions & 4 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,16 @@
/UPGRADING merge=NEWS
/UPGRADING.INTERNALS merge=NEWS

# Enable commit diffs for binary PHP test files. Some PHP test files include
# special characters, such as ASCII control characters. Git recognizes these as
# binary and wouldn't generate diffs.
*.phpt diff
# Configure proper diff drivers to improve the context lines in the output
# of git diff and to improve token splitting for --word-diff.
*.phpt diff=php
*.php diff=php
*.[ch] diff=cpp

# Collapse generated files within a pull request.
**/*_arginfo.h linguist-generated
/Zend/zend_vm_execute.h linguist-generated
/Zend/zend_vm_opcodes.[ch] linguist-generated

# The OSS fuzz files are bunary
/ext/date/tests/ossfuzz*.txt binary
36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Bug report
description: Create a bug report
labels: ["Bug", "Status: Needs Triage"]
body:
- type: textarea
attributes:
label: Description
description: "Please provide a minimal way to reproduce the problem and describe what the expected vs actual behavior is. Provide a [3v4l.org](https://3v4l.org/) link if possible."
value: |
The following code:
```php
<?php
```
Resulted in this output:
```
```
But I expected this output instead:
```
```
validations:
required: true
- type: input
attributes:
label: PHP Version
description: "The used PHP version. Make sure it is [supported](https://www.php.net/supported-versions.php)."
placeholder: "PHP 8.0.12"
validations:
required: true
- type: input
attributes:
label: Operating System
description: "The used operating system, if relevant."
placeholder: "Ubuntu 20.04"
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Documentation issue
url: https://github.com/php/doc-en/issues
about: Please report documentation issues on the doc-en repository.
- name: Security issue
url: https://bugs.php.net/report.php?security_bug
about: Please report security issues in this private bug tracker.
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Feature request
description: Create a feature request
labels: ["Feature", "Status: Needs Triage"]
body:
- type: textarea
attributes:
label: Description
description: "Please describe the requested feature and why it should be included in PHP."
validations:
required: true
Loading