### Symfony version(s) affected 6.1 ### Description As described in #46840, VarExporter doesn't seem to handle readonly properties correctly. ### How to reproduce [See https://github.com/symfony/symfony/pull/46840#issuecomment-1173854345](https://github.com/symfony/symfony/pull/46840#issuecomment-1173854345) ### Possible Solution _No response_ ### Additional Context _No response_