Skip to content

var_export dom stuff #108

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,913 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1913 commits
Select commit Hold shift + click to select a range
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
8276560
Merge branch 'PHP-8.3'
SakiTakamachi May 10, 2024
94479fe
Merge branch 'PHP-8.3'
nielsdos May 10, 2024
d934840
Fix deprecation warning
nielsdos May 10, 2024
f88fc9c
Merge branch 'PHP-8.3'
nielsdos May 10, 2024
25b224d
Merge branch '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
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
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
fba8e21
Merge branch 'PHP-8.3'
bukka May 12, 2024
7a20168
Merge branch '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
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
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
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
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
73abf4f
Merge branch 'PHP-8.3'
kamil-tekiela 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
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
39b48f8
Add -Wno-type-limits and -Wno-logical-op only on 32-bit (#14271)
petk May 20, 2024
1d38656
ext/bcmath: Changed the bcmul calculation method (#14213)
SakiTakamachi May 20, 2024
9aa3a0d
ext/pgsql: adding pg_change_password functionality.
devnexen May 18, 2024
b7bf846
Fix bug #81227: PDO::inTransaction reports false when in transaction …
nielsdos May 20, 2024
ca3444b
Emit error when building fuzzer with ZTS (#14273)
petk May 20, 2024
230ab07
Avoid code duplication for error instance creation in ext/libxml (#14…
nielsdos May 20, 2024
412a395
Merge branch 'PHP-8.3'
derickr May 20, 2024
90e0ce7
Throw early when a non-stream-context resource is passed to libxml_se…
nielsdos May 20, 2024
08e2c6f
Fix fuzzer result message in configure log (#14278)
petk May 20, 2024
78f72cf
Add support for generating parameter attributes for the manual (#14270)
kocsismate May 20, 2024
6335264
Fix header errors when parsed standalone (#14272)
iluuu1994 May 20, 2024
dbbd012
Merge branch 'PHP-8.3'
nielsdos May 20, 2024
14b92d5
Add a test for previously-uncovered error condition in C14N (#14283)
nielsdos May 20, 2024
8094bd1
Make `ReflectionGenerator::getFunction()` legal after generator termi…
TimWolla May 21, 2024
62ebe82
Separate internal and user function extension handles
iluuu1994 May 16, 2024
dabafc7
bool "must" be used instead. (#14287)
divinity76 May 21, 2024
896517e
JIT: Fix missing register store
dstogov May 21, 2024
07a4851
Merge branch 'PHP-8.3'
Girgias May 21, 2024
0927651
Simplify required functions checks in ext/pcntl (#14288)
petk May 21, 2024
3b0d137
Merge branch 'PHP-8.3'
ericmann May 21, 2024
af4d676
Merge branch 'PHP-8.3'
adoy May 21, 2024
02f3df1
Add missing ext/libxml dependency to ext/soap (#14285)
petk May 21, 2024
e16bc4b
Merge branch 'PHP-8.3'
nielsdos May 21, 2024
6f5ffc2
ext/date: convert remaining uses of zend_parse_parameters()
MaxSem Aug 31, 2021
bc9a113
Add further ZPP conversions
derickr May 22, 2024
46540a0
Merge branch 'ext-date-zpp'
derickr May 22, 2024
8e62e2b
Mark multple functions as static (#13864)
crrodriguez May 22, 2024
d19fad1
Merge branch 'PHP-8.3'
iluuu1994 May 22, 2024
c4d9a37
Typed constants in date extension (#12361)
jorgsowa May 22, 2024
182fee1
Fix removal of optimization cflags in debug builds (#9647)
arnaud-lb May 22, 2024
c265b90
ext/pdo_pgsql: adding pgsqlSetNoticeCallback
outtersg Mar 11, 2021
92b9543
Merge branch 'PHP-8.3'
iluuu1994 May 22, 2024
23afe57
Added deprecation Division by zero when using power with zero as base…
jorgsowa Dec 23, 2023
69e2ef6
[skip ci] Add news entry
iluuu1994 May 22, 2024
2c91b73
Also use zval_get_double for op1 in pow comp time check
iluuu1994 May 22, 2024
ace18f4
JIT: Avoid IS_UNDEF check for ZEND_FETCH_DIM/OBJ_IS with a result typ…
dstogov May 22, 2024
fe7f699
ext/pcntl: adding SIGTRAP handling for freebsd.
devnexen May 18, 2024
8734a9a
ext/bcmath: Prevent overflow of uint32_t/uint64_t (#14297)
SakiTakamachi May 22, 2024
93c20de
Update IR
dstogov May 23, 2024
706e9ed
Merge branch 'PHP-8.3'
iluuu1994 May 23, 2024
58c281a
JIT: Add CPU registers support for ASSIGN_OBJ and ASSIGN_OBJ_OP (#14303)
dstogov May 23, 2024
aef0ead
Use size_t for length
nielsdos May 20, 2024
04a34c3
Faster writing of BCD representation
nielsdos May 20, 2024
4e99bb5
Faster BCD into integer parsing
nielsdos May 20, 2024
8faaf3f
Merge branch 'PHP-8.3'
nielsdos May 23, 2024
6c59c29
random: Add missing PHPAPI to `php_random_generate_fallback_seed()` i…
TimWolla May 23, 2024
c8ef40a
[ci skip] Add missing trailing dots in NEWS
TimWolla May 23, 2024
9ad1779
Merge branch 'PHP-8.3'
nielsdos May 24, 2024
547cbf0
Merge branch 'PHP-8.3'
iluuu1994 May 24, 2024
2ab114e
Merge branch 'PHP-8.3'
petk May 24, 2024
c461b60
refactor: change `zend_is_true` to return `bool` (#14301)
morrisonlevi May 24, 2024
3165456
Include HRESULT error code if native .NET initialization fails (#14317)
nielsdos May 24, 2024
e2fe2ee
Merge branch 'PHP-8.3'
devnexen May 24, 2024
9864d91
Fix typo in LDAP stub (#14313)
haszi May 25, 2024
f6b217a
Merge branch 'PHP-8.3'
petk May 25, 2024
8a24e31
Fixed undefined flags in base64 (#14316)
jorgsowa May 25, 2024
1b78121
Fix tempnam() path in test when running from out-of-source (#14326)
petk May 25, 2024
ab80392
Cleanup DOM exception throwing parameters (#14330)
nielsdos May 26, 2024
a356d1c
Update OOM error for DOMImplementation::createDocumentType (#14329)
nielsdos May 26, 2024
36a58b3
Use a ROL for mangling the pointer key in namespace_compat.c (#14331)
nielsdos May 26, 2024
8be3426
Add missing ext/libxml dependency to ext/xmlwriter (#14327)
petk May 26, 2024
d4839b9
Remove outdated comment
petk May 27, 2024
8cf8751
random: Remove internal aliases for the global Mt19937 functionality …
TimWolla May 27, 2024
6e1d20c
Wrap sched_getcpu AC_RUN_IFELSE check in AC_CACHE_CHECK (#14336)
petk May 27, 2024
5f2a0c8
Add support for Curve25519 + Curve448 based keys
manuelm Apr 26, 2024
4f311f8
Remove redundant ext/spl/spl_exceptions.h include (#14337)
petk May 27, 2024
a70fd53
Move regression tests of SOAP to bugs directory (#14322)
nielsdos May 27, 2024
8896bd3
Merge branch 'PHP-8.3'
nielsdos May 27, 2024
329f015
Sync HAVE_ENCHANT_BROKER_SET_PARAM definitions (#14340)
petk May 27, 2024
be19e79
Fix gen_stub.php errors (#14335)
vudaltsov May 27, 2024
cc477ff
Merge branch 'PHP-8.3'
kocsismate May 27, 2024
b6b16a1
[RFC] Implement dereferencable for new exprs with constructor args
vudaltsov Dec 26, 2023
5109cf1
Merge branch 'PHP-8.3'
dstogov May 28, 2024
2d66562
Sync HAVE_IPV6 and HAVE_GETADDRINFO in #if/ifdef/defined (#14341)
petk May 28, 2024
7c5d655
Merge branch 'PHP-8.3'
arnaud-lb May 28, 2024
cc6d952
Merge branch 'PHP-8.3'
arnaud-lb May 28, 2024
162a311
ext/pgsql: adding pg_put_copy_data/pg_put_copy_end.
devnexen May 25, 2024
661c5ee
Fix implicitly nullable parameter type for pg_put_copy_end()
kocsismate May 28, 2024
cf004ed
Fix implicitly nullable type detection in stubs
kocsismate May 28, 2024
1d0cdd1
Remove unused ext/fileinfo/libmagic/elfclass.h file (#14344)
petk May 28, 2024
7278364
Remove useless RETURN_NULLs() (#14350)
nielsdos May 28, 2024
cb2c5de
Add PHP_SBINDIR (#13363)
petk May 29, 2024
e45d2d6
Sync HAVE_BUNDLED_PCRE #if/ifdef/defined (#14354)
petk May 29, 2024
06fcf3c
Merge branch 'PHP-8.3'
iluuu1994 May 29, 2024
48d5ae9
ext/standard: Refactor exec.c public APIs to use zend_string pointers…
Girgias May 29, 2024
9771302
Merge branch 'PHP-8.3'
iluuu1994 May 29, 2024
0f64901
Document stubs (#13677)
kocsismate May 29, 2024
e6abca4
Use helper macro in ext/exif (#14352)
nielsdos May 29, 2024
acfa564
Merge branch 'PHP-8.3'
nielsdos May 29, 2024
f90a32c
Merge branch 'PHP-8.3'
nielsdos May 29, 2024
8a87206
reflection: Add `ReflectionGenerator::isClosed()` (#14358)
TimWolla May 29, 2024
5db0595
Move more common code into php_dom_next_in_tree_order() (#14363)
nielsdos May 29, 2024
c7797fc
Fix bug GH-11941: soap with session persistence will silently fails w…
nielsdos May 29, 2024
0242577
Also check constants in referenced constant lists
kocsismate May 29, 2024
de0415e
Remove PROG_SENDMAIL from Makefile (#14355)
petk May 29, 2024
c08535c
Fix regex for searching for constant lists
kocsismate May 30, 2024
d8da8d8
Remove obsolete Makefile .NOEXPORT target (#13734)
petk May 30, 2024
1ab4520
Add zend_atomic_int (#14242)
arnaud-lb May 30, 2024
33f1cf2
ext/intl: Various refactoring (#14360)
Girgias May 30, 2024
cd44826
[skip ci] Update UPGRADING after Intl refactoring
Girgias May 30, 2024
471aa11
Refactor fopencookie check (#14346)
petk May 30, 2024
92d18b2
Fixed rounding error with new DateTime[Immutable]::createFromTimestam…
derickr May 30, 2024
99950bd
Merged pull request #14375
derickr May 30, 2024
c7bdf30
Merge branch 'PHP-8.3'
Girgias May 30, 2024
44c199c
random: Make php_random_bytes() useable early during engine startup (…
arnaud-lb May 30, 2024
cba3891
Join SQLite library setup M4 macros to PHP_SETUP_SQLITE (#14372)
petk May 30, 2024
ec54edb
ext/bcmath: Use an enum for comparison result (#14374)
Girgias May 30, 2024
6ec4220
Amend PDO driver-specific class names (#14069)
kocsismate May 30, 2024
1fd40a6
Merge branch 'PHP-8.3'
nielsdos May 30, 2024
5e242fe
Use AC_DEFINE_UNQUOTED where variables are present (#14377)
petk May 30, 2024
a58c3a7
Merge branch 'PHP-8.3'
nielsdos May 31, 2024
e4a8d5b
RFC: array_find (#14108)
joshuaruesweg May 31, 2024
3096c71
Fix build warning in release mode
nielsdos May 31, 2024
e69bccd
ext/pgsql: adding pg_socket_poll.
devnexen May 29, 2024
e424643
Fix signedness and argument order issues with argc handling in soap (…
nielsdos May 31, 2024
59651ee
Avoid string duplication in Soap function response (#14391)
nielsdos May 31, 2024
62cdaac
Merge branch 'PHP-8.3'
nielsdos May 31, 2024
47c41d4
ext/sqlite: Sqlite3Stmt::bindParam/bindValue named parameters change.…
devnexen May 31, 2024
7834bd1
Fix parameter name warning
nielsdos May 31, 2024
ca7a0df
Make some things const that can be const in soap
nielsdos May 31, 2024
e8c6c6f
Fix signedness issues in soap.c
nielsdos May 31, 2024
37f683a
Remove unused internal functions in soap
nielsdos May 31, 2024
5fe799a
Merge branch 'PHP-8.3'
bwoebi Jun 1, 2024
8dc2391
Fix bug #79701: getElementById does not correctly work with duplicate…
nielsdos May 26, 2024
61191dc
Merge branch 'PHP-8.3'
nielsdos Jun 1, 2024
1e2306b
ext/exif: moving few instances from memmove to memcpy. (#14400)
devnexen Jun 1, 2024
9f89ada
Struct-pack some soap datatypes (#14403)
nielsdos Jun 1, 2024
cf46913
Fix ZEND_DEBUG condition (#14408)
petk Jun 1, 2024
ffe225d
Merge branch 'PHP-8.3'
nielsdos Jun 1, 2024
f69c55b
Remove hash dependency from session extension (#14409)
petk Jun 1, 2024
c3b3e90
ext/odbc: Remove unused INI settings (#14399)
Girgias Jun 1, 2024
25a5146
Clean-up unused headers (#14365)
Girgias Jun 1, 2024
dedf8fb
Add missing pcre dependency definition to zip extension (#14404)
petk Jun 1, 2024
4fca8a6
ext/intl: SpoofChecker using fast ZPP. (#14412)
devnexen Jun 1, 2024
ec50b17
Update ext/session spl dependency (#14410)
petk Jun 1, 2024
8b1bb91
Sync build system #if/ifdef/defined (#14397)
petk Jun 1, 2024
694bb32
ext/intl: timezone using fast ZPP and fixing SpoofChecker (#14415)
devnexen Jun 1, 2024
d005ab2
ext/intl converter and formatter using fast ZPP (#14413)
devnexen Jun 1, 2024
2f9de8b
Merge branch 'PHP-8.3'
nielsdos Jun 1, 2024
bc6f333
ext/intl: further fast ZPP usage. (#14419)
devnexen Jun 1, 2024
8112889
Wrap ttyname_r check in AC_CACHE_CHECK (#14417)
petk Jun 1, 2024
c39bcaa
ext/int: UChar using fast ZPP (#14420)
devnexen Jun 1, 2024
8c08b03
ext/intl: odn, collator, msgformat using fast ZPP (#14421)
devnexen Jun 1, 2024
9437c32
ext/intl: common use fast ZPP (#14422)
devnexen Jun 1, 2024
354b647
ext/intl: calendar/locale use fast ZPP. (#14425)
devnexen Jun 2, 2024
c8a8d8a
ext/intl last chunk of fast ZPP conversion (#14431)
devnexen Jun 2, 2024
5b35740
Sync #if/ifdef/defined for LIBXML_EXPAT_COMPAT (#14435)
petk Jun 2, 2024
d2a932b
Merge branch 'PHP-8.3'
Girgias Jun 2, 2024
028cfda
Wrap clock_get_time check in AC_CACHE_CHECK (#14434)
petk Jun 2, 2024
ca55603
Wrap ext/opcache AC_RUN_IFELSE checks in AC_CACHE_CHECK (#14436)
petk Jun 2, 2024
75033c0
Wrap Zend stack limit check in AC_CACHE_CHECK (#14437)
petk Jun 2, 2024
354b263
Wrap iconv errno check in AC_CACHE_CHECK (#14438)
petk Jun 2, 2024
5afe41b
Update ext/simplexml dependencies (#14446)
petk Jun 2, 2024
07a1921
refactor: use ZEND_PARSE_PARAMETERS_NONE() (#14442)
morrisonlevi Jun 2, 2024
6c034ee
Wrap gdImageCreateFrom* checks in AC_CACHE_CHECK (#14443)
petk Jun 2, 2024
bf845d5
Use AC_SUBST for CONFIGURE_COMMAND and CONFIGURE_OPTIONS (#14445)
petk Jun 3, 2024
802612b
Update IR
dstogov Jun 3, 2024
df481ef
Simplify PDO include paths (#14444)
petk Jun 3, 2024
6a14730
Wrap aligning segments checks in AC_CACHE_CHECK (#14450)
petk Jun 3, 2024
315f205
Remove dead check in pcre
nielsdos Jun 3, 2024
face2ab
Merge branch 'PHP-8.3'
nielsdos Jun 3, 2024
2597441
Cache pcre subpattern table (#14424)
nielsdos Jun 3, 2024
bbbe56e
ext/sockets: using fast ZPP. (#14453)
devnexen Jun 3, 2024
cb8a744
Merge branch 'PHP-8.3'
NattyNarwhal Jun 4, 2024
89c4e4c
Fix GH-11188: Error when building TSRM in ARM64 (for IR JIT) (#14459)
nielsdos Jun 4, 2024
bda372f
Merge branch 'PHP-8.3'
ramsey Jun 5, 2024
7c2a4db
Replace `ZEND_ASSUME()` by `ZEND_ASSERT()` in `zend_hash_*_ptr` sette…
TimWolla Jun 5, 2024
503d129
wip
nielsdos Jun 5, 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.
15 changes: 1 addition & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,13 @@ jobs:
libicu-dev \
libtidy-dev \
libenchant-2-dev \
libaspell-dev \
libpspell-dev \
libsasl2-dev \
libxpm-dev \
libzip-dev \
libbz2-dev \
libsqlite3-dev \
libwebp-dev \
libonig-dev \
libkrb5-dev \
libgssapi-krb5-2 \
libcurl4-openssl-dev \
libxml2-dev \
libxslt1-dev \
Expand All @@ -71,7 +67,6 @@ jobs:
`#snmp-mibs-downloader` \
freetds-dev \
`#unixodbc-dev` \
libc-client-dev \
dovecot-core \
dovecot-pop3d \
dovecot-imapd \
Expand Down Expand Up @@ -111,7 +106,6 @@ jobs:
--enable-exif \
--with-zip \
--with-zlib \
--with-zlib-dir=/usr \
--enable-soap \
--enable-xmlreader \
--with-xsl \
Expand All @@ -131,9 +125,7 @@ jobs:
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--with-pspell=/usr \
--with-enchant=/usr \
--with-kerberos \
--enable-sysvmsg \
--with-ffi \
--enable-zend-test \
Expand All @@ -152,12 +144,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 +169,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 \
-d zend_test.observer.enabled=1 \
-d zend_test.observer.show_output=0 \
Expand Down
4 changes: 2 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ freebsd_task:
#- sed -i -e 's/quarterly/latest/g' /etc/pkg/FreeBSD.conf
#- pkg upgrade -y
- kldload accf_http
- 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
- pkg install -y autoconf bison gmake re2c icu libiconv png freetype2 enchant2 bzip2 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-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
6 changes: 5 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,13 @@

# Collapse generated files within git and pull request diff.
**/*_arginfo.h linguist-generated -diff
/main/gdb_inlined_script.c linguist-generated -diff
/Zend/zend_vm_execute.h linguist-generated -diff
/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
17 changes: 13 additions & 4 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,40 @@

/.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
/ext/dom @nielsdos
/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/pcntl @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
/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: 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.
4 changes: 0 additions & 4 deletions .github/actions/apt-x32/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,17 @@ runs:
g++-multilib \
gcc-multilib \
language-pack-de \
libaspell-dev:i386 \
libbz2-dev:i386 \
libc6:i386 \
libcurl4-openssl-dev:i386 \
libffi-dev:i386 \
libfreetype6-dev:i386 \
libgmp-dev:i386 \
libgssapi-krb5-2:i386 \
libicu-dev:i386 \
libjpeg-dev:i386 \
libkrb5-dev:i386 \
libonig-dev:i386 \
libpng-dev:i386 \
libpq-dev:i386 \
libpspell-dev:i386 \
libreadline-dev:i386 \
libsasl2-dev:i386 \
libsodium-dev:i386 \
Expand Down
6 changes: 1 addition & 5 deletions .github/actions/apt-x64/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,14 @@ 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 \
libgssapi-krb5-2 \
libcurl4-openssl-dev \
libxml2-dev \
libxslt1-dev \
Expand All @@ -61,7 +58,6 @@ runs:
unixodbc-dev \
llvm \
clang \
libc-client-dev \
dovecot-core \
dovecot-pop3d \
dovecot-imapd \
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/brew/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ runs:
brew install \
[email protected] \
curl \
krb5 \
bzip2 \
enchant \
libffi \
Expand All @@ -37,6 +36,7 @@ runs:
tidy-html5 \
libxml2 \
libjpeg \
libsodium \
libxslt \
postgresql
brew link icu4c gettext --force
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
36 changes: 17 additions & 19 deletions .github/actions/configure-macos/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,24 @@ 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/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,26 +39,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 \
--enable-zend-test \
Expand Down
3 changes: 0 additions & 3 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,8 +54,6 @@ runs:
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--with-pspell=/usr \
--with-kerberos \
--enable-sysvmsg \
--with-ffi \
--enable-zend-test \
Expand Down
7 changes: 0 additions & 7 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,9 +52,7 @@ runs:
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--with-pspell=/usr \
${{ inputs.skipSlow == 'false' && '--with-enchant=/usr' || '' }} \
--with-kerberos \
--enable-sysvmsg \
--with-ffi \
--enable-zend-test \
Expand All @@ -74,11 +71,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
Loading
Loading