Niels Dossche
4091d2407b
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Fix GH-13097: Anonymous class reference in trigger_error / thrown Exception
2024-01-16 21:06:29 +01:00
Niels Dossche
764360b1b0
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix GH-13097: Anonymous class reference in trigger_error / thrown Exception
2024-01-16 21:06:03 +01:00
Niels Dossche
2cde4b2ea4
Fix GH-13097: Anonymous class reference in trigger_error / thrown Exception
...
Closes GH-13153.
2024-01-16 21:05:04 +01:00
Ilija Tovilo
cbd201192d
Merge branch 'PHP-8.3'
...
* PHP-8.3:
strtok is not comptime()
2024-01-14 19:13:25 +01:00
Ilija Tovilo
ed64949d12
strtok is not comptime()
...
Fixes GH-13145
Closes GH-13148
2024-01-14 19:12:41 +01:00
Máté Kocsis
d84ed03a68
Improve error messages related to void/never return types of methods
2024-01-14 16:04:23 +01:00
David CARLIER
9726721560
general signatures discrepencies fixes ( #13122 )
2024-01-10 22:19:23 +00:00
Dmitry Stogov
d778c24aa2
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Disable inlining and inter-procedure-analyses for zend_string_equal_val() function that may be overriden for valgrind (#13099 )
2024-01-09 20:06:15 +03:00
Dmitry Stogov
71a1defdfa
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Disable inlining and inter-procedure-analyses for zend_string_equal_val() function that may be overriden for valgrind (#13099 )
2024-01-09 20:06:07 +03:00
Dmitry Stogov
6339938c7e
Disable inlining and inter-procedure-analyses for zend_string_equal_val() function that may be overriden for valgrind ( #13099 )
...
This is a more safely way to fix GH-9068
2024-01-09 20:05:51 +03:00
Arnaud Le Blanc
44a246ed6d
Merge branch 'PHP-8.3'
...
* PHP-8.3:
[ci skip] NEWS
[ci skip] NEWS
Fix timer leak (#13027 )
2024-01-05 19:47:58 +01:00
Arnaud Le Blanc
26f54eb490
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
[ci skip] NEWS
Fix timer leak (#13027 )
2024-01-05 19:45:51 +01:00
Rob Landers
6342f735b9
Fix timer leak ( #13027 )
...
ts_resource() and php_request_startup() both eventually call zend_max_execution_timer_init(), which didn't have a guard to prevent recreating timers, thus resulting in leaking timers. This adds a guard to prevent the leak.
2024-01-05 19:36:19 +01:00
Jakub Zelenka
d33a534863
PHP-8.3 is now for PHP-8.3.3-dev
2024-01-02 15:50:36 +00:00
Sergey Panteleev
5d79c1b74d
PHP-8.2 is now for PHP 8.2.16-dev
2024-01-02 16:42:14 +03:00
Dmitry Stogov
6aa8687461
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Fix assertion
2023-12-25 13:22:47 +03:00
Dmitry Stogov
fd58f61a22
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix assertion
2023-12-25 13:22:39 +03:00
Dmitry Stogov
5350952a37
Fix assertion
...
Fixes oss-fuzz #65233
2023-12-25 13:22:03 +03:00
Máté Kocsis
012ec21def
Remove unused parameter from zend_compile_typename()
...
The force_allow_null parameter is always false, therefore it is not needed. This simplification paves the road for deprecating implicitly nullable parameter types.
2023-12-24 14:14:35 +01:00
Jorg Adam Sowa
f1f33ee3a1
Added missing case 0.0 to the test runtime_compile_time_binary_operands.phpt ( #13010 )
2023-12-24 01:06:32 +01:00
David Carlier
4ffa6e313b
Merge branch 'PHP-8.3'
2023-12-22 14:01:05 +00:00
David Carlier
a2068ef47b
Fix GH-12999: zend_strnlen build fix when platform misses strnlen support.
...
fix from @rainerjung
2023-12-22 14:00:14 +00:00
Cristian Rodríguez
927adfb1a6
Use a single version of mempcpy(3) ( #12257 )
...
While __php_mempcpy is only used by ext/standard/crypt_sha*, the
mempcpy "pattern" is used everywhere.
This commit removes __php_mempcpy, adds zend_mempcpy and transforms
open-coded parts into function calls.
2023-12-20 15:16:32 +00:00
Niels Dossche
6991518685
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Fix GH-12953: SSA integrity verification failed when loading composer classmaps with more than 11k elements
2023-12-18 13:15:44 +01:00
Niels Dossche
fc82c27a3d
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix GH-12953: SSA integrity verification failed when loading composer classmaps with more than 11k elements
2023-12-18 13:15:19 +01:00
Niels Dossche
7585cf6952
Fix GH-12953: SSA integrity verification failed when loading composer classmaps with more than 11k elements
...
This is a false positive. The cycle detection code stops at 10.000
iterations. Instead of stopping at a fixed amount, make it more robust
by implementing Floyd's cycle detection algorithm.
Closes GH-12954.
2023-12-18 13:14:51 +01:00
Dmitry Stogov
d2e16a2199
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Fixed type inference
2023-12-18 12:28:36 +03:00
Dmitry Stogov
555e8f82e8
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fixed type inference
2023-12-18 12:28:25 +03:00
Dmitry Stogov
731734dacb
Fixed type inference
...
Fixes oss-fuzz #65150
2023-12-18 12:27:35 +03:00
Arnaud Le Blanc
3c3aba11be
Merge branch 'PHP-8.3'
...
* PHP-8.3:
WS
Clarify the stack limit exception message
Fix GH-12643: Stack limit tests failing on ppc64le
2023-12-10 13:27:13 +01:00
Arnaud Le Blanc
6aa70b577d
WS
2023-12-10 13:24:49 +01:00
Arnaud Le Blanc
b1516d95e0
Clarify the stack limit exception message
...
Make it clearer why the size is not exactly zend.max_allowed_stack_size
2023-12-10 13:20:21 +01:00
Arnaud Le Blanc
dad6912b99
Fix GH-12643: Stack limit tests failing on ppc64le
...
These tests were setting zend.max_allowed_stack_size to a small value. On ppc64le
this value is too small and the limit may be reached too soon.
2023-12-10 13:20:21 +01:00
David CARLIER
09838f17cb
zend_call_stack support proposal for solaris/illumos. ( #12862 )
2023-12-09 14:19:07 +00:00
Niels Dossche
bfb678a266
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Fix GH-12854: 8.3 - as final trait-used method does not correctly report visibility in Reflection
2023-12-05 21:49:42 +01:00
Niels Dossche
e679ab36b3
Fix GH-12854: 8.3 - as final trait-used method does not correctly report visibility in Reflection
...
Closes GH-12857.
2023-12-05 21:49:29 +01:00
Pierrick Charron
dc3641ea0f
PHP-8.2 is now for PHP 8.2.15-dev
2023-12-05 15:01:08 -05:00
Eric Mann
1fdf21fe84
PHP-8.3 is now for PHP 8.3.2-dev
2023-12-05 07:56:55 -08:00
Ilija Tovilo
016c3861d7
Fix asan false positive for mmap
...
For some reason, mmap regions which are repeatedly munmapped are not correctly
unpoisoned. See https://github.com/google/sanitizers/issues/1705 .
Fixes GH-12756
Closes GH-12848
2023-12-05 12:18:09 +01:00
Dmitry Stogov
8cc6b3576e
Fixed GH-12596: Segmentation fault on AArch64 release build with opcache.jit=1112 ( #12813 )
2023-12-05 12:04:00 +03:00
Niels Dossche
2af22ab786
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Fix GH-12826: Weird pointers issue in nested loops
Fix GH-12838: [SOAP] Temporary WSDL cache files not being deleted
2023-12-01 17:12:33 +01:00
Niels Dossche
b175ea4215
Fix GH-12826: Weird pointers issue in nested loops
...
This regressed in cd53ce838a
.
The loop with `zend_hash_iterators_update` hangs forever because
`iter_pos` can't advance to idx. This is because the
`zend_hash_iterators_lower_pos` upper bound is `target->nNumUsed`,
but that is set to `source->nNumOfElements`.
That means that if there are holes in the array, we still loop over all
the buckets but the number of bucket slots will not match.
Fix it by changing the assignment.
Closes GH-12831.
2023-12-01 17:12:18 +01:00
Ilija Tovilo
30acbba2ca
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Fix leak of call->extra_named_params on internal __call
2023-12-01 16:50:56 +01:00
Ilija Tovilo
b7a468cd06
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix leak of call->extra_named_params on internal __call
2023-12-01 16:50:49 +01:00
Ilija Tovilo
f203edd3c5
Fix leak of call->extra_named_params on internal __call
...
Fixes GH-12835
Closes GH-12836
2023-12-01 16:49:16 +01:00
Dmitry Stogov
77781f0cbc
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Fixed type inference
2023-12-01 17:09:53 +03:00
Dmitry Stogov
8c9b5996be
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fixed type inference
2023-12-01 17:09:09 +03:00
Dmitry Stogov
1e55c97601
Fixed type inference
...
Fixes oss-fuzz #64577 , #64579 , #64589
2023-12-01 17:08:16 +03:00
Niels Dossche
f283f50f1a
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Add missing NULL checks for spl autoload table
Add missing NULL pointer checks related to the previous call frame
2023-12-01 09:11:32 +01:00
Niels Dossche
0e69329bb0
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Add missing NULL checks for spl autoload table
Add missing NULL pointer checks related to the previous call frame
2023-12-01 09:09:58 +01:00