Skip to content

Commit 2231393

Browse files
committed
Add note to UPGRADING.INTERNALS about Attribute API changes
Signed-off-by: Bob Weinand <bobwei9@hotmail.com>
1 parent 8101337 commit 2231393

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

UPGRADING.INTERNALS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ PHP 8.2 INTERNALS UPGRADE NOTES
3939
- zend_object_do_operation_t
4040
* Added a new zero_position argument to php_stream_fopen_from_fd_rel to reflect
4141
if this a newly created file so the current file offset needs not to be checked.
42+
* zend_internal_attribute_register() no longer takes a flags argument nor
43+
registers the attribute class directly. Instead specify #[Attribute] with the
44+
appropriate target flags in the .stub.php file.
4245

4346
========================
4447
2. Build system changes

0 commit comments

Comments
 (0)