Skip to content

Test sanitizer #97

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

Open
wants to merge 1,313 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1313 commits
Select commit Hold shift + click to select a range
3693ad2
Refactor union semun in ext/sysvsem (#13473)
petk Feb 22, 2024
703ead5
Extend the maximum precision round can handle by one digit
SakiTakamachi Feb 22, 2024
d299518
NEWS / UPGRADING
SakiTakamachi Feb 22, 2024
9603199
Remove HAVE_SYSCONF check (#13474)
petk Feb 22, 2024
2f9320c
DOMXPath::quote(string $str): string (#13456)
divinity76 Feb 22, 2024
205c8b6
[ci skip] NEWS and UPGRADING for DOMXPath::quote()
nielsdos Feb 22, 2024
171e398
Remove nsl library check in sapi/fpm (#13478)
petk Feb 22, 2024
9c2c0c3
Remove always-true check
nielsdos Feb 22, 2024
85217a0
Mark DOMXPath as uncloneable
nielsdos Feb 22, 2024
01f1c60
Cleanup xpath.c by merging some declarations and assignments
nielsdos Feb 22, 2024
657167f
Destroy xpath callbacks at the time when the reconstruction happens
nielsdos Feb 22, 2024
e9f8def
Find and link dl library as needed with AC_SEARCH_LIBS (#13482)
petk Feb 23, 2024
bd36514
Find and link math library as needed with AC_SEARCH_LIBS (#13481)
petk Feb 23, 2024
1feeadd
Simplify times Autoconf check (#13464)
petk Feb 23, 2024
9c4beac
Remove inet_aton
jorgsowa Feb 23, 2024
25dbe53
Add test with quoting multibyte GBK vs utf8mb4 in PDO
nielsdos Feb 23, 2024
75ef03e
CI: Remove ext/imap dependencies (#13484)
Ayesh Feb 24, 2024
92dffb7
Check posix_spawn_file_actions_addchdir_np with AC_CHECK_FUNCS
petk Feb 24, 2024
ec778c0
Use default HAVE_SIGSETJMP symbol description
petk Feb 24, 2024
ad29afd
Document xsl:keys handling better in ext/xsl
nielsdos Feb 24, 2024
30621b2
Add test for overwriting an existing stream context using libxml_set_…
nielsdos Feb 24, 2024
a74da53
Remove useless write to LIBXML(stream_context)
nielsdos Feb 24, 2024
db6a567
Remove duplicate libtool --silent option
petk Feb 25, 2024
4b405d8
Display class constant and property doc comments via reflection (#13499)
kocsismate Feb 25, 2024
f2e199e
Implement "support doc comments for internal classes and functions" (…
kocsismate Feb 25, 2024
7266e4f
Add forgotten UPGRADING note for doc comment handling related changes
kocsismate Feb 25, 2024
e84acc0
Escape function names in optimizer function info
kocsismate Feb 25, 2024
1256d74
Zend/tests/offsets: add tests for taking references (#13496)
Girgias Feb 25, 2024
586adf9
Remove unimplemented, unreferenced function from php_xmlreader.c
nielsdos Feb 25, 2024
b68b55b
Remove unused write_func in php_xmlreader.c
nielsdos Feb 25, 2024
06a89a9
Make readonly error message consistent
nielsdos Feb 25, 2024
7f080d3
Don't put xmlreader prop handler data on the heap
nielsdos Feb 25, 2024
da1a940
Set xmlreader property handler hash size to a precalculated value
nielsdos Feb 25, 2024
6d721b2
Use string literal equality helper function in xmlreader_get_method
nielsdos Feb 25, 2024
d024dd3
Simplify nanosleep Autoconf check (#13490)
petk Feb 25, 2024
79133df
random: Pass algorithm and state together as `php_random_algo_with_st…
TimWolla Feb 25, 2024
035a5fd
Add LIBXML_RECOVER (#13504)
nielsdos Feb 25, 2024
c1d6cf3
Check for struct cmsgcred with AC_CHECK_TYPES (#13507)
petk Feb 25, 2024
0039446
Check for struct ucred with AC_CHECK_TYPES (#13510)
petk Feb 25, 2024
295a177
Zend/tests/offsets: Add tests where the offset is a reference (#13506)
Girgias Feb 26, 2024
7b7f97b
Remove duplicate Autoconf check for sed
petk Feb 26, 2024
7d295cb
Check socket extension functions in a single Autoconf macro
petk Feb 26, 2024
ba27fab
Merge branch 'PHP-8.3'
petk Feb 26, 2024
14873dd
Drop zend_mm_set_custom_debug_handlers() (#13457)
realFlowControl Feb 26, 2024
718a8b4
[skip ci] Update PHP inet_aton and symbols removal notes
petk Feb 26, 2024
2384453
Use preprocessor to check for AI_V4MAPPED, AI_ALL and AI_IDN (#13513)
petk Feb 26, 2024
dbf0b6a
ext/intl: Refactor ResourceBundle get and dimension access (#13503)
Girgias Feb 26, 2024
ddcf5d7
Merge branch 'PHP-8.3'
nielsdos Feb 26, 2024
dce6ed3
random: Adjust `status` to `state` (#13521)
TimWolla Feb 26, 2024
c0ba573
Merge branch 'PHP-8.3'
devnexen Feb 27, 2024
868f1a3
ext/pgsql fix new test
devnexen Feb 27, 2024
9f586f6
Fixed int32 underflow on DateTime::createFromTimestamp (#12775)
marc-mabe Feb 27, 2024
0bc05fa
Merge branch 'PHP-8.3'
saundefined Feb 27, 2024
5c7a0ab
Merge branch 'PHP-8.3'
Girgias Feb 27, 2024
2ca38d1
Remove PHP_CHECK_GCC_ARG (#13525)
petk Feb 27, 2024
4799321
Merge branch 'PHP-8.3'
nielsdos Feb 27, 2024
6f258f0
Merge branch 'PHP-8.3'
bukka Feb 27, 2024
1d20fc5
Merge branch 'PHP-8.3'
nielsdos Feb 27, 2024
81dc935
Merge branch 'PHP-8.3'
bukka Feb 27, 2024
ba401cf
Remove lefted out test from the revert for GH-13519
bukka Feb 27, 2024
98bd66f
Simplify clock_gettime Autoconf check (#13537)
petk Feb 28, 2024
4bee528
Move back mailinglist-rules.md and release-process.md back to docs
bukka Feb 27, 2024
0b7ef98
Merge branch 'PHP-8.3'
bukka Feb 28, 2024
0de88df
ext/spl: mark all zend_object_handlers as static (#13547)
Girgias Feb 28, 2024
acb677c
Simplify Pgrab and proc library Autoconf check (#13488)
petk Feb 28, 2024
154517e
Simplify openpty Autoconf check (#13494)
petk Feb 28, 2024
a31edaa
Merge branch 'PHP-8.3'
SakiTakamachi Feb 28, 2024
99e7cf0
random: Clean up seeding API (#13540)
TimWolla Feb 29, 2024
47a199c
Add http_(get|clear)_last_reponse_headers() functions (#12500)
Girgias Feb 29, 2024
54079ba
Merge branch 'PHP-8.3'
TimWolla Feb 29, 2024
61d8c77
Merge branch 'PHP-8.3'
TimWolla Feb 29, 2024
6b6e33d
adding myself as ext/gettext reviewer. (#13559)
devnexen Feb 29, 2024
a48ed12
Find and link network library as needed with AC_SEARCH_LIBS (#13553)
petk Feb 29, 2024
7d0e2d8
Add missing memfd_create Autoconf check for bundled pcre2lib (#13561)
petk Mar 1, 2024
3c98b1d
Merge branch 'PHP-8.3'
nielsdos Mar 1, 2024
b5e2f3a
Check FFI_* ABI with Autoconf AC_CHECK_DECL (#13552)
petk Mar 1, 2024
42a4e50
Sync logical operators in shell scripting code (#13560)
petk Mar 1, 2024
ffc6f19
Simplify port_create Autoconf check (#13529)
petk Mar 1, 2024
4df911e
session: Slightly reorder the members within the module globals
TimWolla Mar 1, 2024
f6c38fc
session: Stop using php_combined_lcg()
TimWolla Mar 1, 2024
1b380d6
UPGRADING: Minor adjustments moving items to appropriate sections (#1…
Ayesh Mar 2, 2024
7f01871
ext/gettext: bind_textdomain_codeset should not accept empty domains.
devnexen Mar 2, 2024
734f686
Simplify UFFDIO_WRITEPROTECT_MODE_WP Autoconf check (#13564)
petk Mar 2, 2024
f91dcad
Remove duplicate phpdbg _GNU_SOURCE compile definition (#13585)
petk Mar 3, 2024
bfacc41
Merge branch 'PHP-8.3'
SakiTakamachi Mar 4, 2024
e9c5f05
Fixed handshake response charset. (#13470)
SakiTakamachi Mar 4, 2024
f799d6f
Merge branch 'PHP-8.3'
SakiTakamachi Mar 4, 2024
3f05418
Merge branch 'PHP-8.3'
devnexen Mar 4, 2024
ad1dfa3
Minor PDO conditions cleanup (#13584)
nielsdos Mar 4, 2024
650a8fb
random: Embed the Mt19937 and CombinedLCG state within the module glo…
TimWolla Mar 4, 2024
06569bb
random: Clean Up the Mt19937 state struct (#13577)
TimWolla Mar 4, 2024
3d4cb1d
random: Convert `RANDOM_SEED()` from a macro to a function (#13575)
TimWolla Mar 4, 2024
e3b6872
zend call stack adjust case for freebsd to calculate the guard size. …
devnexen Mar 4, 2024
cab88dd
IR Update
dstogov Mar 4, 2024
2066bf1
Update IR
dstogov Mar 5, 2024
9e13258
Merge branch 'PHP-8.3'
remicollet Mar 5, 2024
4827403
Merge branch 'PHP-8.3'
arnaud-lb Mar 5, 2024
d03bb95
[skip ci] Sync links to internal docs files
petk Mar 5, 2024
4d17260
Merge branch 'PHP-8.3'
devnexen Mar 5, 2024
013978e
Zend/fibers: Ensure fiber stack is not backed by THP. (#13306)
crrodriguez Mar 5, 2024
353d4ce
ext/xmlreader: Add class constant types to stub (#13596)
Ayesh Mar 5, 2024
7b23470
ext/pcre: Add "/r" modifier (#13583)
Ayesh Mar 5, 2024
75e3f3e
Optimize strpbrk (#13558)
nielsdos Mar 5, 2024
5c8cc4f
[ci skip] Add myself to ext/xmlreader CODEOWNERS
nielsdos Mar 5, 2024
74c887b
[ci skip] NEWS and UPGRADING
nielsdos Mar 5, 2024
ec285ff
Support multiple file-level phpdoc blocks in gen_stub.php
kocsismate Mar 5, 2024
d9549d2
ext/gettext: reland GH-13555 but only for master. (#13602)
devnexen Mar 5, 2024
ffa3f4f
Update IR
dstogov Mar 5, 2024
9e00163
Refactor systemd library check for FPM (#13595)
petk Mar 6, 2024
8cc8eac
Update IR
dstogov Mar 6, 2024
dbd976a
Singular DateTime::[get|set]Microsecond & no tentative return type (#…
marc-mabe Mar 6, 2024
7f8465a
Merge branch 'PHP-8.3'
devnexen Mar 6, 2024
bf0abd1
random: Initialize the `mode` field when seeding in `php_random_defau…
TimWolla Mar 6, 2024
a541b95
Update IR
dstogov Mar 6, 2024
34f27e1
Update IR
dstogov Mar 7, 2024
fb423fd
[skip ci] Mark problematic openssl tests as xfail for now
iluuu1994 Mar 7, 2024
c3add14
Merge branch 'PHP-8.2' into PHP-8.3
iluuu1994 Mar 7, 2024
089ef2a
Merge branch 'PHP-8.3'
iluuu1994 Mar 7, 2024
6db06a7
Fix class name in warning of frameless calls (#13619)
iluuu1994 Mar 7, 2024
713ac34
Remove unused config.w32.h.in symbols (#13617)
petk Mar 7, 2024
3798966
Avoid copying escaped string, truncate instead
nielsdos Feb 20, 2024
1571eed
Replace dead overflow checks with assertions and avoid indirect call …
nielsdos Feb 21, 2024
a8c9270
Skip validity and length calls when the byte cannot be part of a mult…
nielsdos Mar 6, 2024
3ddd341
[ci skip] NEWS and UPGRADING
nielsdos Mar 7, 2024
91d18d8
[ci skip] NEWS
nielsdos Mar 7, 2024
540e37f
Merge branch 'PHP-8.3'
petk Mar 7, 2024
c412919
Add hosted docs link to docs/README.md
mvorisek Mar 8, 2024
6fb1c7a
Remove unnecessary skip checks (#13637)
kamil-tekiela Mar 8, 2024
e7888a4
Merge branch 'PHP-8.3'
nielsdos Mar 8, 2024
d6d3370
Implement GH-13609: Dump wrapped object in WeakReference class (#13621)
nielsdos Mar 8, 2024
c443c1d
Merge branch 'PHP-8.3'
iluuu1994 Mar 8, 2024
ba8633a
Use fabsf() and floorf() unconditionally in bundled libgd (#13624)
petk Mar 8, 2024
7bca3c7
Check sys/sdt.h with AC_CHECK_HEADER (#13626)
petk Mar 8, 2024
a46438e
Remove htonl() Autoconf check (#13627)
petk Mar 8, 2024
1dfba42
Simplify FPM ACL check (#13604)
petk Mar 8, 2024
700fbca
Change getThis() into ZEND_THIS where possible (#13641)
nielsdos Mar 8, 2024
16d0394
Fixed to avoid incorrect optimization with llvm15.0.0
SakiTakamachi Feb 20, 2024
447e642
Revert "Fixed to avoid incorrect optimization with llvm15.0.0"
SakiTakamachi Mar 8, 2024
2e50371
round: Abolished the CPU rounding mode change and modified it to a di…
SakiTakamachi Mar 8, 2024
893fdda
Merge branch 'PHP-8.3'
petk Mar 9, 2024
00bee30
Revert "Tidy up UT and add NEWS entry"
SakiTakamachi Mar 9, 2024
3dc9503
Revert "Fixed GH-13167 Fixed the behavior of `bindValue` and `bindPar…
SakiTakamachi Mar 9, 2024
f9ddd2b
NEWS
SakiTakamachi Mar 9, 2024
82897fc
Minor cleanup in dom_node_concatenated_name_helper() (#13639)
nielsdos Mar 9, 2024
f438b3b
Merge branch 'PHP-8.3'
bukka Mar 9, 2024
14b6c98
[RFC] Add a way to opt-in ext/dom spec compliance (#13031)
nielsdos Mar 9, 2024
a47849d
Change return type of hash_update() to true (#13652)
nielsdos Mar 9, 2024
7b8a571
Update the security.txt changes link (#13646)
petk Mar 9, 2024
2f6a210
Use memmove() unconditionally in the code (#13647)
petk Mar 9, 2024
cc953e5
Merge branch 'PHP-8.3'
bukka Mar 9, 2024
58a14fb
Merge branch 'PHP-8.3'
iluuu1994 Mar 9, 2024
3c74f4a
Merge branch 'PHP-8.3'
nielsdos Mar 9, 2024
bb1ef4f
ext/gmp: gmp_invert addressing todo. (#13654)
devnexen Mar 9, 2024
a0b821b
Check library containing socket() with AC_SEARCH_LIBS (#13642)
petk Mar 10, 2024
1cb86b6
Cleanup php_dom_create_object()
nielsdos Mar 8, 2024
63bb04e
Simplify DOM_RET_OBJ macro
nielsdos Mar 9, 2024
751163d
Change stricterror type to bool
nielsdos Mar 9, 2024
6c55513
Use true instead of 1 with php_dom_throw_error
nielsdos Mar 9, 2024
37791d6
Cleanup buffer handling in saveHTML
nielsdos Mar 9, 2024
d57e7a9
Use BAD_CAST consistently
nielsdos Mar 9, 2024
649394d
Remove redundant namespace define
nielsdos Mar 9, 2024
539d8d9
Use common helper macro for getting the node in property handlers
nielsdos Mar 9, 2024
816f6a5
Find AppArmor library with pkgconf (#13644)
petk Mar 10, 2024
cfdbf77
Merge branch 'PHP-8.3'
nielsdos Mar 10, 2024
d0e15c8
Fix external pcre2 build (#13662)
nielsdos Mar 10, 2024
d667e73
Merge branch 'PHP-8.3'
iluuu1994 Mar 10, 2024
edbef3e
Merge branch 'PHP-8.3'
shivammathur Mar 10, 2024
d2635b1
Remove unused php_std_auto_global_callback() (#13656)
petk Mar 10, 2024
586a0dd
Find SELinux library with pkgconf (#13645)
petk Mar 10, 2024
8595bea
Use default Autoconf's AC_LANG_PROGRAM (#13565)
petk Mar 10, 2024
ef8dcbd
Merge branch 'PHP-8.3'
arnaud-lb Mar 11, 2024
3c33430
Fix 32-bit DOM characterdata failures (#13663)
nielsdos Mar 11, 2024
4794910
ext/sodium: Add new AEGIS constants to UPGRADING file (#13673)
Ayesh Mar 11, 2024
a04577f
Mark sapi/embed as non experimental (#13668)
petk Mar 11, 2024
4bf4c24
Implement fcontext handling for sparc64_sysv_elf.
cjeker Feb 13, 2024
980f7bd
Implement INIT_FCALL offset optimization
iluuu1994 Mar 7, 2024
18dffa6
Fix defined but not used warnings (#13678)
petk Mar 12, 2024
94a12d5
ext/curl: Cleanup `config.w32` to remove superfluous checks and outda…
Ayesh Mar 12, 2024
7ff78f7
Add test case for bug #48339
nielsdos Mar 12, 2024
f1a22d0
fix: typos (#13694)
testwill Mar 13, 2024
8793f99
Merge branch 'PHP-8.3'
nielsdos Mar 13, 2024
3bf4bcc
Update IR
dstogov Mar 13, 2024
7c63a43
Merge branch 'PHP-8.3'
TimWolla Mar 13, 2024
c2d20f4
Merge branch 'PHP-8.3'
devnexen Mar 13, 2024
b341036
ext/gettext: updating apis accepting domain behavior.
devnexen Mar 12, 2024
330cc5c
Deprecate implicit nullable parameter types (#12959)
kocsismate Mar 13, 2024
cc0260e
Change return type of DOM\HTMLDocument::saveHTML() (#13701)
nielsdos Mar 13, 2024
577db99
Verify stub aliases in CI (#13682)
kocsismate Mar 13, 2024
94d18cb
[skip ci] CODEOWNERS
SakiTakamachi Mar 13, 2024
affd175
Fix parameter hints in php_xsl.stub.php (#13704)
nielsdos Mar 14, 2024
250b160
Merge branch 'PHP-8.3'
devnexen Mar 14, 2024
586153b
Update IR
dstogov Mar 14, 2024
eaf2740
Merge branch 'PHP-8.3'
nielsdos Mar 14, 2024
2b77e5b
Fix compile warning
nielsdos Mar 14, 2024
ec394cc
Fix implicitly marking parameter as nullable deprecation warning (#13…
petk Mar 14, 2024
d2eb3e5
Check asm goto support with AC_LINK_IFELSE (#13716)
petk Mar 15, 2024
072e67f
Fix unused variable warning in sapi/litespeed (#13718)
petk Mar 15, 2024
54ee85b
Merge branch 'PHP-8.3'
SakiTakamachi Mar 15, 2024
e1181a6
Remove HAVE_MYSQL (#13719)
petk Mar 15, 2024
c6f4c26
Check major, minor and makedev with Autoconf's AC_HEADER_MAJOR (#13706)
petk Mar 15, 2024
fcdcfe9
Merge branch 'PHP-8.3'
nielsdos Mar 15, 2024
b06c95b
Declare the missing true return types (#13709)
kocsismate Mar 16, 2024
bf43113
Skip new_oom.phpt if ZMM is disabled
arnaud-lb Mar 16, 2024
6f49474
Merge branch 'PHP-8.3' of https://github.com/php/php-src
bwoebi Mar 17, 2024
cbc421e
Add fast path for ASCII bytes in UTF-8 validation
nielsdos Mar 13, 2024
9fd74cf
Use temporary variables to reduce memory stores
nielsdos Mar 13, 2024
b955973
Only register error handling when observable
nielsdos Mar 13, 2024
47b6eab
Merge branch 'PHP-8.3'
nielsdos Mar 17, 2024
67184f5
Fix PdoSqlite::loadExtension() test (#13736)
nikic Mar 17, 2024
4c467e6
ext/sockets: adding few constants for NetBSD.
devnexen Mar 16, 2024
610c7a0
Move SplObjectStorage test to a folder
Girgias Mar 10, 2024
a648365
ext/spl: Throw TypeError when overloaded SplObjectStorage::getHash() …
Girgias Mar 10, 2024
0aadc7e
Fix string concatenation in ZEND_JIT_SRC variable (#13740)
petk Mar 18, 2024
56cf09f
Improve optimizer support for class constants (#13438)
kocsismate Mar 18, 2024
952cc2a
Merge branch 'PHP-8.3'
devnexen Mar 18, 2024
4f7a3d9
Merge branch 'PHP-8.3'
petk Mar 18, 2024
81744d6
random: Improve the output quality of RANDOM_SEED() (#13730)
TimWolla Mar 18, 2024
d539c4b
Merge branch 'PHP-8.3'
bwoebi Mar 18, 2024
805326f
An uninitialized DateTime is UNEXPECTED (#13492)
marc-mabe Mar 18, 2024
f47b7f1
Cleanup name handling in magic methods (#13733)
nielsdos Mar 18, 2024
9bed0b5
Merge branch 'PHP-8.3'
bwoebi Mar 18, 2024
968a807
Update IR
dstogov Mar 18, 2024
4e934d7
Merge branch 'PHP-8.3'
bwoebi Mar 18, 2024
5992a29
Improve BC support of arginfo files fenerated by gen_stub.php (#13705)
kocsismate Mar 18, 2024
51dafc6
Fix GH-13745: fix header inclusion in pdo_pgsql.c (#13749)
devnexen Mar 18, 2024
5bb0315
Add the last few remaining constants to stubs (#13751)
kocsismate Mar 19, 2024
1bae61a
Compress interned string table offsets and increase maximum supported…
arnaud-lb Mar 19, 2024
df72526
[ci skip] NEWS
arnaud-lb Mar 19, 2024
25a8f15
Merge branch 'PHP-8.3'
iluuu1994 Mar 19, 2024
5b7d458
Fix missing llvm deps inside docker
iluuu1994 Mar 19, 2024
807524d
random: Use CSPRNG for CombinedLCG seeding (#13748)
TimWolla Mar 19, 2024
f2f656c
CI: update freebsd 13 image.
devnexen Mar 7, 2024
623a980
Merge branch 'PHP-8.3'
devnexen Mar 19, 2024
2e7c6e1
freebsd CI reeanable werror
devnexen Mar 19, 2024
6fb20cd
random: Simplify implementation of php_random_generate_fallback_seed(…
TimWolla Mar 20, 2024
bc59e79
Merge branch 'PHP-8.3'
iluuu1994 Mar 20, 2024
0bf063d
Disabe test for 32-bit build
dstogov Mar 20, 2024
eb51350
Update IR
dstogov Mar 20, 2024
fa512dc
Use new abilities or ir_save()
dstogov Mar 20, 2024
f87632e
Update IR
dstogov Mar 20, 2024
b7e1ec9
Remove unused zend_shutdown_constants() (#13657)
petk Mar 20, 2024
4bf64b5
Remove unused zend_dump_variables() (#13767)
petk Mar 20, 2024
8dbc4b6
Disable ASLR for benchmark (#13769)
iluuu1994 Mar 20, 2024
5430ecd
Merge branch 'PHP-8.3'
nielsdos Mar 20, 2024
4d51bfa
[RFC] Add mb_ucfirst and mb_lcfirst functions (#13161)
youkidearitai Mar 20, 2024
e163038
Fix GH-13764: xsl cannot build on PHP 8.4 (#13770)
nielsdos Mar 20, 2024
79e4ca1
Remove outdated Zend/zend_istdiostream.h file (#13765)
petk Mar 21, 2024
530e0d6
Create modules directory in a centralized location (#13411)
petk Mar 21, 2024
4db83a5
Test sanitizer
nielsdos Mar 21, 2024
508f5e9
fix?
nielsdos Mar 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
12 changes: 1 addition & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ jobs:
libicu-dev \
libtidy-dev \
libenchant-2-dev \
libaspell-dev \
libpspell-dev \
libsasl2-dev \
libxpm-dev \
libzip-dev \
Expand All @@ -71,7 +69,6 @@ jobs:
`#snmp-mibs-downloader` \
freetds-dev \
`#unixodbc-dev` \
libc-client-dev \
dovecot-core \
dovecot-pop3d \
dovecot-imapd \
Expand Down Expand Up @@ -111,7 +108,6 @@ jobs:
--enable-exif \
--with-zip \
--with-zlib \
--with-zlib-dir=/usr \
--enable-soap \
--enable-xmlreader \
--with-xsl \
Expand All @@ -131,7 +127,6 @@ jobs:
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--with-pspell=/usr \
--with-enchant=/usr \
--with-kerberos \
--enable-sysvmsg \
Expand All @@ -152,12 +147,7 @@ jobs:
--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 \
Expand All @@ -182,7 +172,7 @@ jobs:
sapi/cli/php run-tests.php \
-d zend_extension=opcache.so \
-d opcache.enable_cli=1 \
-d opcache.jit_buffer_size=16M \
-d opcache.jit_buffer_size=64M \
-d opcache.jit=tracing \
-P -q -x -j2 \
-g FAIL,BORK,LEAK,XLEAK \
Expand Down
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ freebsd_task:
- pkg install -y autoconf bison gmake re2c icu libiconv png freetype2 enchant2 bzip2 krb5 t1lib gmp tidyp libsodium libzip libxml2 libxslt openssl oniguruma pkgconf webp libavif
script:
- ./buildconf -f
- ./configure --prefix=/usr/local --enable-debug --enable-option-checking=fatal --enable-fpm --with-pdo-sqlite --without-pear --with-bz2 --with-avif --with-jpeg --with-webp --with-freetype --enable-gd --enable-exif --with-zip --with-zlib --enable-soap --enable-xmlreader --with-xsl --with-libxml --enable-shmop --enable-pcntl --enable-mbstring --with-curl --enable-sockets --with-openssl --with-iconv=/usr/local --enable-bcmath --enable-calendar --enable-ftp --with-kerberos --with-ffi --enable-zend-test --enable-dl-test=shared --enable-intl --with-mhash --with-sodium --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d
- ./configure --prefix=/usr/local --enable-debug --enable-option-checking=fatal --enable-fpm --with-pdo-sqlite --without-pear --with-bz2 --with-avif --with-jpeg --with-webp --with-freetype --enable-gd --enable-exif --with-zip --with-zlib --enable-soap --enable-xmlreader --with-xsl --with-libxml --enable-shmop --enable-pcntl --enable-mbstring --with-curl --enable-sockets --with-openssl --with-iconv=/usr/local --enable-bcmath --enable-calendar --enable-ftp --with-kerberos --with-ffi --enable-zend-test --enable-dl-test=shared --enable-intl --with-mhash --with-sodium --enable-werror --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d
- gmake -j2
- mkdir /etc/php.d
- gmake install
Expand Down
5 changes: 4 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,8 @@
/Zend/zend_vm_handlers.h linguist-generated -diff
/Zend/zend_vm_opcodes.[ch] linguist-generated -diff

# The OSS fuzz files are bunary
# The OSS fuzz files are binary
/ext/date/tests/ossfuzz*.txt binary

# Vendored libraries
/ext/dom/lexbor/lexbor linguist-vendored
11 changes: 8 additions & 3 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,21 @@
/ext/ffi @dstogov
/ext/gettext @devnexen
/ext/gmp @Girgias
/ext/imap @Girgias
/ext/intl @devnexen
/ext/json @bukka
/ext/libxml @nielsdos
/ext/mbstring @alexdowad
/ext/mysqlnd @SakiTakamachi
/ext/odbc @NattyNarwhal
/ext/opcache @dstogov @iluuu1994
/ext/openssl @bukka
/ext/pdo_odbc @NattyNarwhal
/ext/pdo_pgsql @devnexen
/ext/pdo @SakiTakamachi
/ext/pdo_dblib @SakiTakamachi
/ext/pdo_firebird @SakiTakamachi
/ext/pdo_mysql @SakiTakamachi
/ext/pdo_odbc @NattyNarwhal @SakiTakamachi
/ext/pdo_pgsql @devnexen @SakiTakamachi
/ext/pdo_sqlite @SakiTakamachi
/ext/pgsql @devnexen
/ext/random @TimWolla @zeriyoshi
/ext/session @Girgias
Expand Down
3 changes: 0 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,3 @@ 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.
2 changes: 0 additions & 2 deletions .github/actions/apt-x32/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ runs:
g++-multilib \
gcc-multilib \
language-pack-de \
libaspell-dev:i386 \
libbz2-dev:i386 \
libc6:i386 \
libcurl4-openssl-dev:i386 \
Expand All @@ -31,7 +30,6 @@ runs:
libonig-dev:i386 \
libpng-dev:i386 \
libpq-dev:i386 \
libpspell-dev:i386 \
libreadline-dev:i386 \
libsasl2-dev:i386 \
libsodium-dev:i386 \
Expand Down
4 changes: 1 addition & 3 deletions .github/actions/apt-x64/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,12 @@ runs:
libicu-dev \
libtidy-dev \
libenchant-2-dev \
libaspell-dev \
libbz2-dev \
libpspell-dev \
libsasl2-dev \
libxpm-dev \
libzip-dev \
libsqlite3-dev \
libsqlite3-mod-spatialite \
libwebp-dev \
libonig-dev \
libkrb5-dev \
Expand All @@ -61,7 +60,6 @@ runs:
unixodbc-dev \
llvm \
clang \
libc-client-dev \
dovecot-core \
dovecot-pop3d \
dovecot-imapd \
Expand Down
1 change: 1 addition & 0 deletions .github/actions/brew/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ runs:
tidy-html5 \
libxml2 \
libjpeg \
libsodium \
libxslt \
postgresql
brew link icu4c gettext --force
36 changes: 18 additions & 18 deletions .github/actions/configure-macos/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,25 @@ runs:
- shell: bash
run: |
set -x
export PATH="/usr/local/opt/bison/bin:$PATH"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/[email protected]/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/curl/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/krb5/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/libffi/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/libxml2/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/libxslt/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/zlib/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/icu4c/lib/pkgconfig"
BREW_OPT="$(brew --prefix)"/opt
export PATH="$BREW_OPT/bison/bin:$PATH"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/[email protected]/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/curl/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/krb5/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/libffi/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/libxml2/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/libxslt/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/zlib/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/icu4c/lib/pkgconfig"
./buildconf --force
./configure \
--enable-option-checking=fatal \
--prefix=/usr/local \
--enable-fpm \
--with-pdo-mysql=mysqlnd \
--with-mysqli=mysqlnd \
--with-pgsql=/usr/local/opt/libpq \
--with-pdo-pgsql=/usr/local/opt/libpq \
--with-pgsql="$BREW_OPT"/libpq \
--with-pdo-pgsql="$BREW_OPT"/libpq \
--with-pdo-sqlite \
--without-pear \
--enable-gd \
Expand All @@ -39,25 +40,24 @@ runs:
--enable-soap \
--enable-xmlreader \
--with-xsl \
--with-tidy=/usr/local/opt/tidy-html5 \
--with-tidy="$BREW_OPT"/tidy-html5 \
--with-libxml \
--enable-sysvsem \
--enable-sysvshm \
--enable-shmop \
--enable-pcntl \
--with-readline=/usr/local/opt/readline \
--with-readline="$BREW_OPT"/readline \
--enable-mbstring \
--with-curl \
--with-gettext=/usr/local/opt/gettext \
--with-gettext="$BREW_OPT"/gettext \
--enable-sockets \
--with-bz2=/usr/local/opt/bzip2 \
--with-bz2="$BREW_OPT"/bzip2 \
--with-openssl \
--with-gmp=/usr/local/opt/gmp \
--with-iconv=/usr/local/opt/libiconv \
--with-gmp="$BREW_OPT"/gmp \
--with-iconv="$BREW_OPT"/libiconv \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--with-pspell=/usr/local/opt/aspell \
--with-kerberos \
--enable-sysvmsg \
--with-ffi \
Expand Down
2 changes: 0 additions & 2 deletions .github/actions/configure-x32/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ runs:
--enable-exif \
--with-zip \
--with-zlib \
--with-zlib-dir=/usr \
--enable-soap \
--enable-xmlreader \
--with-xsl \
Expand All @@ -55,7 +54,6 @@ runs:
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--with-pspell=/usr \
--with-kerberos \
--enable-sysvmsg \
--with-ffi \
Expand Down
6 changes: 0 additions & 6 deletions .github/actions/configure-x64/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ runs:
--enable-exif \
--with-zip \
--with-zlib \
--with-zlib-dir=/usr \
--enable-soap \
--enable-xmlreader \
--with-xsl \
Expand All @@ -53,7 +52,6 @@ runs:
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--with-pspell=/usr \
${{ inputs.skipSlow == 'false' && '--with-enchant=/usr' || '' }} \
--with-kerberos \
--enable-sysvmsg \
Expand All @@ -74,11 +72,7 @@ runs:
--with-qdbm \
${{ inputs.skipSlow == 'false' && '--with-snmp' || '' }} \
${{ inputs.skipSlow == 'false' && '--with-unixODBC' || '' }} \
${{ inputs.skipSlow == 'false' && '--with-imap' || '' }} \
${{ inputs.skipSlow == 'false' && '--with-imap-ssl' || '' }} \
${{ inputs.skipSlow == 'false' && '--with-pdo-odbc=unixODBC,/usr' || '' }} \
$([ -d "/opt/oracle/instantclient" ] && echo '--with-pdo-oci=shared,instantclient,/opt/oracle/instantclient') \
$([ -d "/opt/oracle/instantclient" ] && echo '--with-oci8=shared,instantclient,/opt/oracle/instantclient') \
--with-config-file-path=/etc \
--with-config-file-scan-dir=/etc/php.d \
${{ inputs.skipSlow == 'false' && '--with-pdo-firebird' || '' }} \
Expand Down
30 changes: 0 additions & 30 deletions .github/actions/setup-oracle/action.yml

This file was deleted.

6 changes: 0 additions & 6 deletions .github/actions/setup-x64/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,3 @@ runs:
sudo cp ext/snmp/tests/snmpd.conf /etc/snmp
sudo cp ext/snmp/tests/bigtest /etc/snmp
sudo service snmpd restart

sudo groupadd -g 5000 vmail
sudo useradd -m -d /var/vmail -s /bin/false -u 5000 -g vmail vmail
sudo cp ext/imap/tests/setup/dovecot.conf /etc/dovecot/dovecot.conf
sudo cp ext/imap/tests/setup/dovecotpass /etc/dovecot/dovecotpass
sudo service dovecot restart
13 changes: 6 additions & 7 deletions .github/actions/test-linux/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,14 @@ 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 PGSQL_TEST_CONNSTR="host=localhost dbname=test port=5432 user=postgres password=postgres"
if [[ -z "$PDO_PGSQL_TEST_DSN" ]]; then
export PDO_PGSQL_TEST_DSN="pgsql:host=localhost port=5432 dbname=test user=postgres password=postgres"
fi
export PDO_FIREBIRD_TEST_DATABASE=test.fdb
export PDO_FIREBIRD_TEST_DSN=firebird:dbname=localhost:test.fdb
export PDO_FIREBIRD_TEST_PASS=test
export PDO_FIREBIRD_TEST_USER=test
export ODBC_TEST_USER="odbc_test"
export ODBC_TEST_PASS="password"
export ODBC_TEST_DSN="Driver={ODBC Driver 17 for SQL Server};Server=127.0.0.1;Database=odbc;uid=$ODBC_TEST_USER;pwd=$ODBC_TEST_PASS"
Expand All @@ -47,7 +45,8 @@ runs:
export STACK_LIMIT_DEFAULTS_CHECK=1
sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \
-d opcache.jit=${{ inputs.jitType }} \
-d opcache.jit_buffer_size=16M \
-d opcache.protect_memory=1 \
-d opcache.jit_buffer_size=64M \
${{ inputs.idleCpu == 'true' && '-j$(($(/usr/bin/nproc) - 1))' || '-j$(/usr/bin/nproc)' }} \
-g FAIL,BORK,LEAK,XLEAK \
--no-progress \
Expand Down
3 changes: 2 additions & 1 deletion .github/actions/test-macos/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ runs:
export STACK_LIMIT_DEFAULTS_CHECK=1
sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \
-d opcache.jit=${{ inputs.jitType }} \
-d opcache.jit_buffer_size=16M \
-d opcache.protect_memory=1 \
-d opcache.jit_buffer_size=64M \
-j$(($(sysctl -n hw.ncpu) - 1)) \
-g FAIL,BORK,LEAK,XLEAK \
--no-progress \
Expand Down
7 changes: 3 additions & 4 deletions .github/actions/verify-generated-files/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ runs:
steps:
- shell: bash
run: |
set -x
[[ "$OSTYPE" == "darwin"* ]] && export PATH="/usr/local/opt/bison/bin:$PATH"
set -ex
[[ "$OSTYPE" == "darwin"* ]] && export PATH="$(brew --prefix)/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
build/gen_stub.php -f --generate-optimizer-info --verify
git add . -N && git diff --exit-code
Loading