From 9a48058f33650a3a9a1b6d654e2c9b8c41b9f4e5 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Tue, 1 Aug 2023 04:37:13 +0200 Subject: [PATCH] [ci skip] PHP 8.3 Upgrading: move two entries to the right section These were both listed under "Backward Incompatible Changes", while, as far as I can see, these are "New Features". --- UPGRADING | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/UPGRADING b/UPGRADING index 79edf41a959e8..7a9113a74f135 100644 --- a/UPGRADING +++ b/UPGRADING @@ -24,8 +24,6 @@ PHP 8.3 UPGRADE NOTES Error when using more than `zend.max_allowed_stack_size-zend.reserved_stack_size` bytes of stack (`fiber.stack_size-zend.reserved_stack_size` for fibers). - . Class constants can now be accessed dynamically using the C::{$name} syntax. - RFC: https://wiki.php.net/rfc/dynamic_class_constant_fetch . Executing proc_get_status() multiple times will now always return the right value on posix systems. Previously, only the first call of the function returned the right value. Executing proc_close() after proc_get_status() will @@ -41,8 +39,6 @@ PHP 8.3 UPGRADE NOTES property to the class directly without traits. . Assigning a negative index n to an empty array will now make sure that the next index is n+1 instead of 0. - . Static variable initializers can now contain arbitrary expressions. - RFC: https://wiki.php.net/rfc/arbitrary_static_variable_initializers . Class constant visibility variance is now correctly checked when inherited from interfaces. . WeakMaps entries whose key maps to itself (possibly transitively) may now be @@ -95,6 +91,10 @@ PHP 8.3 UPGRADE NOTES . Added the #[\Override] attribute to check that a method exists in a parent class or implemented interface. RFC: https://wiki.php.net/rfc/marking_overriden_methods + . Class constants can now be accessed dynamically using the C::{$name} syntax. + RFC: https://wiki.php.net/rfc/dynamic_class_constant_fetch + . Static variable initializers can now contain arbitrary expressions. + RFC: https://wiki.php.net/rfc/arbitrary_static_variable_initializers - CLI . It is now possible to lint multiple files.