haszi
3ce7bf2a77
Clear handler status flag in handler init
Closes GH-13087
2 years ago
Jorg Adam Sowa
6647d5f609
ext/bcmath: Remove debug.c file ( #13359 )
2 years ago
Peter Kokot
968f048b4c
Fix undefined symbol pthread_attr_get_np on Solaris ( #13358 )
Solaris doesn't have pthread_attr_get_np().
Checked on Oracle Solaris 11.4.
2 years ago
David Carlier
c5fbcfa7be
GH-13355 fix new pgsql test
2 years ago
David Carlier
aa2e921ef7
Merge branch 'PHP-8.3'
2 years ago
David Carlier
a9c01b92b2
Merge branch 'PHP-8.2' into PHP-8.3
2 years ago
George Barbarosie
452e008f4f
Fix GH-13354: ext/pgsql: pg_execute, pg_send_query_params and_send_execute null value by reference.
For these, when passing null values by refence, queries return erroneous values unlike
pg_query_params behaving as expected.
close GH-13355.
2 years ago
Peter Kokot
3e237ecfb3
Remove remainings of recent oci extensions removal ( #13352 )
Following a4d64b2605
2 years ago
Ilija Tovilo
cd66fcc68b
Add request_parse_body() function
RFC: https://wiki.php.net/rfc/rfc1867-non-post
This function allows populating the $_POST and $_FILES globals for non-post
requests. This avoids manual parsing of RFC1867 requests.
Fixes #55815
Closes GH-11472
2 years ago
Ilija Tovilo
2f894389b6
Revert "Use __attribute__((assume())) in ZEND_ASSUME when available"
This reverts commit bf4ec8bd9d
.
Partial revert, keep the phpdbg changes.
2 years ago
Peter Kokot
5752bbdad5
[skip ci] Add oci extensions notes to upgrading docs
2 years ago
Peter Kokot
e76f9e2b50
Remove DARWIN symbol ( #13346 )
When targeting Darwin systems (macOS, etc.), the compiler defines the
__APPLE__ symbol, which should be sufficient and a more established
detection method practice in these cases.
2 years ago
Niels Dossche
aed6528b00
Use a local variable such that a register is used for the column before writing it to memory
2 years ago
Niels Dossche
2f1fe3209c
Use a direct statically-known call for decoding in the fast path
2 years ago
Ilija Tovilo
82665fd3a4
[skip ci] Fix oudated credits_ext.h file
2 years ago
Derick Rethans
af80cba8a3
Per his request, make Calvin code owner for ODBC
2 years ago
Derick Rethans
a4d64b2605
Removed ext/oci8 and ext/pdo_oci ( #13327 )
* Removed ext/oci8 and ext/pdo_oci
They now live in their own repositories:
https://github.com/php/pecl-database-oci8
https://github.com/php/pecl-database-pdo_oci
As per: https://wiki.php.net/rfc/unbundle_imap_pspell_oci8
2 years ago
Ilija Tovilo
c149b4f56f
Fix missing syntax error message in cli-server router script
Fixes GH-13113
Closes GH-13275
2 years ago
Ilija Tovilo
18cdfd3f51
Skip frameless functions with zend_execute_internal
zend_execute_internal is used to intercept function calls. We must use the
DO_FCALL opcode in this instance.
2 years ago
Ilija Tovilo
49ebfb04ef
Fix JMP_FRAMELESS with ZEND_USE_ABS_JMP_ADDR
which is used on 32-bit machines.
2 years ago
Ilija Tovilo
294c9ec36c
[skip ci] Skip push to forks
Creating PRs against forks requries having up-to-date target branches. Pushing
to these currently triggers CI, which is useless as this commit was already
tested upstream. Contributions are tested via pull request.
2 years ago
Ilija Tovilo
97e6c54336
Fix RC inference narrowing for ASSIGN_OBJ
Fixes oss-fuzz #66519
Closes GH-13345
2 years ago
Peter Kokot
f9cfd40fa2
Refactor utsname.domainname struct member Autoconf check ( #13336 )
* Refactor utsname.domainname struct member Autoconf check
Autoconf's AC_CHECK_MEMBERS macro (available since Autoconf 2.50) can be
used instead of the compile check. This was originally implemented for
IRIX compatibility, when Autoconf 2.13 didn't have the struct members
checking macro yet.
Macro by default here defines the HAVE_STRUCT_UTSNAME_DOMAINNAME symbol.
* Remove also redundant DARWIN symbol check
Checking in the configuration step also correctly detects missing struct
member on Darwin systems (macos...).
2 years ago
Ilija Tovilo
0b1ab42ab8
Fix refactoring mistake
Odd, I rebuilt the project but somehow missed this.
2 years ago
Ilija Tovilo
631bc81607
Implement stackless internal function calls
Co-authored-by: Dmitry Stogov <dmitry@zend.com>
Closes GH-12461
2 years ago
Derick Rethans
7aa2b6294b
Moving this to php/policies
2 years ago
Niels Dossche
13e7c086a7
Merge branch 'PHP-8.3'
* PHP-8.3:
[ci skip] Fix NEWS date again
2 years ago
Niels Dossche
7319ca479e
[ci skip] Fix NEWS date again
2 years ago
Niels Dossche
9bd2abe6e1
Merge branch 'PHP-8.3'
* PHP-8.3:
Fix unlikely memory leak in case of namespace removal with extremely deep trees
2 years ago
Niels Dossche
ab508c98b3
Fix unlikely memory leak in case of namespace removal with extremely deep trees
2 years ago
David Carlier
b320aabc5e
zend call stack fixing stack limit for macOs arm64.
8MB sounded a prudent size for older 10.9 macOs release, however
with newer mac with arm64, it triggers a stack overflow.
close GH-13319
2 years ago
Tim Düsterhus
ce2d26363f
random: Reuse the seed128/seed256 helpers when seeding using the CSPRNG ( #13311 )
Instead of writing to the engine's state struct directly, use the helpers for
consistency.
2 years ago
Ilija Tovilo
f8c9928e6f
Fix tests with explicit opcache.log_verbosity_level setting
2 years ago
Marc Bennewitz
0016b3085c
Added DateTime[Immutable]::[get|set]Microseconds ( #12557 )
* Added DateTime[Immutable]::[get|set]Microseconds
2 years ago
Ilija Tovilo
f91833d297
Fix RC inference for DECLARE_LAMBDA_FUNCTION
It doesn't seem like the VM can return RCn. However, the JIT fails without it.
I'll need to look into this more closely.
2 years ago
Ilija Tovilo
79e8f20e56
Add type inference for various missing opcodes
Closes GH-13304
2 years ago
Niels Dossche
caaf9d041d
[ci skip] NEWS
2 years ago
Niels Dossche
05874d4c23
[ci skip] Make UPGRADING bullet points consistent
2 years ago
Niels Dossche
3b5986db69
Implement GH-12908: Show attribute name/class in ReflectionAttribute dump
This is consistent with how many other Reflection classes have a name
field, and it makes debugging easier.
Closes GH-12908.
Closes GH-12917.
2 years ago
K
47b05def96
remove dead code and sillyness ( #13322 )
2 years ago
David Carlier
5a76b4f470
Merge branch 'PHP-8.3'
2 years ago
David Carlier
b710f6f77f
Merge branch 'PHP-8.2' into PHP-8.3
2 years ago
David Carlier
7096eff91d
Fix NEWS entry for GH-13315.
Close GH-13325
2 years ago
David CARLIER
b8f10decb3
ZEND_ELEMENT_COUNT usage reduction. ( #13324 )
clang 18 is going to be released and in the meantime the counted_by
attribute usage had been constrained to true flexible arrays,
typical cases such as type name[1] ZEND_ELEMENT_COUNT(size) no longer
build.
2 years ago
Peter Kokot
9628ca7bd2
Fix zend_test extension name ( #13321 )
The zend_test extension was renamed from zend-test to zend_test in
dbe5725ff3
. This only syncs few minor
remainings.
2 years ago
David Carlier
f9a83a4bd4
fiber fix wrong asm directives on (default) solaris build mode.
Illumos/Solaris while being 64 bits produces by default 32 bits build.
In this case building the i386 assembly.
Close GH-13320
2 years ago
Jakub Zelenka
da6a4e799a
Merge branch 'PHP-8.3'
2 years ago
Jakub Zelenka
ae44ab47a7
Merge branch 'PHP-8.2' into PHP-8.3
2 years ago
Jakub Zelenka
bc30ae4f04
Fix bug #75712 : getenv in php-fpm should not read $_ENV, $_SERVER
Closes GH-13195
2 years ago
Peter Kokot
1cc0a16752
[skip ci] Add note about ext/imap removal in upgrading docs
The imap extension has been moved to PECL. Adding a note about configure
options changes also in the UPGRADING.INTERNALS for easier build scripts
adjustments.
2 years ago