php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #81423 UPGRADING doesn't mention that readonly becomes a reserved keyword
Submitted: 2021-09-07 16:34 UTC Modified: 2021-09-14 13:36 UTC
From: rh at tfli dot co dot uk Assigned:
Status: Closed Package: Documentation problem
PHP Version: 8.1.0RC1 OS: Windows 10 (64Bit)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rh at tfli dot co dot uk
New email:
PHP Version: OS:

 

 [2021-09-07 16:34 UTC] rh at tfli dot co dot uk
Description:
------------
(Sorry if this is 'too early' and will be addressed prior to release anyway)
At present, https://github.com/php/php-src/blob/php-8.1.0RC1/NEWS and https://github.com/php/php-src/blob/php-8.1.0RC1/UPGRADING mention the new 'readonly properties' feature under new features, but don't mention under 'Backward Incompatible Changes' that readonly can't be used as a class/function name/etc.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-09-07 20:41 UTC] dharman@php.net
-Summary: Crash in mysqlnd_fetch_stmt_row_cursor when calling an SP with a cursor +Summary: UPGRADING doesn't mention that readonly becomes a reserved keyword
 [2021-09-07 20:41 UTC] dharman@php.net
Thanks. There is a PR[1] to change this, so I think it's a good idea to wait with documenting the exact behaviour. The UPGRADING file can still be changed if it contains missing information. The documentation pages haven't been created yet to my knowledge. 

[1]: https://github.com/php/php-src/pull/7468
 [2021-09-14 13:36 UTC] cmb@php.net
FTR, the PR has been applied.
 [2021-12-02 16:17 UTC] git@php.net
Automatic comment on behalf of cmb69
Revision: https://github.com/php/doc-en/commit/a049ea0cfbd4bf2554f0a134d4f0696d3d419b9b
Log: Fix #81423: UPGRADING doesn't mention that readonly becomes a reserved keyword
 [2021-12-02 16:17 UTC] git@php.net
-Status: Open +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 12:01:28 2024 UTC