diff options
author | Dmitry Stogov <dmitry@zend.com> | 2021-03-01 13:42:34 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2021-03-01 13:42:34 +0300 |
commit | c9a9362c78e866919630f1d78303848fba35bd0a (patch) | |
tree | 42a31a828b0fd6e9265bd20badb26196e22fe79a /UPGRADING | |
parent | 72c3ededed45fc8f2ce6f98d11f82adedc5e9763 (diff) | |
download | php-git-c9a9362c78e866919630f1d78303848fba35bd0a.tar.gz |
Added UPGRADING note.
Diffstat (limited to 'UPGRADING')
-rw-r--r-- | UPGRADING | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -211,6 +211,15 @@ PHP 8.1 UPGRADE NOTES 5. Changed Functions ======================================== +- Core: + . Properties order used in foreach, var_dump(), serialize(), object comparison + etc. was changed. Now properties are naturally ordered according to their + declaration and inheritance. Prpoerties declared in a base class are going + to be before the child properties. This order is consistent with internal + layout of properies in zend_objct structure and repeats the order in + default_properties_table[] and properties_info_table[]. The old order was + not documented and was caused by class inheritance implementation details. + - Filter: . The FILTER_FLAG_ALLOW_OCTAL flag of the FILTER_VALIDATE_INT filter now accept octal string with the leading octal prefix ("0o"/"0O") |