Skip to content

Commit e0bee2c

Browse files
authored
[ci skip] PHP 8.3 Upgrading: move two entries to the right section (#11846)
These were both listed under "Backward Incompatible Changes", while, as far as I can see, these are "New Features". Co-authored-by: jrfnl <[email protected]>
1 parent a95316f commit e0bee2c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

UPGRADING

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ PHP 8.3 UPGRADE NOTES
2424
Error when using more than
2525
`zend.max_allowed_stack_size-zend.reserved_stack_size` bytes of stack
2626
(`fiber.stack_size-zend.reserved_stack_size` for fibers).
27-
. Class constants can now be accessed dynamically using the C::{$name} syntax.
28-
RFC: https://wiki.php.net/rfc/dynamic_class_constant_fetch
2927
. Executing proc_get_status() multiple times will now always return the right
3028
value on posix systems. Previously, only the first call of the function
3129
returned the right value. Executing proc_close() after proc_get_status() will
@@ -41,8 +39,6 @@ PHP 8.3 UPGRADE NOTES
4139
property to the class directly without traits.
4240
. Assigning a negative index n to an empty array will now make sure that the
4341
next index is n+1 instead of 0.
44-
. Static variable initializers can now contain arbitrary expressions.
45-
RFC: https://wiki.php.net/rfc/arbitrary_static_variable_initializers
4642
. Class constant visibility variance is now correctly checked when inherited
4743
from interfaces.
4844
. WeakMaps entries whose key maps to itself (possibly transitively) may now be
@@ -95,6 +91,10 @@ PHP 8.3 UPGRADE NOTES
9591
. Added the #[\Override] attribute to check that a method exists
9692
in a parent class or implemented interface.
9793
RFC: https://wiki.php.net/rfc/marking_overriden_methods
94+
. Class constants can now be accessed dynamically using the C::{$name} syntax.
95+
RFC: https://wiki.php.net/rfc/dynamic_class_constant_fetch
96+
. Static variable initializers can now contain arbitrary expressions.
97+
RFC: https://wiki.php.net/rfc/arbitrary_static_variable_initializers
9898

9999
- CLI
100100
. It is now possible to lint multiple files.

0 commit comments

Comments
 (0)