[php-src] Issue #8003: Undocumented change: order of returned parameters in get_object_vars() differs from previous versions
| From: | pospjan | Date: | Wed, 26 Jan 2022 17:09:09 +0000 |
| Subject: | [php-src] Issue #8003: Undocumented change: order of returned parameters in get_object_vars() differs from previous versions | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-239308@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8003
Comment Author: pospjan
@iluuu1994 @beephotography maybe it's cover here https://www.php.net/manual/en/migration81.other-changes.php#migration81.other-changes.functions.core
_The order of properties used in foreach, var_dump(), serialize(), object comparison, etc. was
changed. Properties are now ordered naturally according to their declaration and inheritance.
Properties declared in a base class are going to be before the child properties._