| Q | A | ---------------- | ----- | Bug report? | yes | Feature request? | no | BC Break report? | no | Symfony version | 3.2.6 Trying to serialize a Anonymous Class with the `symfony/serializer` results in an Exception due to naming of the `$key` that `get_class($object)` returns in https://github.com/symfony/symfony/blob/master/src/Symfony/Component/PropertyAccess/PropertyAccessor.php#L436