File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -211,6 +211,15 @@ PHP 8.1 UPGRADE NOTES
211
211
5. Changed Functions
212
212
========================================
213
213
214
+ - Core:
215
+ . Properties order used in foreach, var_dump(), serialize(), object comparison
216
+ etc. was changed. Now properties are naturally ordered according to their
217
+ declaration and inheritance. Prpoerties declared in a base class are going
218
+ to be before the child properties. This order is consistent with internal
219
+ layout of properies in zend_objct structure and repeats the order in
220
+ default_properties_table[] and properties_info_table[]. The old order was
221
+ not documented and was caused by class inheritance implementation details.
222
+
214
223
- Filter:
215
224
. The FILTER_FLAG_ALLOW_OCTAL flag of the FILTER_VALIDATE_INT filter now accept
216
225
octal string with the leading octal prefix ("0o"/"0O")
You can’t perform that action at this time.
0 commit comments