Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
343 commits
Select commit Hold shift + click to select a range
0c4c9fb
Declare et/zip constants in stubs (#9146)
kocsismate Aug 16, 2022
98e5c4e
Declare ext/sockets constants in stubs (#9349)
kocsismate Aug 16, 2022
aeccb13
Use new encoding conversion filters for mb_parse_str and php_mb_post_…
alexdowad Aug 3, 2022
8df5155
Remove unused 'to_language' and 'from_language' struct fields
alexdowad Aug 3, 2022
88d1349
Make control flow in mb_wchar_to_cp50220 a bit clearer
alexdowad Aug 4, 2022
a465689
Imitate legacy behavior when converting non-encodings using mbstring
alexdowad Aug 4, 2022
128768a
Adjust number of error markers emitted for truncated UTF-8 code units
alexdowad Aug 5, 2022
c6bd085
Adjust number of error markers emitted for truncated ISO-2022-JP esca…
alexdowad Aug 6, 2022
4b37033
Ensure that Base64 output always wraps lines in the same manner as le…
alexdowad Aug 7, 2022
3517a70
Fix legacy text conversion filter for CP50220
alexdowad Aug 4, 2022
18e526c
Fix legacy text conversion filter for SJIS-2004
alexdowad Aug 6, 2022
f3c8efd
In legacy text conversion filters, reset filter state in 'flush' func…
alexdowad Aug 4, 2022
983a29d
Legacy conversion code for '7bit' to '8bit' inserts error markers
alexdowad Aug 6, 2022
bfccdbd
SJIS-Mobile#SOFTBANK string can end immediately after special escape …
alexdowad Aug 8, 2022
d9269be
Fix problems with ISO-2022-KR conversion
alexdowad Aug 9, 2022
d617fca
Fix legacy text conversion filter for 'HTML-ENTITIES'
alexdowad Aug 10, 2022
9320753
Add test to exercise _php_mb_encoding_handler_ex with multiple possib…
alexdowad Aug 13, 2022
a0455fe
[ci skip] Update NEWS for PHP 8.2.0 RC1
adoy Aug 16, 2022
7f26661
PHP-8.1 is now for PHP 8.1.11-dev
ramsey Aug 16, 2022
c8f6c7d
Merge branch 'PHP-8.1'
ramsey Aug 16, 2022
371367c
Reintroduce legacy 'SJIS-win' text encoding in mbstring
alexdowad Apr 7, 2022
5f8993b
Merge branch 'PHP-8.1'
alexdowad Aug 16, 2022
7c6316a
Prepare for 8.0.24
Aug 17, 2022
bf84ea0
Merge branch 'PHP-8.0' into PHP-8.1
cmb69 Aug 17, 2022
25de2c6
Merge branch 'PHP-8.1'
cmb69 Aug 17, 2022
84dcf57
Fix GH-9339: OpenSSL oid_file path check warning contains uninitializ…
bukka Aug 15, 2022
93bed98
Merge branch 'PHP-8.0' into PHP-8.1
bukka Aug 17, 2022
cb5d5d8
Merge branch 'PHP-8.1'
bukka Aug 17, 2022
72da418
Fix GH-9316: $http_response_header is wrong for long status line
cmb69 Aug 17, 2022
5d196d9
Merge branch 'PHP-8.0' into PHP-8.1
cmb69 Aug 18, 2022
45a3f4c
Merge branch 'PHP-8.1'
cmb69 Aug 18, 2022
aa702c5
add compat stuff for function attributes
remicollet Aug 18, 2022
1d4300d
Fix bug #79451: Using DOMDocument->replaceChild on doctype causes dou…
NathanFreeman Jul 30, 2022
410e5d4
Fix GCC 9.4 uninitialized variable warning
tstarling Aug 19, 2022
ba029fc
Fix GH-9323: crash when the VM enters userspace code via the GC
tstarling Aug 19, 2022
c36a1ea
Merge branch 'PHP-8.0' into PHP-8.1
Girgias Aug 19, 2022
6a79353
Merge branch 'PHP-8.1'
Girgias Aug 19, 2022
5739dd0
Fix bad merge
Girgias Aug 19, 2022
1109989
Merge branch 'PHP-8.1'
Girgias Aug 19, 2022
a1f5c8a
Fix GH-9227: Trailing dots and spaces in filenames are ignored
cmb69 Aug 16, 2022
d6831e9
Revert Fixed bug #79451
Girgias Aug 19, 2022
eb8ea14
Merge branch 'PHP-8.0' into PHP-8.1
Girgias Aug 19, 2022
d766e91
Merge branch 'PHP-8.1'
Girgias Aug 19, 2022
52e312a
opcache jit fix message format for OpenBSD.
devnexen Aug 19, 2022
9360cd6
Merge branch 'PHP-8.0' into PHP-8.1
devnexen Aug 19, 2022
5a9411d
Merge branch 'PHP-8.1'
devnexen Aug 19, 2022
6027d44
Fix #79451: DOMDocument->replaceChild on doctype causes double free
NathanFreeman Aug 4, 2022
9bd9e9a
Merge branch 'PHP-8.0' into PHP-8.1
cmb69 Aug 19, 2022
742b4ba
Merge branch 'PHP-8.1'
cmb69 Aug 19, 2022
e6e26b4
Declare ext/curl constants in stubs (#9384)
kocsismate Aug 20, 2022
d7383ed
Declare ext/tidy constants in stubs (#9383)
kocsismate Aug 20, 2022
0897266
Fix GH-9285 Traits cannot be used in readonly classes
kocsismate Aug 21, 2022
f743cb0
Declare ext/intl constants in stubs - part 13 (#9385)
kocsismate Aug 21, 2022
51eb1d4
Fix curl/sync_constants.php (#9391)
kocsismate Aug 21, 2022
06f86bf
Declare phpdbg constants in stubs (#9392)
kocsismate Aug 21, 2022
3058925
Fix pdo_oci tests for PHP 8.0
mvorisek Jul 19, 2022
3e0f144
Merge branch 'PHP-8.0' into PHP-8.1
kocsismate Aug 22, 2022
ae95644
Merge branch 'PHP-8.1'
kocsismate Aug 22, 2022
bb34121
Fix GH-9361: Segmentation fault on script exit
cmb69 Aug 19, 2022
6427c4b
Merge branch 'PHP-8.0' into PHP-8.1
cmb69 Aug 22, 2022
a7d084b
Merge branch 'PHP-8.1'
cmb69 Aug 22, 2022
66c4ade
Declare ext/intl constants in stubs - part 14 (#9387)
kocsismate Aug 22, 2022
c9c51eb
Tracing JIT: Fix incorrect guard elimination
dstogov Aug 22, 2022
5762fc5
Merge branch 'PHP-8.0' into PHP-8.1
dstogov Aug 22, 2022
a5d84ba
Merge branch 'PHP-8.1'
dstogov Aug 22, 2022
d0d6dae
Add a new zend API to check that strings don't have NUL bytes (#9375)
Girgias Aug 22, 2022
e8e0157
Use bool instead of int in session struct
Girgias Aug 12, 2022
a75de16
Add test for negative cookie lifetime
Girgias Aug 19, 2022
e9749a3
Remove OnUpdateLazyWrite validator
Girgias Aug 19, 2022
ad3ee47
Remove OnUpdateTransSid validator
Girgias Aug 19, 2022
a8f8cc2
Check sessions are active before output emitted consistently
Girgias Aug 19, 2022
73c2d79
Fix memory leaks
dstogov Aug 22, 2022
5bab9e9
Merge branch 'PHP-8.0' into PHP-8.1
dstogov Aug 22, 2022
a44fb09
Merge branch 'PHP-8.1'
dstogov Aug 22, 2022
66aed3a
SameSite session cookie prop should behave like other INI settings
Girgias Aug 12, 2022
9313cd8
Don't enforce 64 hit counter on Windows
cmb69 Aug 18, 2022
fd74ee7
JIT: Make code generation to be consistent with register allocation
dstogov Aug 22, 2022
2a33280
Merge branch 'PHP-8.0' into PHP-8.1
dstogov Aug 22, 2022
d8c6549
Merge branch 'PHP-8.1'
dstogov Aug 22, 2022
95befc7
Fix type inference
dstogov Aug 22, 2022
e10d2c2
Merge branch 'PHP-8.1'
dstogov Aug 22, 2022
567213c
Drop range inference for IS_NULL/IS_FALSE/IS_TRUE.
dstogov Aug 23, 2022
9b984f5
Enum error message consistency (#9350)
ollieread Aug 23, 2022
bf427b7
Add an API to observe functions and classes being linked
bwoebi Jul 11, 2022
396b2aa
Wrap observer notify functions into inlined enabled checks
bwoebi Aug 23, 2022
b9f7123
Check at compile time that a built-in class is not being aliased (#9402)
Girgias Aug 23, 2022
2d6a883
Unify structure for ext/random's engine tests (#9321)
TimWolla Aug 23, 2022
9f926d6
Stop JIT hot spot counting (#9343)
Aug 24, 2022
205ad0a
Fix coding style
dstogov Aug 24, 2022
b78c087
Fix typo (Paletter → Palette)
cmb69 Aug 24, 2022
0f696e2
Fix rand_range32() for umax = UINT32_MAX (#9416)
TimWolla Aug 24, 2022
2db2cab
Fix pdo_oci tests for PHP 8.1
mvorisek Aug 24, 2022
10a27bc
Merge branch 'PHP-8.1'
kocsismate Aug 24, 2022
bc4c012
Declare ext/standard constants in stubs - part 1 (#9404)
kocsismate Aug 24, 2022
c19116f
Test oci8 & pdo_oci in CI
mvorisek Aug 24, 2022
497820e
Merge branch 'PHP-8.0' into PHP-8.1
kocsismate Aug 24, 2022
92c8e79
Merge branch 'PHP-8.1'
kocsismate Aug 24, 2022
e787d9a
GH-9370: Fix opcache jit protection bits.
devnexen Aug 18, 2022
de90edc
Declare ext/oci8 constants in stubs (#9419)
kocsismate Aug 24, 2022
cbb024c
Select `rand_rangeXX()` variant only based on the requested range (#9…
TimWolla Aug 25, 2022
f597546
xmlRelaxNGCleanupTypes() is deprecated as of libxml2 2.10.0
cmb69 Aug 24, 2022
afc5ab4
Merge branch 'PHP-8.0' into PHP-8.1
cmb69 Aug 25, 2022
145525b
Merge branch 'PHP-8.1'
cmb69 Aug 25, 2022
be4dd60
Fix oci8/pdo_oci random test failures when run in parallel
mvorisek Aug 25, 2022
502c630
Merge branch 'PHP-8.0' into PHP-8.1
cmb69 Aug 25, 2022
b485a3e
Merge branch 'PHP-8.1'
cmb69 Aug 25, 2022
7f74a30
Reduce observer overhead when restoring script from opcache (#9413)
dstogov Aug 25, 2022
34d9e08
Fix GH-8348 for nightly
mvorisek Aug 26, 2022
ce1358f
Merge branch 'PHP-8.0' into PHP-8.1
kocsismate Aug 26, 2022
3f04caa
Merge branch 'PHP-8.1'
kocsismate Aug 26, 2022
3264f23
Fix strict-prototypes warning
iluuu1994 Aug 26, 2022
c643cbf
Support test-ini also for phpize builds
cmb69 Jun 15, 2022
c573b82
Declare ext/standard constants in stubs - part 2 (#9426)
kocsismate Aug 26, 2022
ef72d53
Declare ext/standard constants in stubs - part 3 (#9427)
kocsismate Aug 26, 2022
f866295
Fix pdo_dblib ext test conflicts when run in parallel
mvorisek Aug 26, 2022
2bd58db
Merge branch 'PHP-8.0' into PHP-8.1
cmb69 Aug 26, 2022
291c8bd
Merge branch 'PHP-8.1'
cmb69 Aug 26, 2022
b4ec3e9
Do not generate CONST_CS when registering constants (#9439)
kocsismate Aug 28, 2022
505e8d2
Fix GH-9310: SSL local_cert and local_pk do not respect open_basedir …
bukka Aug 12, 2022
1407968
Implement FR #76935: OpenSSL chacha20-poly1305 AEAD support
bukka Aug 18, 2022
39b2380
[ci skip] Add note about chacha20-poly1305 additon to UPGRADING
bukka Aug 28, 2022
35e2a25
Add openssl_cipher_key_length function
bukka Aug 18, 2022
1179622
Add libxml_get_external_entity_loader()
tstarling Jan 21, 2022
ca011bb
Drop unsupported libxml2 2.10.0 symbols
cmb69 Aug 17, 2022
4f50905
Respond without body to HEAD request on a static resource
vedranmiletic Mar 20, 2022
7065a22
Respond with HTTP status 405 to DELETE/PUT/PATCH request on a static …
vedranmiletic Mar 20, 2022
5e9af0d
Update NEWS for CLI built-in server changes
bukka Aug 28, 2022
386a044
[ci skip] Fix typo (requst → request)
staabm Aug 28, 2022
335979f
Add a bit verbosity in FPM logs
Aug 26, 2022
e2a5428
FPM fix strict prototype warnings.
devnexen Jul 18, 2022
819df03
Merge branch 'PHP-8.0' into PHP-8.1
devnexen Aug 28, 2022
b836007
Merge branch 'PHP-8.1'
devnexen Aug 28, 2022
ce42dcf
Fix ext/opcache/tests/jit/inc_obj_004.phpt failure introduced by fd74…
dstogov Aug 29, 2022
a516e29
Merge branch 'PHP-8.0' into PHP-8.1
dstogov Aug 29, 2022
2f9bc6e
Merge branch 'PHP-8.1'
dstogov Aug 29, 2022
8fe1db2
Delay fiber VM stack cleanup until after observer has been called
bwoebi Aug 26, 2022
725cb4e
Revert "Fix GH-9296: `ksort` behaves incorrectly on arrays with mixed…
cmb69 Aug 29, 2022
800df0f
Merge branch 'PHP-8.0' into PHP-8.1
cmb69 Aug 29, 2022
48d2578
Merge branch 'PHP-8.1'
cmb69 Aug 29, 2022
4b884be
JIT: Fix missing type store
dstogov Aug 29, 2022
4135e60
Fix memory leak
dstogov Aug 29, 2022
172ac0a
Merge branch 'PHP-8.0' into PHP-8.1
dstogov Aug 29, 2022
218da70
Merge branch 'PHP-8.1'
dstogov Aug 29, 2022
932586c
Fixed bug GH-9431: DateTime::getLastErrors() not returning false when…
derickr Aug 29, 2022
f92505c
Fix GH-8885: access.log with stderr writes logs to error_log after re…
WoZ Jul 3, 2022
be45f54
Merge branch 'PHP-8.0' into PHP-8.1
bukka Aug 29, 2022
869ccf1
Merge branch 'PHP-8.1'
bukka Aug 29, 2022
263a07e
typo
dstogov Aug 29, 2022
4845d70
Merge branch 'PHP-8.0' into PHP-8.1
dstogov Aug 29, 2022
a554416
Merge branch 'PHP-8.1'
dstogov Aug 29, 2022
bcdd987
Fix GH-8885 tests on MacOS
bukka Aug 29, 2022
3606387
Merge branch 'PHP-8.0' into PHP-8.1
bukka Aug 29, 2022
986e731
Re-add fixed tests for GH-8885
bukka Aug 29, 2022
7dc3d4b
Merge branch 'PHP-8.0' into PHP-8.1
bukka Aug 29, 2022
15bca29
Merge branch 'PHP-8.1'
bukka Aug 29, 2022
f3a14d1
Fix GH-9347: Current ODBC liveness checks may be inadequate
NattyNarwhal Aug 23, 2022
3503b1d
Fix bug #77780: "Headers already sent" when previous connection was a…
bukka Jun 26, 2022
bf97b36
Merge branch 'PHP-8.0' into PHP-8.1
bukka Aug 29, 2022
f3c357c
Merge branch 'PHP-8.1'
bukka Aug 29, 2022
e3034db
Fix FPM tester conflict
bukka Aug 29, 2022
f7d42f6
Update gen_stub to avoid compile errors on duplicate function names
alcaeus Aug 23, 2022
ef21bbe
Fix zend/test aliases
kocsismate Aug 30, 2022
869ab3c
Adjust PHPDoc
kocsismate Aug 30, 2022
8d78dce
Remove unused ext/zend_test alias functions
kocsismate Aug 30, 2022
adb45a6
Fix GH-9186 @strict-properties can be bypassed using unserialization …
kocsismate Aug 30, 2022
3d6ed8c
Catch up dev version numbers
sgolemon Aug 30, 2022
8be917b
Merge branch 'PHP-8.0' into PHP-8.1
sgolemon Aug 30, 2022
a05add6
Merge branch 'PHP-8.1'
sgolemon Aug 30, 2022
8b9679e
Make var_export/debug_zval_dump check for infinite recursion on the *…
TysonAndre Aug 30, 2022
1862152
Revert "Fix GH-9296: `ksort` behaves incorrectly on arrays with mixed…
ramsey Aug 30, 2022
fbc46e3
Merge branch 'PHP-8.1'
ramsey Aug 30, 2022
65619e8
Fix tests
cmb69 Aug 30, 2022
90a4971
[ci skip] Merge branch 'PHP-8.1'
cmb69 Aug 30, 2022
853181a
Add NEWS and UPGRADING entries for GH-9296
cmb69 Aug 30, 2022
327c952
Prepare for PHP 8.3
adoy Aug 30, 2022
58a9277
Prepare PHP 8.2.0 RC1
adoy Aug 30, 2022
a1b23be
Merge branch 'PHP-8.2'
adoy Aug 30, 2022
1d45ca5
Harden GitHub Workflows security
sashashura Aug 28, 2022
9f303cf
Prepare NEWS for PHP 8.2.0RC2
adoy Aug 30, 2022
06f713e
Add PHP-8.2 branch to build processes
ramsey Aug 30, 2022
c77bbf6
Mark crypt()'s $string parameter as #[\SensitiveParameter]
TimWolla Aug 30, 2022
3fdce9f
Merge branch 'PHP-8.2'
TimWolla Aug 30, 2022
8330a0f
Add PHP-8.2 branch to build processes
ramsey Aug 30, 2022
1553334
Merge branch 'PHP-8.2'
ramsey Aug 30, 2022
f8b217a
Fix pcre.jit on Apple Silicon
kelunik Aug 8, 2022
807fe37
[ci skip] Merge branch 'PHP-8.1' into PHP-8.2
cmb69 Aug 31, 2022
e5c7b5b
[ci skip] Merge branch 'PHP-8.2'
cmb69 Aug 31, 2022
9e6eab3
Store default object handlers alongside the class entry
bwoebi Jul 22, 2022
800c667
Fix compilation on MacOS
bwoebi Aug 24, 2022
94ee4f9
Port all internally used classes to use default_object_handlers
bwoebi Aug 24, 2022
1e1ea4f
Merge remote-tracking branch 'origin/PHP-8.2'
bwoebi Aug 31, 2022
f7d426c
Unify structure for ext/random's randomizer tests (#9410)
TimWolla Aug 31, 2022
3db5fa4
Merge branch 'PHP-8.2'
TimWolla Aug 31, 2022
2cfb028
Fix class name FQN when AST dumping new and class const
iluuu1994 Sep 1, 2022
d36874d
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Sep 2, 2022
2a5dccd
Merge branch 'PHP-8.2'
iluuu1994 Sep 2, 2022
64b962b
Declare ext/standard constants in stubs - part 4
kocsismate Sep 2, 2022
355ff78
Merge branch 'PHP-8.2'
kocsismate Sep 2, 2022
93f11d8
Fix GH-8932: Provide a way to get the called-scope of closures (#9299)
nicolas-grekas Sep 2, 2022
db1ef97
Add tests
arnaud-lb Sep 2, 2022
6aedc5e
[ci skip] NEWS
arnaud-lb Sep 2, 2022
409baac
Merge branch 'PHP-8.0' into PHP-8.1
arnaud-lb Sep 2, 2022
6deddd3
[ci skip] NEWS
arnaud-lb Sep 2, 2022
dcde9b8
Merge branch 'PHP-8.1' into PHP-8.2
arnaud-lb Sep 2, 2022
840ea64
[ci skip] NEWS
arnaud-lb Sep 2, 2022
257d16e
Merge branch 'PHP-8.2'
arnaud-lb Sep 2, 2022
6f2f228
Declare ext/standard constants in stubs - part 5
kocsismate Sep 2, 2022
bbcd448
Merge branch 'PHP-8.2'
kocsismate Sep 2, 2022
5c35594
Fix memory leak triggered by unsuccessful dynamic property unserializ…
kocsismate Sep 2, 2022
cfa72ff
Declare ext/standard constants in stubs - part 6
kocsismate Sep 2, 2022
e733ebf
Add parenthesis around preprocessor conditions in stubs
kocsismate Sep 2, 2022
b22e236
Merge branch 'PHP-8.2'
kocsismate Sep 2, 2022
5210872
Regenerate optimizer func info after preprocessor condition changes
kocsismate Sep 2, 2022
e2bdf4d
Merge branch 'PHP-8.2'
kocsismate Sep 2, 2022
fb242f4
Fix high opcache.interned_strings_buffer causing shm corruption (#9260)
arnaud-lb Sep 3, 2022
ea1287b
Log the cause of error when opcache cannot write to file cache (#9258)
arnaud-lb Sep 3, 2022
349fdc9
[ci skip] NEWS
arnaud-lb Sep 3, 2022
745db44
Merge branch 'PHP-8.2'
arnaud-lb Sep 3, 2022
f098193
GH-9464: Fix build on older macOs releases.
debohman Sep 3, 2022
79ac6e0
Merge branch 'PHP-8.2'
devnexen Sep 4, 2022
181ac46
Remove obsolete checks for random-related functionality from ext/stan…
TimWolla Sep 4, 2022
a5a8b5f
posix add sysconf call.
devnexen Sep 4, 2022
6d5770c
[ci skip] NEWS UPGRADING
devnexen Sep 4, 2022
2531121
[ci skip] UPGRADING striping name.
devnexen Sep 4, 2022
14f22e9
[ci skip] Fix formatting in UPGRADING
TimWolla Sep 4, 2022
81cb005
Fix type inference
dstogov Sep 5, 2022
c852e0f
Merge branch 'PHP-8.0' into PHP-8.1
dstogov Sep 5, 2022
c151e9b
Merge branch 'PHP-8.1' into PHP-8.2
dstogov Sep 5, 2022
94e27ba
Merge branch 'PHP-8.2'
dstogov Sep 5, 2022
59180b5
Fix inexistent skipif.inc
kocsismate Sep 5, 2022
8786257
Merge branch 'PHP-8.1' into PHP-8.2
kocsismate Sep 5, 2022
f311fe0
Merge branch 'PHP-8.2'
kocsismate Sep 5, 2022
c547fc1
Add support for validation of missing class synopses (#9472)
kocsismate Sep 5, 2022
ce9077d
Merge branch 'PHP-8.2'
kocsismate Sep 5, 2022
aff99f5
Support sapi/cli/tests/017.phpt on Windows, too
cmb69 Sep 2, 2022
6ac3f7c
Fix GH-9411: PgSQL large object resource is incorrectly closed
Yurunsoft Sep 5, 2022
b5cad50
Merge branch 'PHP-8.0' into PHP-8.1
cmb69 Sep 5, 2022
15405c6
Merge branch 'PHP-8.1' into PHP-8.2
cmb69 Sep 5, 2022
669312d
Merge branch 'PHP-8.2'
cmb69 Sep 5, 2022
ddf7a5d
random: Validate that the arrays do not contain extra elements when u…
TimWolla Sep 5, 2022
ebc4159
Merge branch 'PHP-8.2'
TimWolla Sep 5, 2022
9bea5f4
Add "Start time", "Last restart time" and "Last force restart time" t…
Sep 2, 2022
03fd405
Use php_info_print_table_header for actual column headers only (#9485)
TimWolla Sep 6, 2022
1ad59b3
Update INI validator and displayers depending on INI type
Girgias Aug 30, 2022
5011a18
Update globals to use bool type
Girgias Aug 30, 2022
3e362f5
Add zend_string INI validators
Girgias Aug 13, 2022
163c0b5
Merge branch 'PHP-8.2'
Girgias Sep 6, 2022
d67df60
intl: use uspoof_check2UTF8 call when available. (#9478)
devnexen Sep 6, 2022
05aa3b3
Upgrade PHP parser to 4.15.1
kocsismate Sep 6, 2022
f3d8f09
Merge branch 'PHP-8.2'
kocsismate Sep 6, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ 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,BORK,LEAK,XLEAK --offline --show-diff --show-slow 1000 --set-timeout 120 -d zend_extension=opcache.so
- 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
7 changes: 6 additions & 1 deletion .github/actions/apt-x64/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ runs:
- shell: bash
run: |
set -x

sudo apt-get update
sudo apt-get install \
bison \
Expand Down Expand Up @@ -58,11 +59,15 @@ runs:
libjpeg-dev \
libpng-dev \
libfreetype6-dev

mkdir /opt/oracle
wget -nv https://download.oracle.com/otn_software/linux/instantclient/instantclient-basiclite-linuxx64.zip
unzip instantclient-basiclite-linuxx64.zip && rm instantclient-basiclite-linuxx64.zip
wget -nv https://download.oracle.com/otn_software/linux/instantclient/instantclient-sdk-linuxx64.zip
unzip instantclient-sdk-linuxx64.zip && rm instantclient-sdk-linuxx64.zip
mv instantclient_*_* /opt/oracle/instantclient
# Interferes with libldap2 headers.
# interferes with libldap2 headers
rm /opt/oracle/instantclient/sdk/include/ldap.h
# fix debug build warning: zend_signal: handler was replaced for signal (2) after startup
echo DISABLE_INTERRUPT=on > /opt/oracle/instantclient/network/admin/sqlnet.ora
sudo sh -c 'echo /opt/oracle/instantclient >/etc/ld.so.conf.d/oracle-instantclient.conf && ldconfig'
3 changes: 2 additions & 1 deletion .github/actions/brew/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ runs:
gd \
libzip \
gmp \
tidyp \
tidy-html5 \
libxml2 \
libjpeg \
libxslt \
postgresql
brew link icu4c gettext --force
2 changes: 1 addition & 1 deletion .github/actions/configure-macos/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ runs:
--enable-soap \
--enable-xmlreader \
--with-xsl \
--with-tidy=/usr/local/opt/tidyp \
--with-tidy=/usr/local/opt/tidy-html5 \
--with-libxml \
--enable-sysvsem \
--enable-sysvshm \
Expand Down
2 changes: 2 additions & 0 deletions .github/actions/install-linux/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ runs:
sudo chmod 777 /etc/php.d
echo mysqli.default_socket=/var/run/mysqld/mysqld.sock > /etc/php.d/mysqli.ini
echo pdo_mysql.default_socket=/var/run/mysqld/mysqld.sock > /etc/php.d/pdo_mysql.ini
echo extension=oci8.so > /etc/php.d/oci8.ini
echo extension=pdo_oci.so > /etc/php.d/pdo_oci.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create mssql container
name: Create MSSQL container
runs:
using: composite
steps:
Expand Down
13 changes: 13 additions & 0 deletions .github/actions/setup-oracle/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Create Oracle container
runs:
using: composite
steps:
- shell: bash
run: |
set -x
docker run \
-e "ORACLE_PASSWORD=pass" \
-p 1521:1521 \
--name oracle \
-h oracle \
-d gvenzl/oracle-xe:slim
2 changes: 1 addition & 1 deletion .github/actions/setup-x64/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ runs:
docker exec sql1 /opt/mssql-tools/bin/sqlcmd -S 127.0.0.1 -U SA -P "<YourStrong@Passw0rd>" -Q "create login pdo_test with password='password', check_policy=off; create user pdo_test for login pdo_test; grant alter, control to pdo_test;"
sudo locale-gen de_DE

./.github/scripts/setup-slapd.sh
./.github/scripts/setup-slapd.sh &>/dev/null

sudo cp ext/snmp/tests/snmpd.conf /etc/snmp
sudo cp ext/snmp/tests/bigtest /etc/snmp
Expand Down
7 changes: 7 additions & 0 deletions .github/actions/test-linux/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,18 @@ runs:
export PDO_DBLIB_TEST_DSN="dblib:host=127.0.0.1;dbname=master;version=7.0"
export PDO_DBLIB_TEST_USER="pdo_test"
export PDO_DBLIB_TEST_PASS="password"
export PHP_OCI8_TEST_USER="system"
export PHP_OCI8_TEST_PASS="pass"
export PHP_OCI8_TEST_DB="localhost/XEPDB1"
export PDO_OCI_TEST_USER="system"
export PDO_OCI_TEST_PASS="pass"
export PDO_OCI_TEST_DSN="oci:dbname=localhost/XEPDB1;charset=AL32UTF8"
export SKIP_IO_CAPTURE_TESTS=1
export TEST_PHP_JUNIT=junit.out.xml
sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \
-j$(/usr/bin/nproc) \
-g FAIL,BORK,LEAK,XLEAK \
--no-progress \
--offline \
--show-diff \
--show-slow 1000 \
Expand Down
1 change: 1 addition & 0 deletions .github/actions/test-macos/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ runs:
sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \
-j$(sysctl -n hw.ncpu) \
-g FAIL,BORK,LEAK,XLEAK \
--no-progress \
--offline \
--show-diff \
--show-slow 1000 \
Expand Down
2 changes: 1 addition & 1 deletion .github/nightly_matrix.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

const BRANCHES = ['master', 'PHP-8.1', 'PHP-8.0'];
const BRANCHES = ['master', 'PHP-8.2', 'PHP-8.1', 'PHP-8.0'];

function get_branch_commit_cache_file_path(): string {
return dirname(__DIR__) . '/branch-commit-cache.json';
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/close-needs-feedback.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,16 @@ on:
schedule:
- cron: "0 0 * * *"

permissions:
contents: read

jobs:
build:
if: github.repository_owner == 'php'
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: Close old issues that need feedback
uses: dwieeb/needs-reply@v2
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/close-stale-feature-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,26 @@ on:
schedule:
- cron: "0 0 * * *"

permissions:
contents: read

jobs:
stale:
if: github.repository_owner == 'php'
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v4
with:
days-before-close: 7
days-before-close: 14
days-before-stale: 90
exempt-all-assignees: true
only-issue-labels: "Status: Requires RFC,Feature"
# Hack to skip PRs, unfortunately there's no option to disable PRs
only-pr-labels: inexistent-label
stale-issue-message: >-
There has not been any recent activity in this feature request. It will automatically be closed in 7 days
There has not been any recent activity in this feature request. It will automatically be closed in 14 days
if no further action is taken. Please see https://github.com/probot/stale#is-closing-stale-issues-really-a-good-idea
to understand why we auto-close stale feature requests.
6 changes: 6 additions & 0 deletions .github/workflows/close-stale-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,16 @@ on:
schedule:
- cron: "0 0 * * *"

permissions:
contents: read

jobs:
stale:
if: github.repository_owner == 'php'
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v4
with:
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
schedule:
- cron: "0 1 * * *"
workflow_dispatch: ~
permissions:
contents: read
jobs:
GENERATE_MATRIX:
name: Generate Matrix
Expand Down Expand Up @@ -47,8 +49,10 @@ jobs:
uses: actions/checkout@v2
with:
ref: ${{ matrix.branch.ref }}
- name: Create mssql container
uses: ./.github/actions/mssql
- name: Create MSSQL container
uses: ./.github/actions/setup-mssql
- name: Create Oracle container
uses: ./.github/actions/setup-oracle
- name: apt
uses: ./.github/actions/apt-x64
- name: ./configure
Expand Down Expand Up @@ -109,7 +113,7 @@ jobs:
debug: [true, false]
zts: [true, false]
name: "${{ matrix.branch.name }}_MACOS_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}"
runs-on: macos-10.15
runs-on: macos-11
steps:
- name: git checkout
uses: actions/checkout@v2
Expand Down Expand Up @@ -167,8 +171,10 @@ jobs:
steps:
- name: git checkout
uses: actions/checkout@v2
- name: Create mssql container
uses: ./.github/actions/mssql
- name: Create MSSQL container
uses: ./.github/actions/setup-mssql
- name: Create Oracle container
uses: ./.github/actions/setup-oracle
- name: apt
uses: ./.github/actions/apt-x64
- name: Install gcovr
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ on:
- PHP-7.4
- PHP-8.0
- PHP-8.1
- PHP-8.2
- master
pull_request:
branches:
- '**'
permissions:
contents: read
jobs:
LINUX_X64:
strategy:
Expand All @@ -32,8 +35,10 @@ jobs:
steps:
- name: git checkout
uses: actions/checkout@v2
- name: Create mssql container
uses: ./.github/actions/mssql
- name: Create MSSQL container
uses: ./.github/actions/setup-mssql
- name: Create Oracle container
uses: ./.github/actions/setup-oracle
- name: apt
uses: ./.github/actions/apt-x64
- name: ./configure
Expand Down Expand Up @@ -63,7 +68,7 @@ jobs:
- name: Verify generated files are up to date
uses: ./.github/actions/verify-generated-files
MACOS_DEBUG_NTS:
runs-on: macos-10.15
runs-on: macos-11
steps:
- name: git checkout
uses: actions/checkout@v2
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/remove-needs-feedback.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,16 @@ on:
types:
- created

permissions:
contents: read

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"
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions-ecosystem/action-remove-labels@v1
with:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ php
# Generated by x64 compiler, includes Debug, Debug_TS, Release, Release_TS
/x64/

# Generated by arm64 compiler, includes Debug, Debug_TS, Release, Release_TS
/arm64/

# Miscellaneous files generated by Windows build system
/main/config.w32.h
/win32/build/deplister.exe
Expand Down
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,8 @@ Currently we have the following branches in use:

| Branch | |
| --------- | --------- |
| master | Active development branch for PHP 8.2, which is open for backwards incompatible changes and major internal API changes. |
| master | Active development branch for PHP 8.3, which is open for backwards incompatible changes and major internal API changes. |
| PHP-8.2 | Is used to release the PHP 8.2.x series. This is a current stable version and is open for bugfixes only. |
| PHP-8.1 | Is used to release the PHP 8.1.x series. This is a current stable version and is open for bugfixes only. |
| PHP-8.0 | Is used to release the PHP 8.0.x series. This is a current stable version and is open for bugfixes only. |
| PHP-7.4 | Is used to release the PHP 7.4.x series. This is an old stable version and is open for security fixes only. |
Expand Down
Loading