Skip to content

sync #25

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 265 commits into from
May 20, 2024
Merged

sync #25

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
265 commits
Select commit Hold shift + click to select a range
5823a96
ext/gettext: update arguments handling.
devnexen Mar 3, 2024
1cf4cc3
ext/intl: IntlDateFormatter::parseToCalendar addition.
devnexen Mar 21, 2024
7f3fd30
[skip ci] Fix intl test on 32-bit machines
iluuu1994 Apr 30, 2024
cb55588
Skip online tests by default
iluuu1994 Apr 28, 2024
d52605d
Replace xhtml image with base64 data
iluuu1994 Apr 28, 2024
1c30c5e
Print location on class redeclaration
iluuu1994 Apr 18, 2024
d26617f
Remove unused PARSE_SESSION and PARSE_REQUEST (#14081)
petk Apr 30, 2024
b5ffac7
Add ReflectionClassConstant::isDeprecated() (#14086)
TimWolla Apr 30, 2024
6e8b134
reflection: Fix ReflectionFunction::getShortName() for first class ca…
TimWolla Apr 30, 2024
a54d63a
Cleanup php_libxml_unregister_node()
nielsdos Apr 29, 2024
2fab143
Cleanup php_libxml_streams_IO_open_wrapper()
nielsdos Apr 29, 2024
e5e8b19
Remove bogus entity reference cleanup code
nielsdos Apr 29, 2024
974edc7
Cleanup php_libxml_internal_error_handler_ex()
nielsdos Apr 29, 2024
cf7c592
Simplify property check in php_libxml_node_free_resource()
nielsdos Apr 29, 2024
d24a04b
Use fast ZPP in very commonly used DOM functions (#14077)
nielsdos Apr 30, 2024
78ec2bd
Respect constness in casting in dom/entity.c (#14080)
nielsdos Apr 30, 2024
5359392
[RFC] Add bcfloor, bcceil and bcround to BCMath (#13096)
SakiTakamachi Apr 30, 2024
8d67f23
sapi/phpdbg: Update of userfaultfd workflow. (#13955)
devnexen Apr 30, 2024
d5cc7e9
random: Add PHPAPI to all `php_random_algo` definitions (#14088)
TimWolla Apr 30, 2024
2fd30a2
Fix casing of the ODBC namespace in error messages
kocsismate Apr 30, 2024
53de625
Fix some typos on the reference counting docs page
kocsismate Apr 30, 2024
86352d8
Use fast ZPP in nodelist.c
nielsdos Apr 30, 2024
d3b38fa
Fix narrowing warning
nielsdos Apr 30, 2024
e878b9f
Fix crashes when entity declaration is removed while still having ent…
nielsdos Apr 30, 2024
30a0b03
Fix references not handled correctly in C14N
nielsdos Apr 30, 2024
afa034d
Add GC_PERSISTENT_LOCAL flag for ODBC structures (#14094)
kocsismate Apr 30, 2024
2dbe2d6
Fix crash when calling childNodes next() when iterator is exhausted
nielsdos Apr 30, 2024
461d890
Merge branch 'PHP-8.2' into PHP-8.3
nielsdos Apr 30, 2024
6f989cd
Merge branch 'PHP-8.3'
nielsdos Apr 30, 2024
fed1d5e
Add extra test for stale entity references
nielsdos Apr 30, 2024
4167d75
[ci skip] Fix typo in NEWS
nielsdos Apr 30, 2024
378b015
Fix Windows failure (#14096)
nielsdos Apr 30, 2024
a481556
Refactor BCMath (#14076)
SakiTakamachi Apr 29, 2024
7484394
sapi/cgi: fix buffer limit on windows.
devnexen Apr 20, 2024
ff6e3b6
Merge branch 'PHP-8.2' into PHP-8.3
devnexen May 1, 2024
0a134e5
Merge branch 'PHP-8.3'
devnexen May 1, 2024
10ae879
NEWS/UPGRADING
SakiTakamachi May 1, 2024
0540a42
[skip ci] NEWS
SakiTakamachi May 1, 2024
f4dbe23
ext/curl: Refactor cURL to only use FCC (#13291)
Girgias May 1, 2024
3215e86
Avoid double allocation in _bc_new_num_ex
nielsdos May 1, 2024
5dc11de
Merge n_value and n_ptr
nielsdos May 1, 2024
d2d4596
Use an unsigned number for the refcount of bcmath objects
nielsdos May 1, 2024
6303d1f
ext/sqlite3: Use new F ZPP modifier (#14040)
Girgias May 1, 2024
cf92a19
ext/pdo_sqlite: Use new F ZPP (#14059)
SakiTakamachi Apr 28, 2024
0a3ccc0
Use bulk conversion in BCMath of BCD/CHAR where possible (#14103)
nielsdos May 1, 2024
b1bb9c3
[ci skip] NEWS and UPGRADING
nielsdos May 1, 2024
a66439a
Avoid unnecessary number initializations in BCMath (#14104)
nielsdos May 1, 2024
b6b9eab
Fix tests for glibc 2.39 (#14097)
petk May 1, 2024
49b5ab2
Merge branch 'PHP-8.2' into PHP-8.3
petk May 1, 2024
8c8287a
Merge branch 'PHP-8.3'
petk May 1, 2024
6fed9a9
Stick to mysql 8.3 for the time being
mbeccati May 2, 2024
f26b964
Merge branch 'PHP-8.2' into PHP-8.3
mbeccati May 2, 2024
36f9d18
Merge branch 'PHP-8.3'
mbeccati May 2, 2024
be072d7
Use RETVAL_NEW_STR
nielsdos May 1, 2024
4964c5c
Move bc_copy_num to header to allow inlining
nielsdos May 1, 2024
a604d1d
Use SSE2 in bc_copy_and_shift_numbers() if possible
nielsdos May 1, 2024
959e115
Avoid unnecessary destruction in bc_add()
nielsdos May 1, 2024
0cd952d
Avoid unnecessary destruction in bc_sub()
nielsdos May 1, 2024
34b2116
Avoid unnecessary destruction in bc_mul()
nielsdos May 1, 2024
039344c
Avoid extra inits while flooring or ceiling
nielsdos May 1, 2024
cad0e55
Faster validation logic in bc_str2num() (#14115)
nielsdos May 3, 2024
4465e50
Use AC_SEARCH_LIBS for socketpair, gethostname and gethostbyaddr (#14…
petk May 3, 2024
febbbfa
Fix the MySQL Server version used for testing to (#14120)
KentarouTakeda May 3, 2024
f442cec
Merge branch 'PHP-8.3'
SakiTakamachi May 3, 2024
3237b8f
CI: fix oci setup (#14123)
SakiTakamachi May 4, 2024
cd2dea7
Merge branch 'PHP-8.2' into PHP-8.3
SakiTakamachi May 4, 2024
4b95da6
Merge branch 'PHP-8.3'
SakiTakamachi May 4, 2024
d9a9696
Fix libmysql download to stable URL
KentarouTakeda May 4, 2024
234b3cb
Fix GH-14124: Segmentation fault on unknown address 0x0001ffff8041 wi…
nielsdos May 4, 2024
22a113b
Try to use an interned local name in createElementNS (#14127)
nielsdos May 4, 2024
427c244
Fix GH-14124: Segmentation fault on unknown address 0x0001ffff8041 wi…
nielsdos May 4, 2024
77c21ca
Merge branch 'PHP-8.2' into PHP-8.3
nielsdos May 4, 2024
d2ce90c
Merge branch 'PHP-8.3'
nielsdos May 4, 2024
b8abd26
Increase test coverage of _bc_do_add() (#14131)
nielsdos May 4, 2024
a728e54
Remove some dead code from BCMath (#14130)
nielsdos May 4, 2024
1ae58d4
ext/bcmath: Removed unnecessary zero padding (#14134)
SakiTakamachi May 4, 2024
bf3c487
Avoid needless memsets by creating a variant of bc_new_num that doesn…
nielsdos May 4, 2024
8aec95e
Fix build on Clang 18 (#14136)
nielsdos May 4, 2024
04c417a
Remove unused always-enabled extension headers (#14042)
petk May 4, 2024
70acd6e
ext/bcmath: Remove unused ODD() macro function
Girgias May 5, 2024
fae25ca
Move dom_attr_value() into ext/libxml
nielsdos May 4, 2024
8637a3f
Fix getDocNamespaces() not working when only having xmlns attributes …
nielsdos May 4, 2024
f97bd07
Implement SeekableIterator for SplObjectStorage (#13665)
nielsdos May 5, 2024
f1b8020
[ci skip] Update CODEOWNERS and EXTENSIONS (#14139)
nielsdos May 5, 2024
41b2fb5
Session extension is needed to run bug51561.phpt
kocsismate May 5, 2024
45ab607
[ci skip] Added myself to CODEOWNERS
SakiTakamachi May 5, 2024
f5e450d
Fix zend_string_starts_with_literal_ci (#14137)
twose May 6, 2024
ad16767
Merge branch 'PHP-8.3'
dstogov May 6, 2024
e869186
EXPECTFize ext/soap tests where exact object IDs are displayed
kocsismate May 6, 2024
e4c52e6
One more EXPECTF-related change
kocsismate May 6, 2024
f035661
Fix undefined behavior (left shift of negative number)
dstogov May 6, 2024
48df7da
Merge branch 'PHP-8.2' into PHP-8.3
dstogov May 6, 2024
2d66993
Merge branch 'PHP-8.3'
dstogov May 6, 2024
f8d1864
Delay #[Attribute] arg validation until runtime
iluuu1994 May 1, 2024
480d08a
Merge branch 'PHP-8.2' into PHP-8.3
iluuu1994 May 6, 2024
2ba30f0
Merge branch 'PHP-8.3'
iluuu1994 May 6, 2024
5aa5080
Fix attribute test on newer branches
iluuu1994 May 6, 2024
bb8de67
Merge branch 'PHP-8.3'
iluuu1994 May 6, 2024
9b387ac
Remove now empty attribute validator
iluuu1994 May 6, 2024
42ede55
Fix persisting of inherited class constants
iluuu1994 May 2, 2024
929bbb2
Merge branch 'PHP-8.2' into PHP-8.3
iluuu1994 May 6, 2024
858008b
Merge branch 'PHP-8.3'
iluuu1994 May 6, 2024
2c8731d
Add test for GH-14109
iluuu1994 May 6, 2024
55966f0
Merge branch 'PHP-8.3'
iluuu1994 May 6, 2024
7b60f53
Remove unused field from _phar_archive_data (#14146)
nielsdos May 6, 2024
07e1bca
Use bool instead of int in _phar_zip_pass
nielsdos May 5, 2024
4cbe88b
Remove unused typedefs in phar.c
nielsdos May 5, 2024
9102e97
Use bool in globals where possible
nielsdos May 5, 2024
edf9c4d
Remove prototypes for non-existent functions
nielsdos May 5, 2024
e575ab5
Remove redundant check
nielsdos May 5, 2024
35f30b3
Fix implementation-defined conversion warning
nielsdos May 5, 2024
f0f05c7
Introduce some const pointers
nielsdos May 5, 2024
79af2ad
Remove unused return value from phar_entry_delref()
nielsdos May 5, 2024
c6b75f9
Fix prototype for trait methods (#14148)
dstogov May 6, 2024
c42f48d
Merge branch 'PHP-8.2' into PHP-8.3
dstogov May 6, 2024
3fcf6ff
Merge branch 'PHP-8.3'
dstogov May 6, 2024
bb21d19
Update IR
dstogov May 6, 2024
0273200
Refactor BCMath `_bc_do_sub` (#14132)
SakiTakamachi May 7, 2024
44b3cb2
Migrate SOAP URL resource to object
kocsismate May 7, 2024
60336de
Migrate SOAP SDL resource to object
kocsismate May 6, 2024
7a9e0fb
Fix incorrect inheritance of private trait methods (#14163)
dstogov May 7, 2024
da5b43f
Merge branch 'PHP-8.2' into PHP-8.3
dstogov May 7, 2024
c5982c9
Merge branch 'PHP-8.3'
dstogov May 7, 2024
85371ec
Cast the parameter type of arm BLOCKCONV_LOAD (#14159)
SakiTakamachi May 7, 2024
90c5b2a
Merge branch 'PHP-8.3'
SakiTakamachi May 7, 2024
d2a9edf
Callable curl options should be nullable
iluuu1994 May 7, 2024
e218ca2
Improve error message in Phar::buildFromIterator() (#14145)
nielsdos May 7, 2024
304f19b
Remove unused fields from phar_entry_data() (#14144)
nielsdos May 7, 2024
90a5b87
Simplify conversion in BCMath (#14157)
nielsdos May 7, 2024
b8aa68b
CI: Do not save the ccache for PRs (#14168)
TimWolla May 7, 2024
1bf42b4
Merge branch 'PHP-8.2' into PHP-8.3
TimWolla May 7, 2024
402f3a9
CI: Do not save the ccache for PRs (8.3+)
TimWolla May 7, 2024
b80faeb
Merge branch 'PHP-8.3'
TimWolla May 7, 2024
0642855
Update .gitignore (#14158)
petk May 8, 2024
70b5a4d
BCMath: Avoid using the heap for temporary objects by using arena all…
nielsdos May 8, 2024
48971af
Update CODING_STANDARDS for the acronym casing RFC (#14169)
TimWolla May 8, 2024
9205910
Migrate SOAP table resource to array
kocsismate May 7, 2024
6091395
Cleanup some repetition and macros in xml_serializer.c (#14182)
nielsdos May 8, 2024
0dfd2a9
Add ext/dba symbols in a namespace blok
kocsismate May 8, 2024
6e7adb3
Update ext/dom names after policy change (#14171)
nielsdos May 9, 2024
1a3d870
ext/bcmath: Use SIMD for trailing zero counts during conversion (#14166)
SakiTakamachi May 9, 2024
25860ee
[ci skip] UPGRADING: Expand upon BCMath performance improvements
nielsdos May 9, 2024
2956f55
[ci skip] UPGRADING: Update capitalization of Dom namespace
nielsdos May 9, 2024
e976c2d
ext/bcmath: Fixed an issue where macros may become undefined (#14179)
SakiTakamachi May 10, 2024
12dc519
ext/hash: Swap the checking order of __has_builtin and __GNUC__ (#14185)
SakiTakamachi May 10, 2024
ccdbbdc
Merge branch 'PHP-8.2' into PHP-8.3
SakiTakamachi May 10, 2024
8276560
Merge branch 'PHP-8.3'
SakiTakamachi May 10, 2024
15813d6
Fix GH-14183: XMLReader::open() can't be overridden
nielsdos May 10, 2024
d2970cc
Merge branch 'PHP-8.2' into PHP-8.3
nielsdos May 10, 2024
94479fe
Merge branch 'PHP-8.3'
nielsdos May 10, 2024
d934840
Fix deprecation warning
nielsdos May 10, 2024
217b753
Fix GH-14189: PHP Interactive shell input state incorrectly handles q…
nielsdos May 10, 2024
f365ced
Merge branch 'PHP-8.2' into PHP-8.3
nielsdos May 10, 2024
f88fc9c
Merge branch 'PHP-8.3'
nielsdos May 10, 2024
4e21a26
Fix check for newer versions of ICU (#14186)
NattyNarwhal May 10, 2024
d479ac4
Merge remote-tracking branch 'origin/PHP-8.2' into PHP-8.3
NattyNarwhal May 10, 2024
25b224d
Merge branch 'PHP-8.3'
NattyNarwhal May 10, 2024
239003e
Update NEWS for ICU regression fix
NattyNarwhal May 10, 2024
68089f0
Merge branch 'PHP-8.2' into PHP-8.3
NattyNarwhal May 10, 2024
db37f3e
Merge branch 'PHP-8.3'
NattyNarwhal May 10, 2024
e9355fa
Remove unused prototype from php_dom.h
nielsdos May 10, 2024
46db893
Fix unused argument warning
nielsdos May 10, 2024
19c8a10
ext/pcntl: add pcntl_getcpu support for solaris.
devnexen May 9, 2024
1890d47
Fix missing deref in C14N (#14203)
nielsdos May 11, 2024
59f1622
Merge branch 'PHP-8.2' into PHP-8.3
nielsdos May 11, 2024
de4c9c3
Merge branch 'PHP-8.3'
nielsdos May 11, 2024
4448589
Factor out all common code for XML serialization and merge common paths
nielsdos May 10, 2024
4ae3be3
Add test for serialization interaction
nielsdos May 10, 2024
0c490ad
Handle dumping document to file
nielsdos May 10, 2024
dfde0d4
Handle dumping node to file
nielsdos May 10, 2024
8776561
Add note for libxml handlers in UPGRADING.INTERNALS
nielsdos May 10, 2024
aa3e6ee
Optimize and reduce memory usage of XML serialization (#14204)
nielsdos May 11, 2024
1e2a2d7
Fix crash in ParentNode::append() when dealing with a fragment contai…
nielsdos May 11, 2024
12ef6cc
Merge branch 'PHP-8.2' into PHP-8.3
nielsdos May 12, 2024
525cbe0
Merge branch 'PHP-8.3'
nielsdos May 12, 2024
7203ca8
ext/bcmath: Made the same changes to `_bc_do_add` as `_bc_do_sub` (#1…
SakiTakamachi May 12, 2024
5b6cda6
Fix GH-14175: Use two digit float specifier for FPM systemd format re…
bcremer May 8, 2024
7f8ffbc
Merge branch 'PHP-8.2' into PHP-8.3
bukka May 12, 2024
fba8e21
Merge branch 'PHP-8.3'
bukka May 12, 2024
91c53e4
[skip ci] Adjust port for gh13860.phpt
iluuu1994 May 13, 2024
018ee8d
Merge branch 'PHP-8.2' into PHP-8.3
iluuu1994 May 13, 2024
7a20168
Merge branch 'PHP-8.3'
iluuu1994 May 13, 2024
fa7933e
[skip ci] Fix typo
iluuu1994 May 13, 2024
614323e
Merge branch 'PHP-8.2' into PHP-8.3
iluuu1994 May 13, 2024
f07f3b4
Merge branch 'PHP-8.3'
iluuu1994 May 13, 2024
9aee546
Update PEAR failed download installation banner (#14216)
petk May 13, 2024
7e2831f
Update IR
dstogov May 13, 2024
e7af2bf
Get rid of reserved name usage
nielsdos May 12, 2024
1fdbb0a
Get rid of unused declarations
nielsdos May 12, 2024
01bab84
Rename variable to avoid shadowing
nielsdos May 12, 2024
1d57300
Remove unused arguments
nielsdos May 12, 2024
eeae987
Avoid narrowing
nielsdos May 12, 2024
e95b06c
Make some more arguments const
nielsdos May 12, 2024
8eb9969
Add support for LIBXML_NOXMLDECL for modern documents (#14209)
nielsdos May 13, 2024
173f513
Update AX_CHECK_COMPILE_FLAG to serial 7 (#14217)
petk May 13, 2024
a95d001
Change calls to setmode to _setmode (#14220)
nielsdos May 13, 2024
719fa46
Fix Windows SKIPIF (#14219)
nielsdos May 13, 2024
f16e712
Merge branch 'PHP-8.2' into PHP-8.3
nielsdos May 13, 2024
f207074
Merge branch 'PHP-8.3'
nielsdos May 13, 2024
44ed17c
Replace configure option --with-openssl-dir (#14028)
petk May 13, 2024
77fa4c0
ext/pgsql: add `pg_result_memory_size`
KentarouTakeda May 12, 2024
8930557
JIT: Improve CPU register usage in FETCH_DIM_R, FETCH_DIM_IS and FETC…
dstogov May 13, 2024
c90c4fe
Add `zend_get_attribute_object()` (#14161)
TimWolla May 14, 2024
bf7d4d7
JIT: Implement CPU register usage for ASSIGN_DIM (#14224)
dstogov May 14, 2024
64f4aca
IT: Implement CPU register usage for FETCH_DIM_W (#14225)
dstogov May 14, 2024
c8920aa
JIT: JIT: Implement CPU register usage for ISSET_ISEMPTY_DIM (#14227)
dstogov May 14, 2024
ebd1a36
Fix GH-14215: Cannot use FFI::load on CRLF header file with apache2ha…
nielsdos May 13, 2024
0e98a05
Merge branch 'PHP-8.2' into PHP-8.3
nielsdos May 14, 2024
889f308
Merge branch 'PHP-8.3'
nielsdos May 14, 2024
4a91c8a
JIT: Implement CPU register usage for ASSIGN_OP (#14235)
dstogov May 14, 2024
446ff6a
JIT: Implement CPU register usage for ASSIGN_DIM_OP (#14236)
dstogov May 14, 2024
43ac009
Add prefix for ext/odbc persistent resource hash
kocsismate May 15, 2024
273c2de
JIT: Fix incorrect PHP register allocation
dstogov May 15, 2024
0eb68eb
JIT: Fix incorrect deoptimization info
dstogov May 15, 2024
5ef1824
JIT: Improve x86_64 code generated for PHP Array Bounds Checks (#14246)
dstogov May 15, 2024
c1d71cf
Remove forgotten obsolete session INI directives (#14238)
petk May 15, 2024
32d21af
Fix GH-14100: Corrected spelling mistake in php.ini files.
MarcusXavierr May 5, 2024
9e71697
Merge branch 'PHP-8.2' into PHP-8.3
nielsdos May 15, 2024
be4d705
Merge branch 'PHP-8.3'
nielsdos May 15, 2024
7843e72
JIT: Avoid useless EG(exception) check in ASSIGN_DIM_OP (#14247)
dstogov May 15, 2024
0218af8
ext/pgsql: using fast ZPP api for calls. (#14099)
devnexen May 15, 2024
4ed1835
ext/pcntl: cpu affinity support for solaris/illumos. (#14199)
devnexen May 15, 2024
5e7baaa
JIT: Remove old restriction. FETCH_DIM_R supports regs for indexes.
dstogov May 16, 2024
600d591
Omit FETCH_THIS in closures
iluuu1994 May 8, 2024
2a23c91
Remove unused HAVE_PDO_SQLITELIB symbol (#14232)
petk May 16, 2024
02b7d70
Fix nightly test failure (#14251)
nielsdos May 16, 2024
cce922e
Merge branch 'PHP-8.2' into PHP-8.3
nielsdos May 16, 2024
596fdad
Merge branch 'PHP-8.3'
nielsdos May 16, 2024
4988816
Use `zend_call_known_function()` to call `#[\SensitiveParameter]`’s c…
TimWolla May 16, 2024
959ea5f
Avoid unnecessary memset (#14180)
SakiTakamachi May 16, 2024
2097237
Migrate ext/dba resources to objects (#14239)
kocsismate May 17, 2024
b5b9c13
Add missing MYSQLND_SHARED_LIBADD substitution (#14228)
petk May 17, 2024
a59868a
Clear mysql error in fetch_into
kamil-tekiela May 16, 2024
05efcc2
Merge branch 'PHP-8.2' into PHP-8.3
kamil-tekiela May 17, 2024
73abf4f
Merge branch 'PHP-8.3'
kamil-tekiela May 17, 2024
a89d22c
Make the `fcc` parameter `const` in `zend_call_known_fcc` (#14259)
TimWolla May 17, 2024
c2a9166
Merge branch 'PHP-8.3'
TimWolla May 17, 2024
f093015
Fix class constant and property ID generation for the manual (#14249)
kocsismate May 17, 2024
22c7250
ext/bcmath: Avoid unnecessary memset from `_bc_do_add` (#14257)
SakiTakamachi May 17, 2024
dde5c65
ext/pdo_pgsql: fix typo (#14263)
KentarouTakeda May 18, 2024
09d0e38
Remove unsynced and unused HAVE_<extension> defines (#14233)
petk May 18, 2024
20fafa7
Remove XML_GLOBAL_NAMESPACE (#14265)
nielsdos May 18, 2024
5276734
Reduce unused variable warnings in config.log (#14264)
petk May 18, 2024
bc09cd2
Fix the aligned variable attribute check (#14211)
petk May 19, 2024
13d5c81
JIT: Add CPU registers support for FETCH_OBJ_R (#14253)
dstogov May 19, 2024
8de9295
Add cast_object handler for objects which were recently converted fro…
kocsismate May 19, 2024
ad5138a
Fix undefined behaviour in fastcgi.c (#14269)
nielsdos May 19, 2024
6bb6ff2
Merge branch 'PHP-8.2' into PHP-8.3
nielsdos May 19, 2024
ba534e7
Merge branch 'PHP-8.3'
nielsdos May 19, 2024
b7dd3d8
ext/pdo_pgsql: Retrieve the memory usage of the query result resource…
KentarouTakeda May 15, 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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
resource_class: arm.medium
docker:
- image: cimg/base:current-22.04
- image: mysql:8
- image: mysql:8.3
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: true
MYSQL_ROOT_PASSWORD: ''
Expand Down
5 changes: 4 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

/.github @iluuu1994 @TimWolla
/build/gen_stub.php @kocsismate
/ext/bcmath @Girgias
/ext/bcmath @Girgias @nielsdos @SakiTakamachi
/ext/curl @adoy
/ext/date @derickr
/ext/dba @Girgias
Expand All @@ -37,10 +37,13 @@
/ext/pgsql @devnexen
/ext/random @TimWolla @zeriyoshi
/ext/session @Girgias
/ext/simplexml @nielsdos
/ext/sockets @devnexen
/ext/spl @Girgias
/ext/standard @bukka
/ext/xml @nielsdos
/ext/xmlreader @nielsdos
/ext/xmlwriter @nielsdos
/ext/xsl @nielsdos
/main @bukka
/sapi/fpm @bukka
Expand Down
3 changes: 1 addition & 2 deletions .github/actions/build-libmysqlclient/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ runs:
set -x
LIBMYSQL=${{ inputs.libmysql }}
MYSQL_BASE=${LIBMYSQL%%-linux-*}
MYSQL_VERSION=${MYSQL_BASE#*-}
MYSQL_DIR=$HOME/$MYSQL_BASE
mkdir -p $MYSQL_DIR
URL=https://cdn.mysql.com/Downloads/MySQL-${MYSQL_VERSION%.*}/$LIBMYSQL
URL=https://downloads.mysql.com/archives/get/p/23/file/$LIBMYSQL
wget -nv $URL
tar -xf $LIBMYSQL --strip-components=1 -C $MYSQL_DIR
PDO_MYSQL=${MYSQL_DIR}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ jobs:
image: ubuntu:${{ matrix.branch.version.minor >= 3 && '22.04' || '20.04' }}
services:
mysql:
image: mysql:8
image: mysql:8.3
ports:
- 3306:3306
env:
Expand Down Expand Up @@ -745,7 +745,7 @@ jobs:
uses: ./.github/actions/build-libmysqlclient
with:
configurationParameters: --enable-werror
libmysql: mysql-8.0.35-linux-glibc2.28-x86_64.tar.xz
libmysql: mysql-8.0.36-linux-glibc2.28-x86_64.tar.xz
withMysqli: ${{ matrix.branch.ref == 'PHP-8.1' }}
- name: Test mysql-8.0
uses: ./.github/actions/test-libmysqlclient
Expand Down Expand Up @@ -824,6 +824,7 @@ jobs:
with:
key: "${{github.job}}-${{hashFiles('php/main/php_version.h')}}"
append-timestamp: false
save: ${{ github.event_name != 'pull_request' }}
- name: build PHP
run: |
cd php
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
if: github.repository == 'php/php-src' || github.event_name == 'pull_request'
services:
mysql:
image: mysql:8
image: mysql:8.3
ports:
- 3306:3306
env:
Expand Down Expand Up @@ -116,6 +116,7 @@ jobs:
# job id, not the job name)
key: "LINUX_X64_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}${{ matrix.asan && '_ASAN' || '' }}-${{hashFiles('main/php_version.h')}}"
append-timestamp: false
save: ${{ github.event_name != 'pull_request' }}
- name: ./configure
uses: ./.github/actions/configure-x64
with:
Expand Down Expand Up @@ -170,6 +171,7 @@ jobs:
with:
key: "${{github.job}}-${{matrix.os}}-${{hashFiles('main/php_version.h')}}"
append-timestamp: false
save: ${{ github.event_name != 'pull_request' }}
- name: ./configure
uses: ./.github/actions/configure-macos
with:
Expand Down Expand Up @@ -246,6 +248,7 @@ jobs:
with:
key: "${{github.job}}-${{hashFiles('main/php_version.h')}}"
append-timestamp: false
save: ${{ github.event_name != 'pull_request' }}
- name: ./configure
run: |
set -x
Expand Down
7 changes: 1 addition & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Makefile
Makefile.fragments
Makefile.objects

# Directories for shared object files and headers generated by `./configure`
# Directories for shared object files generated by `./configure`
libs/
modules/

Expand Down Expand Up @@ -166,11 +166,6 @@ php
# Extensions files
# ------------------------------------------------------------------------------

# Miscellaneous extensions files
/ext/opcache/jit/zend_jit_x86.c
/ext/opcache/jit/zend_jit_arm64.c
/ext/opcache/minilua

# Generated by `cd ext/name && phpize && ./configure`
/ext/*/build/
/ext/*/configure.ac
Expand Down
66 changes: 39 additions & 27 deletions CODING_STANDARDS.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,62 +152,74 @@ rewritten to comply with these rules.
1. Method names follow the *studlyCaps* (also referred to as *bumpy case* or
*camel caps*) naming convention, with care taken to minimize the letter
count. The initial letter of the name is lowercase, and each letter that
starts a new `word` is capitalized:
starts a new "word" is capitalized.

Good:
1. Class names should be descriptive nouns in *PascalCase* and as short as
possible. Each word in the class name should start with a capital letter,
without underscore delimiters. The class name should be prefixed with the
name of the "parent set" (e.g. the name of the extension) if no namespaces
are used.

1. Abbreviations and acronyms as well as initialisms should be avoided wherever
possible, unless they are much more widely used than the long form (e.g. HTTP
or URL). Abbreviations, acronyms, and initialisms should be treated like
regular words, thus they should be written with an uppercase first character,
followed by lowercase characters.

1. Diverging from this policy is allowed to keep internal consistency within a
single extension, if the name follows an established, language-agnostic
standard, or for other reasons, if those reasons are properly justified
and voted on as part of the RFC process.


Good method names:

```php
connect()
getData()
buildSomeWidget()
performHttpRequest()
```

Bad:
Bad method names:

```php
get_Data()
buildsomewidget()
getI()
performHTTPRequest()
```

1. Class names should be descriptive nouns in *PascalCase* and as short as
possible. Each word in the class name should start with a capital letter,
without underscore delimiters. The class name should be prefixed with the
name of the "parent set" (e.g. the name of the extension) if no namespaces
are used. Abbreviations and acronyms as well as initialisms should be
avoided wherever possible, unless they are much more widely used than the
long form (e.g. HTTP or URL). Abbreviations start with a capital letter
followed by lowercase letters, whereas acronyms and initialisms are written
according to their standard notation. Usage of acronyms and initialisms is
not allowed if they are not widely adopted and recognized as such.

Good:
Good class names:

```php
Curl
CurlResponse
HTTPStatusCode
URL
BTreeMap // B-tree Map
Id // Identifier
ID // Identity Document
HttpStatusCode
Url
BtreeMap // B-tree Map
UserId // User Identifier
Char // Character
Intl // Internationalization
Radar // Radio Detecting and Ranging
Ssl\Certificate
Ssl\Crl // Certificate Revocation List
Ssl\CrlUrl
```

Bad:
Bad class names:

```php
curl
curl_response
HttpStatusCode
Url
BtreeMap
ID // Identifier
HTTPStatusCode
URL
BTreeMap
UserID // User Identifier
CHAR
INTL
RADAR // Radio Detecting and Ranging
SSL\Certificate
SSL\CRL
SSL\CRLURL
```

## Internal function naming conventions
Expand Down
7 changes: 7 additions & 0 deletions EXTENSIONS
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,14 @@ EXTENSION: dom
PRIMARY MAINTAINER: Christian Stocker <[email protected]> (2003 - 2011)
Rob Richards <[email protected]> (2003 - 2012)
Marcus Börger <[email protected]> (2003 - 2006)
Niels Dossche <[email protected]> (2023 - 2024)
MAINTENANCE: Maintained
STATUS: Working
SINCE: 5.0
-------------------------------------------------------------------------------
EXTENSION: simplexml
PRIMARY MAINTAINER: Marcus Börger <[email protected]> (2003 - 2008)
Niels Dossche <[email protected]> (2023 - 2024)
MAINTENANCE: Maintained
STATUS: Working
SINCE: 5.0
Expand All @@ -188,30 +190,35 @@ STATUS: Working
EXTENSION: xml
PRIMARY MAINTAINER: Thies C. Arntzen <[email protected]> (1999 - 2002)
Rob Richards <[email protected]> (2003 - 2013)
Niels Dossche <[email protected]> (2023 - 2024)
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: libxml
PRIMARY MAINTAINER: Rob Richards <[email protected]> (2003 - 2009)
Christian Stocker <[email protected]> (2004 - 2011)
Niels Dossche <[email protected]> (2023 - 2024)
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: xmlreader
PRIMARY MAINTAINER: Rob Richards <[email protected]> (2004 - 2010)
Christian Stocker <[email protected]> (2004 - 2004)
Niels Dossche <[email protected]> (2023 - 2024)
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: xmlwriter
PRIMARY MAINTAINER: Rob Richards <[email protected]> (2004 - 2010)
Pierre-Alain Joye <[email protected]> (2005-2009)
Niels Dossche <[email protected]> (2023 - 2024)
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: xsl
PRIMARY MAINTAINER: Christian Stocker <[email protected]> (2003 - 2011)
Rob Richards <[email protected]> (2003 - 2010)
Niels Dossche <[email protected]> (2023 - 2024)
MAINTENANCE: Maintained
STATUS: Working
SINCE: 5.0
Expand Down
17 changes: 16 additions & 1 deletion NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? ????, PHP 8.4.0alpha1

- BCMath:
. [RFC] Add bcfloor, bcceil and bcround to BCMath. (Saki Takamachi)
. Improve performance. (Saki Takamachi, nielsdos)

- Core:
. Added zend_call_stack_get implementation for NetBSD, DragonFlyBSD,
Solaris and Haiku. (David Carlier)
Expand Down Expand Up @@ -86,6 +90,7 @@ PHP NEWS
. ResourceBundle::get() now has a tentative return type of:
ResourceBundle|array|string|int|null
. Added the new Grapheme function grapheme_str_split. (youkidearitai)
. Added IntlDateFormatter::parseToCalendar. (David Carlier)

- LDAP:
. Added LDAP_OPT_X_TLS_PROTOCOL_MAX/LDAP_OPT_X_TLS_PROTOCOL_TLS1_3
Expand Down Expand Up @@ -123,6 +128,8 @@ PHP NEWS
. Added X509_PURPOSE_OCSP_HELPER and X509_PURPOSE_TIMESTAMP_SIGN constants.
(Vincent Jardin)
. Bumped minimum required OpenSSL version to 1.1.1. (Ayesh Karunaratne)
. Added compile-time option --with-openssl-legacy-provider to enable legacy
provider. (Adam Saponara)

- Output:
. Clear output handler status flags during handler initialization. (haszi)
Expand All @@ -134,7 +141,7 @@ PHP NEWS
. Added pcntl_getaffinity/pcntl_setaffinity. (David Carlier)
. Updated pcntl_get_signal_handler signal id upper limit to be
more in line with platforms limits. (David Carlier)
. Added pcntl_getcpu for Linux/FreeBSD. (David Carlier)
. Added pcntl_getcpu for Linux/FreeBSD/Solaris/Illumos. (David Carlier)
. Added pcntl_getqos_class/pcntl_setqos_class for macOs. (David Carlier)
. Added SIGCKPT/SIGCKPTEXIT constants for DragonFlyBSD. (David Carlier)

Expand Down Expand Up @@ -168,6 +175,7 @@ PHP NEWS
PDO constructor arguments. (SakiTakamachi)
. Fixed native float support with pdo_pgsql query results. (Yurunsoft)
. Added class PdoPgsql. (danack, kocsismate)
. Retrieve the memory usage of the query result resource. (KentarouTakeda)

- PDO_SQLITE:
. Added class PdoSqlite. (danack, kocsismate)
Expand All @@ -176,6 +184,8 @@ PHP NEWS
. Added the possibility to have no conditions for pg_select. (OmarEmaraDev)
. Persistent connections support the PGSQL_CONNECT_FORCE_RENEW flag.
(David Carlier)
. Added pg_result_memory_size to get the query result memory usage.
(KentarouTakeda)

- Phar:
. Fixed bug GH-12532 (PharData created from zip has incorrect timestamp).
Expand Down Expand Up @@ -209,6 +219,8 @@ PHP NEWS
(David Carlier)
. Updated the socket_create_listen backlog argument default value to SOMAXCONN.
(David Carlier)
. Added the SO_NOSIGPIPE constant to control the generation of SIGPIPE for
macOs and FreeBSD. (David Carlier)

- SNMP:
. Removed the deprecated inet_ntoa call support. (David Carlier)
Expand All @@ -230,6 +242,9 @@ PHP NEWS
. Add support for AEGIS-128L and AEGIS-256 (jedisct1)
. Enable AES-GCM on aarch64 with the ARM crypto extensions (jedisct1)

- SPL:
. Implement SeekableIterator for SplObjectStorage. (nielsdos)

- Standard:
. Implement GH-12188 (Indication for the int size in phpinfo()). (timwolla)
. Partly fix GH-12143 (Incorrect round() result for 0.49999999999999994).
Expand Down
Loading