#
1acd7a09 |
| 17-Apr-2024 |
Ilija Tovilo |
Add missing COMPILE_IGNORE_OTHER_FILES check for static calls Closes GH-13986
|
#
08b2ab22 |
| 12-Apr-2024 |
Tim Düsterhus |
Include the source location in Closure names (#13550) * Include the source location in Closure names This change makes stack traces involving Closures, especially multiple diffe
Include the source location in Closure names (#13550) * Include the source location in Closure names This change makes stack traces involving Closures, especially multiple different Closures, much more useful, because it's more easily visible *which* closure was called for a given stack frame. The implementation is similar to that of anonymous classes which already include the file name and line number within their generated classname. * Update scripts/dev/bless_tests.php for closure naming * Adjust existing tests for closure naming * Adjust tests for closure naming that were not caught locally * Drop the namespace from closure names This is redundant with the included filename. * Include filename and line number as separate keys in Closure debug info * Fix test * Fix test * Include the surrounding class and function name in closure names * Fix test * Relax test expecations * Fix tests after merge * NEWS / UPGRADING
show more ...
|
#
2079da01 |
| 08-Apr-2024 |
Máté Kocsis |
Fix #13865 Improve parameter and return value related deprecation messages (#13913) I added the function/method name to some compile-time deprecation messages which are related to parameters
Fix #13865 Improve parameter and return value related deprecation messages (#13913) I added the function/method name to some compile-time deprecation messages which are related to parameters/return values. Consistently with the other similar error messages, I included the function/method name at the start of the message.
show more ...
|
#
330cc5cd |
| 13-Mar-2024 |
Máté Kocsis |
Deprecate implicit nullable parameter types (#12959) RFC: https://wiki.php.net/rfc/deprecate-implicitly-nullable-types Co-authored-by: Gina Peter Banyard <girgias@php.net>
|
#
980f7bd2 |
| 07-Mar-2024 |
Ilija Tovilo |
Implement INIT_FCALL offset optimization Closes GH-13634
|
#
f2e199e8 |
| 25-Feb-2024 |
Máté Kocsis |
Implement "support doc comments for internal classes and functions" (#13266) Fixes #13130
|
#
18cdfd3f |
| 07-Feb-2024 |
Ilija Tovilo |
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.
|
#
631bc816 |
| 06-Feb-2024 |
Ilija Tovilo |
Implement stackless internal function calls Co-authored-by: Dmitry Stogov <dmitry@zend.com> Closes GH-12461
|
#
fe064d7f |
| 19-Jan-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-13142: Undefined variable name is shortened when contains \0 Uses the new %S formatter and introduces the necessary changes and helpers.
|
#
ffc250d2 |
| 09-Jan-2024 |
Ilija Tovilo |
Add runtime type inference verification Co-authored-by: Dmitry Stogov <dmitry@zend.com> Closes GH-12930
|
#
d84ed03a |
| 13-Jan-2024 |
Máté Kocsis |
Improve error messages related to void/never return types of methods
|
#
012ec21d |
| 24-Dec-2023 |
Máté Kocsis |
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
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.
show more ...
|
#
6aa70b57 |
| 10-Dec-2023 |
Arnaud Le Blanc |
WS
|
#
b1516d95 |
| 11-Nov-2023 |
Arnaud Le Blanc |
Clarify the stack limit exception message Make it clearer why the size is not exactly zend.max_allowed_stack_size
|
#
4ba56999 |
| 02-Oct-2023 |
Ilija Tovilo |
Fix invalid returned opcode for memoized expressions Closes GH-12345
|
#
011071a3 |
| 11-Sep-2023 |
Ilija Tovilo |
Improve invalid cpp modifier message The ZEND_MODIFIER_TARGET_CPP should really have been called _PARAM, but we shouldn't break API at this point. Fixes GH-12069 Closes GH-1
Improve invalid cpp modifier message The ZEND_MODIFIER_TARGET_CPP should really have been called _PARAM, but we shouldn't break API at this point. Fixes GH-12069 Closes GH-12175
show more ...
|
#
748adf18 |
| 06-Sep-2023 |
Ilija Tovilo |
Fix zend_separate_if_call_and_write for FUNC_ARGs Fixes GH-12102 Closees GH-12140
|
#
782ffd76 |
| 22-Aug-2023 |
Cristian Rodríguez |
Use a single version of strnlen (#12015) * Zend: Make zend_strnlen available for use outside zend_compile * exif: remove local php_strnlen, use zend_strnlen instead * main
Use a single version of strnlen (#12015) * Zend: Make zend_strnlen available for use outside zend_compile * exif: remove local php_strnlen, use zend_strnlen instead * main: remove local strnlen, use zend_strnlen instead * phar: remove local strnlen, use zend_strnlen
show more ...
|
#
7f1c3bf0 |
| 18-Aug-2023 |
ju1ius |
Adds support for DNF types in internal functions and properties (#11969) Note that this does not add support for items generated by gen_stubs, only for items registered dynamically via
Adds support for DNF types in internal functions and properties (#11969) Note that this does not add support for items generated by gen_stubs, only for items registered dynamically via the Zend API. Closes GH-10120
show more ...
|
#
dd01c74a |
| 17-Aug-2023 |
Ilija Tovilo |
Remove redundant condition Never refactor code just before pushing
|
#
f78d1d0d |
| 12-Aug-2023 |
Ilija Tovilo |
Fix segfault in format_default_value due to unexpected enum/object Evaluating constants at comptime can result in arrays that contain objects. This is problematic for printing the defaul
Fix segfault in format_default_value due to unexpected enum/object Evaluating constants at comptime can result in arrays that contain objects. This is problematic for printing the default value of constant ASTs containing objects, because we don't actually know what the constructor arguments were. Avoid this by not propagating array constants. Fixes GH-11937 Closes GH-11947
show more ...
|
#
db4dba67 |
| 09-Aug-2023 |
Ilija Tovilo |
Move opnum_start for goto for clarification (#11911) opnum_start denotes the start of the ZEND_FREE block of skipped consuming opcodes. Storing the number before zend_compile_expr(..., l
Move opnum_start for goto for clarification (#11911) opnum_start denotes the start of the ZEND_FREE block of skipped consuming opcodes. Storing the number before zend_compile_expr(..., label_ast) makes it seem like it denotes the start of the label block. However, label_ast must only be a zval string AST, and as such never results in an actual opcode.
show more ...
|
#
1057cce1 |
| 04-Jul-2023 |
Ilija Tovilo |
Always memoize calls in lhs of coalesce assignment We don't want to invoke calls twice, even if they are considered "variables", i.e. might be writable if returning a reference. Function
Always memoize calls in lhs of coalesce assignment We don't want to invoke calls twice, even if they are considered "variables", i.e. might be writable if returning a reference. Function calls behave the same in all BP contexts so they don't need to be invoked twice. The singular exception to this is nullsafe coalesce in isset/empty, because it needs to return false/true respectively when short-circuited. However, since nullsafe calls are not allwed in write context we may ignore this problem. Closes GH-11592
show more ...
|
#
3e2dbbf9 |
| 07-Jul-2023 |
George Peter Banyard |
Add support for deprecating class constants
|
#
b1b7c61a |
| 12-Jul-2023 |
Ilija Tovilo |
Always memoize assert Closes GH-11686
|