rfc:locked-classes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
rfc:locked-classes [2019/03/10 18:29] – imsop | rfc:locked-classes [2019/03/11 11:03] – Fix formatting in reflection section nikic | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Date: 2019-03-10 | * Date: 2019-03-10 | ||
* Author: Rowan Collins [IMSoP], rowan.collins@gmail.com | * Author: Rowan Collins [IMSoP], rowan.collins@gmail.com | ||
- | * Status: | + | * Status: |
* First Published at: http:// | * First Published at: http:// | ||
Line 13: | Line 13: | ||
Changing this behaviour for all objects would be a significant change to the language, with the potential to break a large amount of existing code. However, code written with no intention of using this dynamic behaviour would benefit from a way to switch it off. | Changing this behaviour for all objects would be a significant change to the language, with the potential to break a large amount of existing code. However, code written with no intention of using this dynamic behaviour would benefit from a way to switch it off. | ||
+ | |||
+ | While this can be achieved through strategic use of the '' | ||
===== Proposal ===== | ===== Proposal ===== | ||
Line 90: | Line 92: | ||
The following additions will be made to expose the new flag via reflection: | The following additions will be made to expose the new flag via reflection: | ||
- | * New constant ReflectionClass:: | + | |
- | * The return value of ReflectionClass:: | + | * The return value of ReflectionClass:: |
- | * Reflection:: | + | * Reflection:: |
- | * A new ReflectionClass:: | + | * A new ReflectionClass:: |
===== Unaffected PHP Functionality ===== | ===== Unaffected PHP Functionality ===== |
rfc/locked-classes.txt · Last modified: 2019/06/04 18:56 by imsop