Derick Rethans
af80cba8a3
Per his request, make Calvin code owner for ODBC
2024-02-07 15:39:07 +00:00
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
2024-02-07 15:34:39 +00:00
Ilija Tovilo
c149b4f56f
Fix missing syntax error message in cli-server router script
...
Fixes GH-13113
Closes GH-13275
2024-02-07 16:13:08 +01:00
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.
2024-02-07 16:05:15 +01:00
Ilija Tovilo
49ebfb04ef
Fix JMP_FRAMELESS with ZEND_USE_ABS_JMP_ADDR
...
which is used on 32-bit machines.
2024-02-07 15:50:38 +01:00
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.
2024-02-07 13:17:40 +01:00
Ilija Tovilo
97e6c54336
Fix RC inference narrowing for ASSIGN_OBJ
...
Fixes oss-fuzz #66519
Closes GH-13345
2024-02-07 13:03:14 +01:00
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...).
2024-02-06 23:21:42 +01:00
Ilija Tovilo
0b1ab42ab8
Fix refactoring mistake
...
Odd, I rebuilt the project but somehow missed this.
2024-02-06 17:50:53 +01:00
Ilija Tovilo
631bc81607
Implement stackless internal function calls
...
Co-authored-by: Dmitry Stogov <dmitry@zend.com >
Closes GH-12461
2024-02-06 17:42:28 +01:00
Derick Rethans
7aa2b6294b
Moving this to php/policies
2024-02-06 11:39:12 +00:00
Niels Dossche
13e7c086a7
Merge branch 'PHP-8.3'
...
* PHP-8.3:
[ci skip] Fix NEWS date again
2024-02-05 22:56:00 +01:00
Niels Dossche
7319ca479e
[ci skip] Fix NEWS date again
2024-02-05 22:55:52 +01:00
Niels Dossche
9bd2abe6e1
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Fix unlikely memory leak in case of namespace removal with extremely deep trees
2024-02-05 22:49:55 +01:00
Niels Dossche
ab508c98b3
Fix unlikely memory leak in case of namespace removal with extremely deep trees
2024-02-05 22:49:15 +01:00
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
2024-02-05 19:32:29 +00:00
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.
2024-02-05 17:00:33 +01:00
Ilija Tovilo
f8c9928e6f
Fix tests with explicit opcache.log_verbosity_level setting
2024-02-05 15:00:32 +01:00
Marc Bennewitz
0016b3085c
Added DateTime[Immutable]::[get|set]Microseconds ( #12557 )
...
* Added DateTime[Immutable]::[get|set]Microseconds
2024-02-05 12:14:18 +00:00
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.
2024-02-05 12:19:18 +01:00
Ilija Tovilo
79e8f20e56
Add type inference for various missing opcodes
...
Closes GH-13304
2024-02-05 11:48:48 +01:00
Niels Dossche
caaf9d041d
[ci skip] NEWS
2024-02-05 08:31:24 +01:00
Niels Dossche
05874d4c23
[ci skip] Make UPGRADING bullet points consistent
2024-02-04 23:02:58 +01:00
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.
2024-02-04 23:02:02 +01:00
K
47b05def96
remove dead code and sillyness ( #13322 )
2024-02-04 22:25:59 +01:00
David Carlier
5a76b4f470
Merge branch 'PHP-8.3'
2024-02-04 19:44:13 +00:00
David Carlier
b710f6f77f
Merge branch 'PHP-8.2' into PHP-8.3
2024-02-04 19:43:28 +00:00
David Carlier
7096eff91d
Fix NEWS entry for GH-13315.
...
Close GH-13325
2024-02-04 19:41:55 +00:00
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.
2024-02-04 19:09:15 +00:00
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.
2024-02-04 19:27:58 +01:00
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
2024-02-04 17:39:24 +00:00
Jakub Zelenka
da6a4e799a
Merge branch 'PHP-8.3'
2024-02-04 12:01:09 +00:00
Jakub Zelenka
ae44ab47a7
Merge branch 'PHP-8.2' into PHP-8.3
2024-02-04 12:00:36 +00:00
Jakub Zelenka
bc30ae4f04
Fix bug #75712 : getenv in php-fpm should not read $_ENV, $_SERVER
...
Closes GH-13195
2024-02-04 11:58:18 +00:00
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.
2024-02-04 12:13:27 +01:00
Máté Kocsis
47789969ec
Revert "Declare the missing ReflectionMethod::$name property"
...
This reverts commit b0e83aabec .
The property is inherited from ReflectionFunctionAbstract.
2024-02-04 07:36:19 +01:00
Máté Kocsis
b0e83aabec
Declare the missing ReflectionMethod::$name property
2024-02-03 23:29:28 +01:00
Peter Kokot
e8c65d7efd
Remove superfluous ext/hash/murmur include on Windows ( #13314 )
...
The murmur headers are included relatively in ext/hash sources.
2024-02-03 22:01:31 +01:00
David Carlier
fa02793bee
Merge branch 'PHP-8.3'
2024-02-03 13:44:22 +00:00
David Carlier
1680d4fda3
Merge branch 'PHP-8.3'
2024-02-03 13:42:24 +00:00
David Carlier
79cafc8beb
Merge branch 'PHP-8.2' into PHP-8.3
2024-02-03 13:39:13 +00:00
David Carlier
45b99f6b2f
Forgotten piece of GH-13309/GH-13310 previous PR
2024-02-03 13:24:15 +00:00
Saki Takamachi
78970ef6b2
Fix GH-12143: Optimize round
...
Fixed an error in the result due to "pre-rounding" of the round function.
"Pre-rounding" has been abolished and the method of comparing numbers has
been changed.
Closes GH-12268.
2024-02-03 22:23:02 +09:00
David Carlier
e32821258e
Merge branch 'PHP-8.2' into PHP-8.3
2024-02-03 13:22:58 +00:00
David Carlier
b06d6dba4f
Forgotten piece of GH-13309/GH-13310 previous PR
2024-02-03 13:22:45 +00:00
David Carlier
0e93f03e65
Merge branch 'PHP-8.3'
2024-02-03 13:08:32 +00:00
David Carlier
6842d3c03a
Merge branch 'PHP-8.2' into PHP-8.3
2024-02-03 13:07:51 +00:00
David Carlier
d91224cd2f
Fix GH-13309 and GH-13310: array hashes comparison, wrong buffer len calculation.
...
php_array_key_compare_string_case_unstable_i has a typo for the second
operand resulting in a wrong buffer size calculation.
Issue reported by @AlexRudyuk
Close GH-13315
2024-02-03 13:07:15 +00:00
Tim Düsterhus
7ed21e66fa
random: Do not hardcode the target type when invoking the CSPRNG ( #13308 )
...
Instead derive the number of bytes to retrieve from the variable that is being
filled.
2024-02-02 20:10:19 +01:00
Cristian Rodríguez
eb238577f1
cgi: tidy up fastcgi_cleanup signal handler ( #13026 )
...
* signal handlers can only touch global volatile sig_atomic_t variables.
* fastcgi_cleanup is static
* structs sigaction are static
* A signal handler cannot call exit() because it is not async signal safe,
call _exit instead.
2024-02-02 18:10:34 +01:00