Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
572 commits
Select commit Hold shift + click to select a range
922371f
Do not send X-Powered-By if headers sent (#9039)
bukka Jul 18, 2022
7aadbcb
GH-8344 Fetch properties of enums in const expressions
iluuu1994 May 24, 2022
09237f6
Update request startup error messages
ericnorris Oct 26, 2019
0dbedb3
Fixed memory leaks with DatePeriod::__unserialise
derickr Jul 15, 2022
e13d60c
DatePeriod properties cannot be made readonly (#9013)
kocsismate Jul 19, 2022
a670d2b
Prepare for PHP 8.0.23
carusogabriel Jul 19, 2022
8fec415
Drop support for SQLITE_COPY in authorizer callback
cmb69 Jul 18, 2022
4d8dd8d
Implement Random Extension
zeriyoshi Jul 19, 2022
5a69cb6
Deprecate MYSQLI_IS_MARIADB
kamil-tekiela Jul 4, 2022
079773c
Merge branch 'IS_MARIADB'
kamil-tekiela Jul 19, 2022
745cf34
Port standard/crc32 for windows arm64
dixyes Dec 6, 2021
180557d
Do not assert SSE/AVX resolvers at windows arm64
dixyes Dec 1, 2021
1416961
opcache JIT support improvements attempts on macOs.
devnexen Apr 16, 2022
e328c68
Rename @cname to @cvalue in stubs (#9043)
kocsismate Jul 19, 2022
37cf7f6
[ci skip] Fix minor typos
javiereguiluz Jul 19, 2022
7ae7df5
RFC: Make the `iterator_*()` family accept all `iterable`s (#8819)
TimWolla Jul 19, 2022
aa1fa8c
Merge branch 'PHP-8.0' into PHP-8.1
cmb69 Jul 19, 2022
4092413
Merge branch 'PHP-8.1'
cmb69 Jul 19, 2022
3b7babf
Fix GH-9017: php_stream_sock_open_from_socket could return NULL
hwde Jul 15, 2022
32d55f7
Merge branch 'PHP-8.0' into PHP-8.1
cmb69 Jul 19, 2022
33dae4b
Merge branch 'PHP-8.1'
cmb69 Jul 19, 2022
ba4e379
[ci skip] update branch creation time frame in release process doc
ramsey Jul 19, 2022
065e284
[ci skip] Link the random extension RFCs in UPGRADING
TimWolla Jul 19, 2022
3292e54
Run scripts/dev/credits
TimWolla Jul 19, 2022
3c24e5a
[ci skip] Add the 'random' extension to labeler.yml (#9050)
TimWolla Jul 19, 2022
8225e41
[ci skip] Update NEWS for PHP 8.2.0 beta2
adoy Jul 19, 2022
2e40495
Add scripts/dev/credits to 'verify-generated-files' action (#9049)
TimWolla Jul 19, 2022
296f764
Add myself as mbstring maintainer [ci skip]
alexdowad Jul 19, 2022
d43e55b
[ci skip] random: add SINCE in EXTENSIONS
zeriyoshi Jul 19, 2022
9af3327
PHP-8.1 is now for PHP 8.1.10-dev
patrickallaert Jul 20, 2022
840423d
Merge branch 'PHP-8.1'
patrickallaert Jul 20, 2022
9ac49c0
New implementation of mb_convert_kana
alexdowad Jul 12, 2022
d8a61ce
Fix legacy conversion filter for ISO-2022-JP-KDDI
alexdowad Jul 14, 2022
8a915ed
Fix legacy conversion filter for SJIS-2004
alexdowad Jul 14, 2022
6d525a4
Fix legacy conversion filter for ISO-2022-KR
alexdowad Jul 15, 2022
1977ef9
opcache find best candidate near .text segment for large maps on Free…
devnexen Jul 2, 2022
236fd4c
Declare ext/odbc constants in stubs (#9045)
kocsismate Jul 20, 2022
d430652
Fix --CGI-- support of run-tests.php
cmb69 Jul 20, 2022
de6d708
Merge branch 'PHP-8.1'
cmb69 Jul 20, 2022
b358834
Declare ext/openssl constants in stubs (#9046)
kocsismate Jul 20, 2022
c2bdaa4
Fix GH-9008: mb_detect_encoding(): wrong results with null $encodings
cmb69 Jul 20, 2022
3e922bf
Merge branch 'PHP-8.1'
cmb69 Jul 20, 2022
5c2c688
`phpinfo` HTML Output: Make module title names clickable and link to …
Ayesh Jul 8, 2022
998ede7
Fix segmentation fault in Randomizer::getBytes() if a user engine thr…
TimWolla Jul 20, 2022
804c3fc
Fix byte expansion in rand_rangeXX() (#9056)
TimWolla Jul 20, 2022
eac6330
[ci skip] Fix typo (proloading → preloading)
iamluc Jul 21, 2022
eea2283
Merge timelib 2021.13
derickr Jun 25, 2022
8487d8f
Fix GH-9067: random extension is not thread safe
cmb69 Jul 21, 2022
cc9c577
Fixed GH-8730: DateTime::diff miscalculation is same time zone of dif…
derickr Jun 17, 2022
37d460b
Fixed #81263: Wrong result from DateTimeImmutable::diff
derickr Jun 18, 2022
3559957
Fixed diff, again
derickr Jul 15, 2022
557e02b
Merge timelib 2021.14
derickr Jul 21, 2022
28944b8
Declare ext/pcre constants in stubs (#9077)
kocsismate Jul 21, 2022
b66b04d
Merge remote-tracking branch 'derickr/timelib-sync-tests' into PHP-8.1
derickr Jul 21, 2022
41694cf
Merge branch 'PHP-8.1'
derickr Jul 21, 2022
3edf93d
Update NEWS
derickr Jul 21, 2022
a71ebb5
Merge branch 'PHP-8.1'
derickr Jul 21, 2022
1c8e566
Update NEWS
derickr Jul 21, 2022
02881a7
Port win32/codepage.c codes for windows arm64
dixyes Dec 1, 2021
067a302
Sockets disable zerocopy test on ppc based arch.
devnexen Jul 21, 2022
d4a9cc8
Fix rc info of iterator_to_array (#9080)
iluuu1994 Jul 21, 2022
5b83b3a
Fix memory leak in LMDB driver
Girgias Jul 5, 2022
41a5b46
Fix RC debug of stub attribute (#9082)
iluuu1994 Jul 21, 2022
c7a0439
Merge branch 'PHP-8.0' into PHP-8.1
Girgias Jul 21, 2022
6cdfaf9
Update NEWS
Girgias Jul 21, 2022
d0542a6
Merge branch 'PHP-8.1'
Girgias Jul 21, 2022
f60f6be
Update NEWS
Girgias Jul 21, 2022
11c424c
Remove unnecessary include in SPL
Girgias Jul 21, 2022
cd64077
[skip ci] Add comment about LMDB env_close function call
Girgias Jul 21, 2022
ad136e6
Re-add MSAN in nightly
iluuu1994 Jul 21, 2022
37b351b
Merge branch 'PHP-8.0' into PHP-8.1
iluuu1994 Jul 21, 2022
0f7d0a3
Merge branch 'PHP-8.1'
iluuu1994 Jul 21, 2022
b5ab0e0
Assert all test files are cleaned up in CI (#8977)
iluuu1994 Jul 21, 2022
3962f00
Fix spl test cleanup
iluuu1994 Jul 21, 2022
5c10aa4
Merge branch 'PHP-8.0' into PHP-8.1
iluuu1994 Jul 21, 2022
ec52da1
Merge branch 'PHP-8.1'
iluuu1994 Jul 21, 2022
e4c8949
[ci skip] Update EXTENSIONS and Author(s) in ext/random (#9074)
zeriyoshi Jul 21, 2022
dfbe964
[ci skip] Add "segmentation fault if user engine throws" to NEWS
TimWolla Jul 21, 2022
133b9b0
Avoid signed integer overflow in php_random_range() (#9066)
zeriyoshi Jul 22, 2022
c5f9b2f
[ci skip] Fix version of NEWS entry
TimWolla Jul 22, 2022
dd00296
Declare ext/pdo constants in stubs (#9078)
kocsismate Jul 22, 2022
c8f4801
Convert client->request.request_uri to zend_string (#9086)
Girgias Jul 22, 2022
ab5491f
Fix shift in rand_rangeXX() (#9088)
TimWolla Jul 22, 2022
51447fb
[run-tests.php] Improve non-optimal nested `if`/`elseif`/`else` block…
Ayesh Jul 9, 2022
056afc8
[run-tests.php] Minor optimizations in `if` blocks by placing simple …
Ayesh Jul 9, 2022
f958701
[run-tests.php] Merge multiple `unset()` calls to a single call
Ayesh Jul 9, 2022
c83a10d
[run-tests.php] Replace backtick operator string literals with `shell…
Ayesh Jul 9, 2022
3483a1f
[run-tests.php] Combine multiple `str_replace` calls to a single `str…
Ayesh Jul 9, 2022
0490f08
[run-tests.php] echo call performance optimization
Girgias Jul 16, 2022
f72d264
Declare ext/pspell constants in stubs (#9096)
kocsismate Jul 22, 2022
17f3631
Declare ext/posix constants in stubs (#9095)
kocsismate Jul 22, 2022
6ab897c
Declare ext/phar constants in stubs (#9094)
kocsismate Jul 22, 2022
77bd39a
crc32 Aarch64 add crc feature to crc32_aarch64 from clang
devnexen Jul 4, 2022
4457dba
Add support for stubs to declare intersection type class properties (…
Girgias Jul 22, 2022
0d3061d
Import timelib 2021.15
derickr Jul 22, 2022
7831a1c
Add test case for GH-8964
derickr Jul 22, 2022
0ae9942
Merge remote-tracking branch 'derickr/timelib-2021-15-sync' into PHP-8.1
derickr Jul 22, 2022
b1575f9
Merge branch 'PHP-8.1'
derickr Jul 22, 2022
8ea587a
Import timelib 2022.01
derickr Jul 22, 2022
6ae86c2
Fixed bug #80022: Support ISO 8601 years outside 0000-9999 range better
derickr Jun 24, 2022
1d0e5ed
Add test case for bug #80483/#75035
derickr Jul 22, 2022
9dcb0bd
Merge remote-tracking branch 'derickr/bug75035-big-year-serialisation'
derickr Jul 22, 2022
0adbf9c
Fix memory leak in fiber constructor by throwing an error (#9098)
kooldev Jul 22, 2022
fc42098
Fix typo in lob_prefetch_ini.phpt test (#9099)
mvorisek Jul 22, 2022
eff9aed
[ci skip] Update NEWS for byte expansion in rand_rangeXX()
TimWolla Jul 22, 2022
b0c0a2c
Use -1 "precision" in gen_stub.php
mvorisek Jun 8, 2022
98be397
Declare ext/random constants in stubs (#9109)
kocsismate Jul 23, 2022
a98560a
Declare ext/session constants in stubs (#9112)
kocsismate Jul 23, 2022
c854816
Declare ext/readline constants in stubs (#9110)
kocsismate Jul 23, 2022
e4d79ce
Declare ext/reflection constants in stubs (#9111)
kocsismate Jul 23, 2022
395b6a9
Remove dead code in ext/random/random.c (#9114)
TimWolla Jul 23, 2022
c8ba00f
Add comment in GDBM informing to what param the 0 org corresponds to
Girgias Jun 29, 2022
0887a1d
Remove personalisation from write on readonly db DBA error message
Girgias Jun 29, 2022
79d831f
Pass MDB_RDONLY to the LMDB environment for readonly DBs
Girgias Jun 29, 2022
3c37290
Add support to pass driver flags to DBA handlers
Girgias Jun 29, 2022
34b352d
Fix memory leak on Randomizer::__construct() call twice (#9091)
zeriyoshi Jul 23, 2022
60f149f
Improve error reporting in random extension (#9071)
TimWolla Jul 25, 2022
44b86ae
Fix memory leak
dstogov Jul 25, 2022
cc465ba
Merge branch 'PHP-8.0' into PHP-8.1
dstogov Jul 25, 2022
4227fdd
Merge branch 'PHP-8.1'
dstogov Jul 25, 2022
229b189
[ci skip] Fix `str_split` NEWS and UPGRADE note
herndlm Jul 25, 2022
e70d282
JIT: Fix missing type stote
dstogov Jul 25, 2022
9d52081
Merge branch 'PHP-8.1'
dstogov Jul 25, 2022
53ae24e
zend defines attribute malloc for Win32 as returned pointer are not a…
devnexen Jul 23, 2022
d50875c
Fix type inference
dstogov Jul 25, 2022
87cf05e
Merge branch 'PHP-8.1'
dstogov Jul 25, 2022
4ad7e72
Declare ext/sysvmsg constants in stubs (#9125)
kocsismate Jul 25, 2022
35fd97c
Fix GH-9033: Loading blacklist file can fail due to negative length
cmb69 Jul 18, 2022
4834cfe
Merge branch 'PHP-8.0' into PHP-8.1
cmb69 Jul 25, 2022
f78ae8d
Merge branch 'PHP-8.1'
cmb69 Jul 25, 2022
a05a6c5
Declare ext/soap constants in stubs (#9124)
kocsismate Jul 25, 2022
7d36703
Initialize blacklist_path_length
cmb69 Jul 25, 2022
baebb73
Merge branch 'PHP-8.1'
cmb69 Jul 25, 2022
9090e26
sockets ext for solaris update.
devnexen Mar 11, 2022
f4b5051
Declare ext/zend_test constants in stubs (#9135)
kocsismate Jul 25, 2022
867c514
Declare ext/xml constants in stubs (#9131)
kocsismate Jul 25, 2022
062003e
Declare ext/xsl constants in stubs (#9134)
kocsismate Jul 25, 2022
60189aa
Skip locale tests /w musl libc (#9141)
mvorisek Jul 25, 2022
04f6fe4
Ammend DBA error message to use standard messaging
Girgias Jul 25, 2022
60cae26
Declare ext/xmlreader constants in stubs (#9133)
kocsismate Jul 26, 2022
5c693c7
Remove `->last_unsafe` from php_random_status (#9132)
TimWolla Jul 26, 2022
bdf5a4e
The hashvalue/index of a bucket is a zend_ulong
Girgias May 13, 2021
9115211
Use uint32_t in Z_PARAM_VARIADIC_WITH_NAMED
Girgias May 15, 2021
e52946e
Restrict range of buffer_length on all platforms to INT_MAX
cmb69 Jul 25, 2022
2fd5e82
Declare ext/snmp constants in stubs (#9113)
kocsismate Jul 26, 2022
5d52d47
Fix #69181: READ_CSV|DROP_NEW_LINE drops newlines within fields
cmb69 Jul 26, 2022
1362fef
Declare ext/zlib constants in stubs (#9147)
kocsismate Jul 26, 2022
eae893b
Declare ext/pgsql constants in stubs (#9092)
kocsismate Jul 27, 2022
d058acb
Use ValueError if an invalid mode is passed to Mt19937 (#9159)
TimWolla Jul 27, 2022
099b168
GH-9157: opcache fix build on older macOs releases.
devnexen Jul 26, 2022
8cf9c2f
Fix GH-9090: Support assigning function pointers in FFI
adsr Jul 22, 2022
5d62cfb
Tweak openssl_random_pseudo_bytes() upper bound error message
cmb69 Jul 27, 2022
a442e29
Fix GH-9155: dba_open("non-existing", "c-", "flatfile") segfaults
cmb69 Jul 26, 2022
cf1664e
Merge branch 'PHP-8.0' into PHP-8.1
cmb69 Jul 27, 2022
89216b2
Merge branch 'PHP-8.1'
cmb69 Jul 27, 2022
8ed21a8
Fix GH-9032: SQLite3 authorizer crashes on NULL values
cmb69 Jul 18, 2022
ca84d06
Merge branch 'PHP-8.0' into PHP-8.1
cmb69 Jul 27, 2022
a398a2f
Merge branch 'PHP-8.1'
cmb69 Jul 27, 2022
520bb2e
Fix get/set priority - error handling for MacOS and extra tests
Jul 22, 2022
85f3a96
Revert "Fixed #80047: DatePeriod doesn't warn with custom DateTimeImm…
derickr Jul 28, 2022
001e7db
Fixed bug #80047 (DatePeriod doesn't warn with custom DateTimeImmutable)
derickr Jul 28, 2022
1a9e689
Fix #65069: GlobIterator incorrect handling of open_basedir check
bukka Jul 24, 2022
b0d67aa
Merge remote-tracking branch 'derickr/bug80047-take2' into PHP-8.1
derickr Jul 28, 2022
534127d
Merge branch 'PHP-8.1'
derickr Jul 28, 2022
4147257
Merge remote-tracking branch 'derickr/bug80047-take2' into PHP-8.0
derickr Jul 28, 2022
566f902
Merge branch 'PHP-8.0' into PHP-8.1
derickr Jul 28, 2022
63798e5
Merge branch 'PHP-8.1'
derickr Jul 28, 2022
a35b3e7
Import timelib 2021.16
derickr Jul 28, 2022
a0c01f3
Add test case for GH-9601: DateInterval 1.5s added to DateTimeInterfa…
derickr Jul 28, 2022
b576bb9
Avoid using a stack allocated zend_function in Closure::call, to avoi…
bwoebi Jul 21, 2022
966d22b
Fix property fetch on magic constants in constant expressions
iluuu1994 Jul 28, 2022
3c01646
Escape \U and \u in generated stubs
alcaeus Jul 28, 2022
60cc376
Drop Windows specific implementation of openssl_random_pseudo_bytes()
cmb69 Jul 26, 2022
b56492b
Do not add inherited interface methods to the class synopsis page
kocsismate Jul 28, 2022
dd241c0
Merge remote-tracking branch 'derickr/timelib-sync-20220728' into PHP…
derickr Jul 28, 2022
a50499b
Merge branch 'PHP-8.1'
derickr Jul 28, 2022
d998054
Merge branch 'master' of github.com:php/php-src
derickr Jul 28, 2022
d002a0d
Change test to ignore INT_MIN/MAX, and fixed off WS
derickr Jul 28, 2022
da84287
Declare ext/sqlite3 constants in stubs (#9181)
kocsismate Jul 28, 2022
b948f80
Improve error messages in php_random_bytes() (#9169)
TimWolla Jul 28, 2022
eddab74
Improve DBA test suite (#8904)
Girgias Jul 28, 2022
7ab22aa
Refactor code handling file.current_zval (#8934)
Girgias Jul 28, 2022
ba9debb
Fix parentheses warnings
nikic Jul 28, 2022
6b160e7
Change fetch_type from int to uint32_t (#9152)
Girgias Jul 28, 2022
40af94a
Fix unused-but-set-variable warnings in timelib
nikic Jul 28, 2022
6ff662b
Fix unused-but-set-variable warning in hebrev()
nikic Jul 28, 2022
04f5da4
Avoid K&R style function declarations in sha1()
nikic Jul 28, 2022
107ad28
Suppress unused-but-set-variable warning in parsers
nikic Jul 28, 2022
fdb9e3a
Close stale feature requests
iluuu1994 Jul 28, 2022
565a416
Fix attribute target validation on fake closures
iluuu1994 Jul 28, 2022
2152bb2
Merge branch 'PHP-8.1'
iluuu1994 Jul 29, 2022
f957e3e
Fix arrow function with never return type
iluuu1994 Jul 22, 2022
9e2de4c
Add an API to manipulate observers at runtime
bwoebi Jul 11, 2022
fc394b4
Update libmysqlclient version used in CI
nikic Jul 29, 2022
668dbaf
Declare the TestInterface::DUMMY constant in stub
kocsismate Jul 30, 2022
056e968
Declare ext/gd constants in stubs (#9180)
kocsismate Jul 30, 2022
5aca25a
[ci skip] Improve error message of an engine fails to seed from the C…
TimWolla Jul 30, 2022
98b858e
Fix GH-9183 Get rid of unnecessary PHPDoc param and return type check…
kocsismate Jul 30, 2022
828c93b
Fix unserialize dictionary generation
nikic Jul 30, 2022
1c9a49e
Add opcache.preload_user=root to run-tests.php if root
bwoebi Jul 30, 2022
ac31e2e
Fix memory_leak in zend_test
bwoebi Jul 30, 2022
0c225a2
Declare ext/intl constants in stubs - part 1 (#9205)
kocsismate Jul 30, 2022
625f164
Include internal functions in the observer API
bwoebi Jul 20, 2022
7804cff
Fix stale message in close-stale-feature-requests.yml
iluuu1994 Jul 30, 2022
50a3fa4
Fix observer test
bwoebi Jul 31, 2022
b3b21ed
Fix ZEND_RC_DEBUG build in zend_test observer tests
bwoebi Jul 31, 2022
53ca24d
Improve phrasing in argument value errors in ext/random (#9206)
TimWolla Jul 31, 2022
449edd8
phpdbg few fixes, mostly printf-like format issues due to C str -> ze…
devnexen Jul 31, 2022
53e7141
Hide skipped tests in CI (#9163)
iluuu1994 Jul 31, 2022
962baf7
Declare ext/pcntl constants in stubs (#9075)
kocsismate Aug 1, 2022
dd9f477
Declare Transliterator::$id as readonly to unlock subclassing it
nicolas-grekas Jul 27, 2022
59d257d
Declare ext/tokenizer constants in stubs (#9148)
kocsismate Aug 1, 2022
4e92c74
random: split Randomizer::getInt() without argument to Randomizer::ne…
zeriyoshi Jul 30, 2022
af1a7b7
Fix SSA reconstruction when body of "foreach" loop is removed
dstogov Aug 1, 2022
4b19b85
Merge branch 'PHP-8.0' into PHP-8.1
dstogov Aug 1, 2022
21507ef
Merge branch 'PHP-8.1'
dstogov Aug 1, 2022
69c10ae
Fix incorrect guard motion out of the loop
dstogov Aug 1, 2022
fac3734
Merge branch 'PHP-8.1'
dstogov Aug 1, 2022
50bd8ba
PcgOneseq128XslRr64::jump(): Throw ValueError for negative $advance (…
arokettu Aug 1, 2022
2758ff2
Tracing: Prevent recording types of variables used to pass zend_class…
dstogov Aug 1, 2022
7ff71a0
Merge branch 'PHP-8.0' into PHP-8.1
dstogov Aug 1, 2022
c207efa
Merge branch 'PHP-8.1'
dstogov Aug 1, 2022
09e261e
[ci skip] Update NEWS for ext/random
TimWolla Aug 1, 2022
5e518c0
[ci skip] Move 'Core' into the correct alphabetical order in NEWS
TimWolla Aug 1, 2022
1478278
SPL: Use new improved is_line_empty() function instead of the old one…
Girgias Aug 1, 2022
a697083
Extended map_ptr before copying class table (#9188)
arnaud-lb Aug 1, 2022
bccda7e
Extended map_ptr before copying class table (#9188)
arnaud-lb Aug 1, 2022
832e0ef
[ci skip] NEWS
arnaud-lb Aug 1, 2022
874b861
Merge branch 'PHP-8.1'
arnaud-lb Aug 1, 2022
5d5d979
[ci skip] NEWS
arnaud-lb Aug 1, 2022
c63f18d
Unify ext/random unserialize errors with ext/date (#9185)
TimWolla Aug 2, 2022
94fde15
Move implementation of mb_strlen to mbstring.c
alexdowad Jul 19, 2022
7299096
New implementation of mb_strimwidth
alexdowad Jul 19, 2022
44b4fb2
Fix legacy text conversion filter for CP50220
alexdowad Jul 23, 2022
0a6ea5b
Fix legacy text conversion filter for UCS-4
alexdowad Jul 24, 2022
219fff3
Fix legacy text conversion filter for UTF7-IMAP
alexdowad Jul 25, 2022
e1351eb
Fix legacy text conversion filter for UTF-16
alexdowad Jul 23, 2022
78ee184
Move kana conversion function to mbfilter_cp5022x.c
alexdowad Jul 26, 2022
5370f34
mb_strimwidth inserts error markers in invalid input string (for back…
alexdowad Jul 30, 2022
4679805
Declare ext/sodium constants in stubs (#9225)
kocsismate Aug 2, 2022
6a7fd48
[ci skip] Update NEWS for PHP 8.2.0 beta3
saundefined Aug 2, 2022
b73f139
Declare ext/spl constants in stubs (#9226)
kocsismate Aug 2, 2022
150456e
Declare ext/intl constants in stubs - part 2 (#9219)
kocsismate Aug 2, 2022
54e406c
Clean up nested exceptions without value-add in ext/random (#9211)
TimWolla Aug 2, 2022
a6922fd
Clean up the implementation of Randomizer::__construct() (#9222)
TimWolla Aug 2, 2022
822881b
[ci skip] Move the removal of the RuntimeException in ext/random to B…
TimWolla Aug 2, 2022
db84e44
Fix PcgOneseq128XslRr64::__construct() definition in random.stub.php …
TimWolla Aug 2, 2022
e5ab9f4
Fix bug #65489: glob() basedir check is inconsistent
bukka Jul 30, 2022
dc01fce
Fix GH-8396: Network online test using https broken
bukka Aug 2, 2022
3331832
Add ext/random Exception hierarchy (#9220)
TimWolla Aug 2, 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,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 --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
12 changes: 11 additions & 1 deletion .github/actions/test-linux/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Test
inputs:
testArtifacts:
default: null
required: false
runTestsParameters:
default: ''
required: false
Expand All @@ -18,10 +21,17 @@ runs:
export PDO_DBLIB_TEST_USER="pdo_test"
export PDO_DBLIB_TEST_PASS="password"
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,XFAIL,BORK,WARN,LEAK,XLEAK,SKIP \
-g FAIL,BORK,LEAK,XLEAK \
--offline \
--show-diff \
--show-slow 1000 \
--set-timeout 120
- uses: actions/upload-artifact@v3
if: always() && inputs.testArtifacts != null
with:
name: ${{ github.job }}_${{ inputs.testArtifacts }}
path: ${{ github.workspace }}/junit.out.xml
retention-days: 5
12 changes: 11 additions & 1 deletion .github/actions/test-macos/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Test
inputs:
testArtifacts:
default: null
required: false
runTestsParameters:
default: ''
required: false
Expand All @@ -11,10 +14,17 @@ runs:
set -x
export SKIP_IO_CAPTURE_TESTS=1
export CI_NO_IPV6=1
export TEST_PHP_JUNIT=junit.out.xml
sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \
-j$(sysctl -n hw.ncpu) \
-g FAIL,XFAIL,BORK,WARN,LEAK,XLEAK,SKIP \
-g FAIL,BORK,LEAK,XLEAK \
--offline \
--show-diff \
--show-slow 1000 \
--set-timeout 120
- uses: actions/upload-artifact@v3
if: always() && inputs.testArtifacts != null
with:
name: ${{ github.job }}_${{ inputs.testArtifacts }}
path: ${{ github.workspace }}/junit.out.xml
retention-days: 5
5 changes: 3 additions & 2 deletions .github/actions/verify-generated-files/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ runs:
run: |
set -x
[[ "$OSTYPE" == "darwin"* ]] && export PATH="/usr/local/opt/bison/bin:$PATH"
scripts/dev/credits
scripts/dev/genfiles
Zend/zend_vm_gen.php
ext/tokenizer/tokenizer_data_gen.php
build/gen_stub.php -f
build/gen_stub.php --generate-optimizer-info
ext/tokenizer/tokenizer_data_gen.php
git add . -Nu && git diff --exit-code
git add . -N && git diff --exit-code
17 changes: 10 additions & 7 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@
"Extension: pspell":
- ext/pspell/**/*

"Extension: random":
- ext/random/**/*

"Extension: readline":
- ext/readline/**/*

Expand Down Expand Up @@ -219,22 +222,22 @@
- ext/zlib/**/*

"SAPI: apache2handler":
- ext/sapi/apache2handler/**/*
- sapi/apache2handler/**/*

"SAPI: cgi":
- ext/sapi/cgi/**/*
- sapi/cgi/**/*

"SAPI: cli":
- ext/sapi/cli/**/*
- sapi/cli/**/*

"SAPI: fpm":
- ext/sapi/fpm/**/*
- sapi/fpm/**/*

"SAPI: fuzzer":
- ext/sapi/fuzzer/**/*
- sapi/fuzzer/**/*

"SAPI: litespeed":
- ext/sapi/litespeed/**/*
- sapi/litespeed/**/*

"SAPI: phpdbg":
- ext/sapi/phpdbg/**/*
- sapi/phpdbg/**/*
23 changes: 23 additions & 0 deletions .github/workflows/close-stale-feature-requests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Close stale feature requests

on:
schedule:
- cron: "0 0 * * *"

jobs:
stale:
if: github.repository_owner == 'php'
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4
with:
days-before-close: 7
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
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.
40 changes: 40 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,13 @@ jobs:
- name: Test
uses: ./.github/actions/test-linux
with:
testArtifacts: ${{ matrix.branch.name }}_${{ matrix.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}
runTestsParameters: >-
${{ matrix.run_tests_parameters }}
- name: Test Tracing JIT
uses: ./.github/actions/test-linux
with:
testArtifacts: ${{ matrix.branch.name }}_${{ matrix.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} Tracing JIT
runTestsParameters: >-
${{ matrix.run_tests_parameters }}
-d zend_extension=opcache.so
Expand All @@ -80,13 +82,15 @@ jobs:
- name: Test OpCache
uses: ./.github/actions/test-linux
with:
testArtifacts: ${{ matrix.branch.name }}_${{ matrix.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} OpCache
runTestsParameters: >-
${{ matrix.run_tests_parameters }}
-d zend_extension=opcache.so
-d opcache.enable_cli=1
- name: Test Function JIT
uses: ./.github/actions/test-linux
with:
testArtifacts: ${{ matrix.branch.name }}_${{ matrix.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} Function JIT
runTestsParameters: >-
${{ matrix.run_tests_parameters }}
-d zend_extension=opcache.so
Expand Down Expand Up @@ -127,9 +131,12 @@ jobs:
run: sudo make install
- name: Test
uses: ./.github/actions/test-macos
with:
testArtifacts: ${{ matrix.branch.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}
- name: Test Tracing JIT
uses: ./.github/actions/test-macos
with:
testArtifacts: ${{ matrix.branch.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} Tracing JIT
runTestsParameters: >-
-d zend_extension=opcache.so
-d opcache.enable_cli=1
Expand All @@ -138,13 +145,15 @@ jobs:
- name: Test OpCache
uses: ./.github/actions/test-macos
with:
testArtifacts: ${{ matrix.branch.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} OpCache
runTestsParameters: >-
-d zend_extension=opcache.so
-d opcache.enable_cli=1
-d opcache.protect_memory=1
- name: Test Function JIT
uses: ./.github/actions/test-macos
with:
testArtifacts: ${{ matrix.branch.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} Function JIT
runTestsParameters: >-
-d zend_extension=opcache.so
-d opcache.enable_cli=1
Expand All @@ -153,3 +162,34 @@ jobs:
-d opcache.jit=1205
- name: Verify generated files are up to date
uses: ./.github/actions/verify-generated-files
COVERAGE_DEBUG_NTS:
runs-on: ubuntu-20.04
steps:
- name: git checkout
uses: actions/checkout@v2
- name: Create mssql container
uses: ./.github/actions/mssql
- name: apt
uses: ./.github/actions/apt-x64
- name: Install gcovr
run: sudo -H pip install gcovr
- name: ./configure
uses: ./.github/actions/configure-x64
with:
configurationParameters: --enable-debug --disable-zts --enable-gcov
- name: make
run: make -j$(/usr/bin/nproc) >/dev/null
- name: make install
uses: ./.github/actions/install-linux
- name: Setup
uses: ./.github/actions/setup-x64
# We only test with OpCache, the difference in coverage is negligible
- name: Test OpCache
uses: ./.github/actions/test-linux
with:
runTestsParameters: >-
-d zend_extension=opcache.so
-d opcache.enable_cli=1
- name: Upload Test Coverage to Codecov.io
if: always()
run: bash <(curl -s https://codecov.io/bash)
6 changes: 6 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,12 @@ jobs:
uses: ./.github/actions/setup-x64
- name: Test
uses: ./.github/actions/test-linux
with:
testArtifacts: ${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}
- name: Test Tracing JIT
uses: ./.github/actions/test-linux
with:
testArtifacts: ${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} Tracing JIT
runTestsParameters: >-
-d zend_extension=opcache.so
-d opcache.enable_cli=1
Expand All @@ -78,9 +81,12 @@ jobs:
run: sudo make install
- name: Test
uses: ./.github/actions/test-macos
with:
testArtifacts: ${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}
- name: Test Tracing JIT
uses: ./.github/actions/test-macos
with:
testArtifacts: ${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} Tracing JIT
runTestsParameters: >-
-d zend_extension=opcache.so
-d opcache.enable_cli=1
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ tmp-php.ini
# GitHub actions cache
# ------------------------------------------------------------------------------
/branch-commit-cache.json
/junit.out.xml

# ------------------------------------------------------------------------------
# Special cases to invert previous ignore patterns
Expand Down
8 changes: 8 additions & 0 deletions EXTENSIONS
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ STATUS: Working
EXTENSION: mbstring
PRIMARY MAINTAINER: Rui Hirokawa <hirokawa@php.net> (2001 - 2013)
Nikita Popov <nikic@php.net> (2017 - 2020)
Alex Dowad <alexinbeijing@gmail.com> (2021 - 2022)
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
Expand Down Expand Up @@ -425,6 +426,13 @@ MAINTENANCE: Unknown
STATUS: Working
SINCE: 4.0.2
-------------------------------------------------------------------------------
EXTENSION: random
PRIMARY MAINTAINER Go Kudo <zeriyoshi@php.net> (2022 - 2022)
Tim Düsterhus <timwolla@php.net> (2022 - 2022)
MAINTENANCE: Maintained
STATUS: Working
SINCE: 8.2.0
-------------------------------------------------------------------------------
EXTENSION: readline
PRIMARY MAINTAINER: Unknown
MAINTENANCE: Unknown
Expand Down
Loading