Skip to content

sync #19

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 2,194 commits into from
Nov 29, 2022
Merged

sync #19

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2194 commits
Select commit Hold shift + click to select a range
1d6b32f
Remove unnecessary ast eval bailout
iluuu1994 Oct 21, 2022
51a9945
Merge branch 'PHP-8.2'
iluuu1994 Oct 27, 2022
a4acba9
Add missing EXTENSION section to tests
Girgias Oct 27, 2022
a27ae67
Merge branch 'PHP-8.1' into PHP-8.2
Girgias Oct 27, 2022
a123ce9
Merge branch 'PHP-8.2'
Girgias Oct 27, 2022
5b60370
mysqli_query throws warning despite using silenced error mode (#9842)
kamil-tekiela Oct 27, 2022
e713a8e
Add a temporary fix for insufficient buffer size in mysqlnd (#9835)
kamil-tekiela Oct 27, 2022
9604986
Add NEWS entry for #9841
kamil-tekiela Oct 27, 2022
ec1f58c
Merge branch 'PHP-8.0' into PHP-8.1
kamil-tekiela Oct 27, 2022
646b8f6
Merge branch 'PHP-8.1' into PHP-8.2
kamil-tekiela Oct 27, 2022
cd8beb8
Merge branch 'PHP-8.2'
kamil-tekiela Oct 27, 2022
c3b9b0f
Fix stub type info for posix_getrlimit
iluuu1994 Oct 28, 2022
edd6fd7
[skip ci] Mark posix_getrlimit test as un-repeatable
iluuu1994 Oct 28, 2022
bce12f4
Add NEWS entry for #9841
kamil-tekiela Oct 28, 2022
0db2e66
Merge branch 'PHP-8.1' into PHP-8.2
kamil-tekiela Oct 28, 2022
7532728
Merge branch 'PHP-8.2'
kamil-tekiela Oct 28, 2022
7f0b228
Fix pre-PHP 8.2 compatibility for php_mt_rand_range() with MT_RAND_PH…
TimWolla Oct 28, 2022
5989953
Merge branch 'PHP-8.2'
TimWolla Oct 28, 2022
1c5844a
Fix GH-9754: SaltStack hangs when running php-fpm 8.1.11
bukka Oct 29, 2022
29f7c46
Merge branch 'PHP-8.0' into PHP-8.1
bukka Oct 30, 2022
eb9cf18
Merge branch 'PHP-8.1' into PHP-8.2
bukka Oct 30, 2022
6be16f6
Merge branch 'PHP-8.2'
bukka Oct 30, 2022
721e604
Do not display the value of UNKNOWN constants in the manual (#9843)
kocsismate Oct 30, 2022
a14e125
Merge branch 'PHP-8.2'
kocsismate Oct 30, 2022
e4a1b80
Match FPM status pool's expose_php with parent
dwxh Sep 8, 2022
8229649
Fix GH-9770: Add small timeout in status-listen test
bukka Oct 30, 2022
a04a021
Merge branch 'PHP-8.0' into PHP-8.1
bukka Oct 30, 2022
22f2553
Merge branch 'PHP-8.1' into PHP-8.2
bukka Oct 30, 2022
e00dadf
Merge branch 'PHP-8.2'
bukka Oct 30, 2022
482ae71
Fix memory leak
dstogov Oct 31, 2022
fd6d2cc
Merge branch 'PHP-8.2'
dstogov Oct 31, 2022
004cb82
Bumb versions
derickr Oct 31, 2022
4f2955c
Merge branch 'PHP-7.4' into PHP-8.0
derickr Oct 31, 2022
1e9b270
Merge branch 'PHP-8.0' into PHP-8.1
derickr Oct 31, 2022
e821773
Merge branch 'PHP-8.1' into PHP-8.2
derickr Oct 31, 2022
4c4e72f
socket add socket_atmark support.
devnexen Oct 28, 2022
4f8d107
Use zend_call_known_function() in ext-pgsql instead of building FCI/FCC
Girgias Oct 31, 2022
c0f2727
Use zend_call_known_function() in ext-mysqli instead of building FCI/FCC
Girgias Oct 31, 2022
0574e1e
labeler.yml: set top-level read-only permissions (#9862)
pnacht Nov 1, 2022
2b5bed9
Updated to version 2022.6 (2022f)
derickr Nov 2, 2022
65f31a4
Empty merge
derickr Nov 2, 2022
bee083e
Updated to version 2022.6 (2022f)
derickr Nov 2, 2022
271361d
Empty merge
derickr Nov 2, 2022
6051362
Updated to version 2022.6 (2022f)
derickr Nov 2, 2022
9de7ac6
Empty merge
derickr Nov 2, 2022
dfc760b
Updated to version 2022.6 (2022f)
derickr Nov 2, 2022
8dabbda
Don’t reset func in zend_closure_internal_handler
rioderelfte Oct 24, 2022
3508b07
Tidy up buffer preparation in mysqlnd (#9834)
kamil-tekiela Nov 2, 2022
b2199f9
Merge branch 'PHP-8.2'
cmb69 Nov 2, 2022
1e3915c
Fix GH-9829: Bug in refactoring Windows shmat() function
cmb69 Nov 2, 2022
a27c41a
Merge branch 'PHP-8.2'
cmb69 Nov 2, 2022
d1c9ff5
Fix potential NULL pointer dereference Windows shm*() functions
cmb69 Nov 2, 2022
8bf6266
Merge branch 'PHP-8.0' into PHP-8.1
cmb69 Nov 2, 2022
79d4fda
Merge branch 'PHP-8.1' into PHP-8.2
cmb69 Nov 2, 2022
d672c04
Merge branch 'PHP-8.2'
cmb69 Nov 2, 2022
b30448f
Fix observing inherited internal functions
bwoebi Nov 2, 2022
98646e3
Merge branch 'PHP-8.2'
bwoebi Nov 2, 2022
7c45b95
Store a reference to closures in the FCC
Girgias Oct 26, 2022
de4cfff
Add various APIs to handle FCC structures
Girgias Oct 26, 2022
8d5d3fd
Refactor SPL Callback filter to only use FCC
Girgias Oct 27, 2022
29bb426
Only use FCC for SQLite3 user defined functions
Girgias Oct 31, 2022
37aea43
Only use FCC for SQLite3 user defined collations
Girgias Oct 31, 2022
d105958
Only use FCC for SQLite3 user defined authorizer
Girgias Oct 31, 2022
fb114bf
Only use FCC for libxml entity loader callback
Girgias Nov 1, 2022
4935e10
Fix hardcoded paths in test
bwoebi Nov 2, 2022
cd7e98a
Merge branch 'PHP-8.2'
bwoebi Nov 2, 2022
8e49d7f
Delay releasing closures until after observer end
bwoebi Nov 2, 2022
ef5ed06
Merge branch 'PHP-8.2'
bwoebi Nov 2, 2022
fdd088f
Properly deal with internal attributes used on promoted properties.
kooldev Oct 3, 2022
28dd600
Merge branch 'PHP-8.2'
iluuu1994 Nov 3, 2022
cc9ddde
Fix fake closure leaking when called from internal func
iluuu1994 Nov 3, 2022
a9231e7
Merge branch 'PHP-8.2'
iluuu1994 Nov 3, 2022
7597007
Migrate i386 to GitHub actions
iluuu1994 Oct 30, 2022
ed1e703
Merge branch 'PHP-8.0' into PHP-8.1
iluuu1994 Nov 3, 2022
b08901b
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Nov 3, 2022
86af42b
Merge branch 'PHP-8.2'
iluuu1994 Nov 3, 2022
d2c6634
Fix duplicate SKIPIF section
iluuu1994 Nov 3, 2022
4382c09
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Nov 3, 2022
eeefdf2
Merge branch 'PHP-8.2'
iluuu1994 Nov 3, 2022
bca1e1f
Fix ext section
iluuu1994 Nov 3, 2022
46d693b
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Nov 3, 2022
6d176ee
Merge branch 'PHP-8.2'
iluuu1994 Nov 3, 2022
35167af
Really fix test this time
iluuu1994 Nov 3, 2022
f45c8bd
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Nov 3, 2022
f669a55
Merge branch 'PHP-8.2'
iluuu1994 Nov 3, 2022
1fb40b5
Disable CLI server pdeathsig test on 32-bit GitHub actions
iluuu1994 Nov 3, 2022
5d1f3e0
Fix generator memory leaks when interrupted during argument evaluatio…
arnaud-lb Nov 4, 2022
1d67e34
[ci skip] NEWS
arnaud-lb Nov 4, 2022
4011657
Merge branch 'PHP-8.0' into PHP-8.1
arnaud-lb Nov 4, 2022
1cd2170
[ci skip] NEWS
arnaud-lb Nov 4, 2022
34a85fb
Merge branch 'PHP-8.1' into PHP-8.2
arnaud-lb Nov 4, 2022
94f6a0c
[ci skip] NEWS
arnaud-lb Nov 4, 2022
02ed122
Merge branch 'PHP-8.2'
arnaud-lb Nov 4, 2022
f31f464
Fix memory leak
dstogov Nov 7, 2022
de4b502
Merge branch 'PHP-8.1' into PHP-8.2
dstogov Nov 7, 2022
5e23cf9
Merge branch 'PHP-8.2'
dstogov Nov 7, 2022
05b63b1
Don't check "fake" closures (fix assertion)
dstogov Nov 7, 2022
08f9b50
Merge branch 'PHP-8.2'
dstogov Nov 7, 2022
37b84b7
Fiber: add shadow stack support
chen-hu-97 Jul 26, 2022
4c35d64
Don't skip test on Windows due to missing ext/posix
cmb69 Nov 3, 2022
31cdda2
Merge branch 'PHP-8.0' into PHP-8.1
cmb69 Nov 7, 2022
3c10246
Merge branch 'PHP-8.1' into PHP-8.2
cmb69 Nov 7, 2022
aef9430
Merge branch 'PHP-8.2'
cmb69 Nov 7, 2022
5d7b64b
Fix cross-compilation for copy_file_range
bwoebi Nov 7, 2022
b3f3414
Merge branch 'PHP-8.2'
bwoebi Nov 7, 2022
4244258
[ci skip] Update NEWS for PHP 8.2.0
saundefined Nov 8, 2022
540488c
PHP-8.1 is now for PHP 8.1.14-dev
patrickallaert Nov 8, 2022
631b043
Merge branch 'PHP-8.1' into PHP-8.2
patrickallaert Nov 8, 2022
a4e0ac4
Merge branch 'PHP-8.2'
patrickallaert Nov 8, 2022
44d652c
PHP-8.2 is now for PHP 8.2.1-dev and prepare NEWS for 8.2.0
adoy Nov 8, 2022
34c2a29
Merge branch 'PHP-8.2'
adoy Nov 8, 2022
ac50830
Bump for 8.0.27
sgolemon Nov 8, 2022
e1c52d1
Merge branch 'PHP-8.0' into PHP-8.1
sgolemon Nov 8, 2022
d3b2272
Merge branch 'PHP-8.1' into PHP-8.2
sgolemon Nov 8, 2022
4407f40
Merge branch 'PHP-8.2'
sgolemon Nov 8, 2022
4c372ec
[ci skip] Order NEWS sections alphabetically
adoy Nov 8, 2022
6bd8f40
Move observer_declared_function_notify until after pass_two()
bwoebi Nov 9, 2022
cda97e7
Merge branch 'PHP-8.2'
bwoebi Nov 9, 2022
b2186ca
Fix GH-9905: constant() behaves inconsistent when class is undefined
cmb69 Nov 8, 2022
4b1feda
Merge branch 'PHP-8.1' into PHP-8.2
cmb69 Nov 9, 2022
75f3722
Merge branch 'PHP-8.2'
cmb69 Nov 9, 2022
182314c
Do not report MINIT stage internal class aliases in extensions
bwoebi Nov 9, 2022
4052bbf
Fix opcache preload with observers enabled
bwoebi Nov 9, 2022
2cab487
Merge branch 'PHP-8.2'
bwoebi Nov 9, 2022
0bfdd56
Fix crash reading module_entry after DL_UNLOAD() when module already …
bwoebi Nov 9, 2022
81c33ee
Merge branch 'PHP-8.2'
bwoebi Nov 9, 2022
12e2610
[skip ci] Skip preloading test on Windows
iluuu1994 Nov 9, 2022
e45afbf
Merge branch 'PHP-8.2'
iluuu1994 Nov 9, 2022
93605f2
Make the usage of the role attribute more clear (#9901)
kocsismate Nov 10, 2022
af68beb
[ci skip] Fix GH-9918: License information for xxHash is not included…
akamah Nov 8, 2022
a9765d1
[ci skip] Merge branch 'PHP-8.1' into PHP-8.2
cmb69 Nov 10, 2022
f6c9a90
[ci skip] Merge branch 'PHP-8.2'
cmb69 Nov 10, 2022
5aa1318
No more need to cater to mime_magic extension
cmb69 Nov 10, 2022
09f071e
Disable opcache file_cache for observer preloading test
iluuu1994 Nov 11, 2022
bcad968
Merge branch 'PHP-8.2'
iluuu1994 Nov 11, 2022
bea2dac
[skip ci] Backport XFAIL of failing test
iluuu1994 Nov 11, 2022
4f37084
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Nov 11, 2022
894f87d
Merge branch 'PHP-8.2'
iluuu1994 Nov 11, 2022
da54664
[skip ci] Skip function JIT in nightly for ASAN
iluuu1994 Nov 11, 2022
a2dcb03
Merge branch 'PHP-8.0' into PHP-8.1
iluuu1994 Nov 11, 2022
ac05c8f
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Nov 11, 2022
a836bae
Merge branch 'PHP-8.2'
iluuu1994 Nov 11, 2022
6e5b989
Remove unused PHP 8.1 BC layer in JIT (#9937)
iluuu1994 Nov 11, 2022
9c6dd46
Skip tests if extension or SAPI is not included. (#9939)
dwo0 Nov 12, 2022
e0e347b
Fix GH-9923: Add the `SIGINFO` constant in pcntl for system supportin…
devnexen Nov 11, 2022
5ecbb1b
Fix GH-9298: remove all registered signal handlers in pcntl RSHUTDOWN
erkia Nov 8, 2022
73583bb
[ci skip] NEWS
arnaud-lb Nov 13, 2022
d8fc1af
Merge branch 'PHP-8.1' into PHP-8.2
arnaud-lb Nov 13, 2022
9d0f5bc
[ci skip] NEWS
arnaud-lb Nov 13, 2022
9575968
Merge branch 'PHP-8.2'
arnaud-lb Nov 13, 2022
fa0401b
Fix GH-9535 (unintended behavior change for mb_strcut in PHP 8.1)
NathanFreeman Sep 16, 2022
1562ba5
[ci skip] NEWS
alexdowad Nov 13, 2022
79ae309
Merge branch 'PHP-8.1' into PHP-8.2
alexdowad Nov 13, 2022
50f87d3
Merge branch 'PHP-8.2'
alexdowad Nov 13, 2022
db2d32f
Introduce TEST_FPM_EXTENSION_DIR for FPM tests with shared extensions
bukka Oct 30, 2022
b8c1b5e
Merge branch 'PHP-8.0' into PHP-8.1
bukka Nov 13, 2022
339bd57
Merge branch 'PHP-8.1' into PHP-8.2
bukka Nov 13, 2022
7666bc5
Merge branch 'PHP-8.2'
bukka Nov 13, 2022
a8bd342
Fix memory leak
dstogov Nov 14, 2022
6cbc911
Merge branch 'PHP-8.1' into PHP-8.2
dstogov Nov 14, 2022
a6a80d8
Merge branch 'PHP-8.2'
dstogov Nov 14, 2022
d3933e0
Fix regression test for GH-9535 on PHP-8.2+
alexdowad Nov 14, 2022
0ff9df9
Merge branch 'PHP-8.2'
alexdowad Nov 14, 2022
9aa86e6
Fix GH-9890: OpenSSL legacy providers not available on Windows
cmb69 Nov 4, 2022
5a5037f
Merge branch 'PHP-8.2'
cmb69 Nov 14, 2022
a4298c1
Fix GH-9932: Discards further characters for session name.
devnexen Nov 15, 2022
65782fb
Merge branch 'PHP-8.1' into PHP-8.2
devnexen Nov 15, 2022
da47547
Merge branch 'PHP-8.2'
devnexen Nov 15, 2022
d665142
Escape the role attribute of namespaced classes (#9952)
kocsismate Nov 15, 2022
d0d8344
Cache UTF-8-validity status of strings in GC flags
alexdowad Oct 5, 2022
dd8de1e
Promote unserialize() notices to warning (#9629)
TimWolla Nov 15, 2022
726d595
Remove code for OS2
Girgias Nov 9, 2022
dbf54e1
Use zend_result return type instead of innacurate ones
Girgias Nov 9, 2022
bab9e34
Change conditional check in disk_free_space() test
Girgias Nov 9, 2022
cdc0a8b
Add wordpress to community build
iluuu1994 Nov 13, 2022
c53b065
Merge branch 'PHP-8.0' into PHP-8.1
iluuu1994 Nov 17, 2022
8d37a65
Merge branch 'PHP-8.1' into PHP-8.2
iluuu1994 Nov 17, 2022
649083d
Merge branch 'PHP-8.2'
iluuu1994 Nov 17, 2022
8731fb2
Fix caching of default params with side-effects
iluuu1994 Nov 11, 2022
05f4b84
Fix cross-compilation for shadow_stack_exists
dstogov Nov 17, 2022
8d65c2f
Fix GH-9650: Can't initialize heap: [0x000001e7]
mvorisek Nov 14, 2022
c6204ac
Merge branch 'PHP-8.1' into PHP-8.2
cmb69 Nov 17, 2022
2cf03b6
Merge branch 'PHP-8.2'
cmb69 Nov 17, 2022
adfdfb2
Improvements in modifier parsing (#9926)
iluuu1994 Nov 17, 2022
b1954f5
Use fast text conversion filters to implement mb_convert_variables
alexdowad Nov 15, 2022
2d94ee5
Avoid undefined behavior in Windows ftok(3) emulation
cmb69 Nov 15, 2022
5e307d0
Merge branch 'PHP-8.1' into PHP-8.2
cmb69 Nov 18, 2022
dbf211d
Merge branch 'PHP-8.2'
cmb69 Nov 18, 2022
e57d056
Use __atomic_test_and_set() instead of __sync_test_and_set() for lsap…
andypost Nov 18, 2022
3660bc3
opcache fixing w/x pages creation on freebsd 13.1 and above.
devnexen Nov 5, 2022
27ef451
Revert "Use __atomic_test_and_set() instead of __sync_test_and_set() …
gwanglst Nov 20, 2022
4bdfce6
Use __atomic_xxxx() instead of __sync_xxxx() for lsapi.
gwanglst Nov 21, 2022
aee1a2f
Merge branch 'PHP-8.0' into PHP-8.1
gwanglst Nov 21, 2022
aef9660
Merge branch 'PHP-8.1' into PHP-8.2
gwanglst Nov 21, 2022
20a1d5d
Merge branch 'PHP-8.2'
gwanglst Nov 21, 2022
a618682
For UTF-7, flag unnecessary extra trailing byte in Base64 section as …
alexdowad Nov 19, 2022
3e743e9
Merge branch 'PHP-8.2'
alexdowad Nov 21, 2022
45cb3f9
Fix a memory leak in tracig JIT when the same closure is called throu…
dstogov Nov 21, 2022
f97f805
Merge branch 'closure_call' into PHP-8.2
dstogov Nov 22, 2022
ff85649
Merge branch 'PHP-8.2'
dstogov Nov 22, 2022
6fbf81c
Fix GH-9883 SplFileObject::__toString() reads next line
Girgias Nov 9, 2022
6e87485
Merge branch 'PHP-8.1' into PHP-8.2
Girgias Nov 22, 2022
b97d2b6
Merge branch 'PHP-8.2'
Girgias Nov 22, 2022
8645657
Fix performance degradation introduced in c2547ab7dc67646e287d430e447…
Girgias Nov 2, 2022
94c9a47
Merge branch 'PHP-8.2'
Girgias Nov 22, 2022
8f84192
Fix mangled kana output for JIS encoding
alexdowad Nov 20, 2022
0e540ed
Merge branch 'PHP-8.2'
alexdowad Nov 22, 2022
32d3cae
Handle trampolines correctly in new FCC API + usages (#9877)
Girgias Nov 22, 2022
72da2b0
php-fpm: fix Solaris port events.mechanism
psumbera Nov 22, 2022
31b20f1
Merge branch 'PHP-8.0' into PHP-8.1
bukka Nov 22, 2022
0e7a132
Merge branch 'PHP-8.1' into PHP-8.2
bukka Nov 22, 2022
8ed7546
Merge branch 'PHP-8.2'
bukka Nov 22, 2022
5a4520b
Fix bug #68207: Setting fastcgi.error_header can result in a WARNING
bukka Nov 21, 2022
70777ec
Merge branch 'PHP-8.1' into PHP-8.2
bukka Nov 22, 2022
0a51efe
Merge branch 'PHP-8.2'
bukka Nov 22, 2022
1767f32
[ci skip] Fix NEWS FPM entries
bukka Nov 22, 2022
941e51a
Merge branch 'PHP-8.1' into PHP-8.2
bukka Nov 22, 2022
599f6f1
Merge branch 'PHP-8.2'
bukka Nov 22, 2022
815d705
[ci skip] Update PHP 8.2.0 new release date
adoy Nov 23, 2022
ffc59f4
Merge branch 'PHP-8.2'
adoy Nov 23, 2022
ecc126e
[ci skip] Update PHP 8.2.0 new release date
adoy Nov 23, 2022
4a6f31b
Merge branch 'PHP-8.2'
adoy Nov 23, 2022
94702c5
Fix bug #80669: FPM numeric user fails to set groups
bukka Nov 21, 2022
2103e09
Merge branch 'PHP-8.2'
bukka Nov 23, 2022
f33b35c
[ci skip] Fix formatting in PHP 8.2 UPGRADING
bukka Nov 23, 2022
5a12ac8
Merge branch 'PHP-8.2'
bukka Nov 23, 2022
c9c1934
Fix GH-8517: FPM child pointer can be potentially uninitialized
bukka Aug 28, 2022
642fcdb
Merge branch 'PHP-8.1' into PHP-8.2
bukka Nov 23, 2022
8f95dff
Merge branch 'PHP-8.2'
bukka Nov 23, 2022
9416186
Add a note to php.ini-* regarding the required order for GH-8620
bukka Nov 24, 2022
3871ab2
Merge branch 'PHP-8.1' into PHP-8.2
bukka Nov 24, 2022
b7c03d1
Merge branch 'PHP-8.2'
bukka Nov 24, 2022
3d90a24
Fix GH-9997: OpenSSL engine clean up segfault
bukka Nov 24, 2022
ce58ae5
Merge branch 'PHP-8.2'
bukka Nov 24, 2022
ce57221
Fix GH-9064: PHP fails to build if openssl was built with no-ec
bukka Nov 25, 2022
c022ce9
Merge branch 'PHP-8.1' into PHP-8.2
bukka Nov 25, 2022
d526773
Merge branch 'PHP-8.2'
bukka Nov 25, 2022
91b3b58
Do not resolve constants on non-linked class during preloading (#9975)
arnaud-lb Nov 25, 2022
4987e65
[ci skip] NEWS
arnaud-lb Nov 25, 2022
5563535
Merge branch 'PHP-8.1' into PHP-8.2
arnaud-lb Nov 25, 2022
772bb62
[ci skip] NEWS
arnaud-lb Nov 25, 2022
1cba98e
Merge branch 'PHP-8.2'
arnaud-lb Nov 25, 2022
500b28a
Fix GH-10000: Test failures when OpenSSL compiled with no-dsa
bukka Nov 25, 2022
c8d8bf7
Merge branch 'PHP-8.1' into PHP-8.2
bukka Nov 25, 2022
eb83e02
Merge branch 'PHP-8.2'
bukka Nov 25, 2022
350883d
[ci skip] random: Trim trailing whitespace in randomizer.c
TimWolla Nov 27, 2022
50e3201
Merge branch 'PHP-8.2'
TimWolla Nov 27, 2022
0109aa6
Simplify decoding filter for UTF-8
alexdowad Nov 28, 2022
289822d
Add a proper error message for ffi load
pirast Nov 4, 2022
77ee92a
Remove unnecessary usage of CONST_CS
jorgsowa Nov 28, 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
  •  
  •  
  •  
15 changes: 5 additions & 10 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@ version: "{branch}.build.{build}"

image: Visual Studio 2019

branches:
except:
- PHP-5.6
- PHP-7.0

clone_depth: 64
clone_depth: 1

skip_commits:
files:
Expand Down Expand Up @@ -41,7 +36,7 @@ environment:
- THREAD_SAFE: 1
OPCACHE: 1
PARALLEL: -j2
INTRINSICS: AVX
INTRINSICS: AVX2

services:
# the setup scripts have to be touched, once some other db version is used
Expand All @@ -51,10 +46,10 @@ services:

platform:
- x64
# - x86
#- x86

build_script:
- appveyor\build.bat
- .github\scripts\windows\build.bat

test_script:
- appveyor\test.bat
- .github\scripts\windows\test.bat
186 changes: 181 additions & 5 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,188 @@
env:
CIRRUS_CLONE_DEPTH: 1
ARCH: amd64

freebsd_instance:
image_family: freebsd-13-0
asan_task:
name: ASAN_DEBUG_NTS
container:
image: gcc:latest
additional_containers:
- name: mysql
image: mysql:latest
port: 3306
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=mysql
- export MYSQL_TEST_USER=root
- export MYSQL_TEST_PASSWD=root
- export PDO_MYSQL_TEST_DSN="mysql:host=mysql;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

task:
freebsd_task:
name: FREEBSD_DEBUG_NTS
freebsd_instance:
image_family: freebsd-13-0
install_script:
#- sed -i -e 's/quarterly/latest/g' /etc/pkg/FreeBSD.conf
#- pkg upgrade -y
Expand All @@ -25,4 +201,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,XFAIL,BORK,WARN,LEAK,XLEAK,SKIP --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
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ end_of_line = lf
charset = utf-8
tab_width = 4

[{*.{awk,bat,c,cpp,d,h,l,re,skl,w32,y},Makefile*}]
[{*.{awk,bat,c,cpp,d,dasc,h,l,re,skl,w32,y},Makefile*}]
indent_size = 4
indent_style = tab

Expand Down
32 changes: 21 additions & 11 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
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,8 @@
*.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.{h,c} linguist-generated
52 changes: 52 additions & 0 deletions .github/actions/apt-x32/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: apt
runs:
using: composite
steps:
- shell: bash
run: |
set -x

export DEBIAN_FRONTEND=noninteractive
dpkg --add-architecture i386
apt-get update -y | true
# TODO: Reenable postgresql + postgresql-contrib packages once they work again.
apt-get install -y \
autoconf \
bison \
g++-multilib \
gcc-multilib \
language-pack-de \
libaspell-dev:i386 \
libbz2-dev:i386 \
libc6:i386 \
libcurl4-openssl-dev:i386 \
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 \
libpspell-dev:i386 \
libreadline-dev:i386 \
libsasl2-dev:i386 \
libsodium-dev:i386 \
libsqlite3-dev:i386 \
libssl-dev:i386 \
libtidy-dev:i386 \
libwebp-dev:i386 \
libxml2-dev:i386 \
libxml2-dev:i386 \
libxpm-dev:i386 \
libxslt1-dev:i386 \
libzip-dev:i386 \
locales \
make \
pkg-config:i386 \
re2c \
unzip \
wget \
zlib1g-dev:i386
Loading