rfc:remove_disable_classes
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
rfc:remove_disable_classes [2023/09/29 18:25] – created girgias | rfc:remove_disable_classes [2025/04/03 13:08] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 10: | Line 10: | ||
===== Introduction ===== | ===== Introduction ===== | ||
- | The '' | + | The '' |
Only internal classes can be disabled, which brings the following observation. | Only internal classes can be disabled, which brings the following observation. | ||
Line 21: | Line 21: | ||
And " | And " | ||
- | If a hosting | + | If a hosting |
Considering the above, the usefulness of this feature has always been dubious. | Considering the above, the usefulness of this feature has always been dubious. | ||
Line 29: | Line 29: | ||
What makes this setting particularly broken is that it does not unregister the class, it only overwrites the create CE handler to emit a warning and purge the properties and function hash tables. | What makes this setting particularly broken is that it does not unregister the class, it only overwrites the create CE handler to emit a warning and purge the properties and function hash tables. | ||
This leads to various use after free, segfaults, and broken expectations for the engine and extensions which define said classes. | This leads to various use after free, segfaults, and broken expectations for the engine and extensions which define said classes. | ||
- | On top of that, it is possible to actually instantiate such a class (and even classes which actually disallow this like '' | + | On top of that, it is possible to actually instantiate such a class (and even classes which actually disallow this like '' |
However, when trying to do anything with said object, stuff is going to explode in countless ways. | However, when trying to do anything with said object, stuff is going to explode in countless ways. | ||
rfc/remove_disable_classes.1696011912.txt.gz · Last modified: 2025/04/03 13:08 (external edit)