Hi everyone
> Marco Pivetta created a PR that adds leading backslash to all class or
> enum names of var_export. Adding a backslash will make the code work
> both inside or outside namespaces.
> https://github.com/php/php-src/pull/8233
>
> To avoid disruption, I'm proposing to merge this into PHP
> On Mar 31, 2022, at 11:03, Christoph M. Becker wrote:
>
> On 31.03.2022 at 17:45, Ilija Tovilo wrote:
>
>> We've had two bug reports for var_export not working for enums. The
>> reason for that is that var_export does not add a leading backslash to
>> names of enums. This will cause them to
On 31.03.2022 at 17:45, Ilija Tovilo wrote:
> We've had two bug reports for var_export not working for enums. The
> reason for that is that var_export does not add a leading backslash to
> names of enums. This will cause them to be resolved as
> `\CurrentNamespace\EnumNamespace\EnumName` instead o