var_export()
Closed this issue · 2 comments
Crell commented
Right now, it produces a __set_state
-based output that populates a class. That's almost certainly wrong.
Instead, probably just produce the FQCN of the case so that = works correctly.
iluuu1994 commented
Good point. I'm not super-familiar with var_export
but I'll look into it. We might just auto-implement __set_state
and return the given constant. Edit Or probably better yet just drop the __set_state
call.
iluuu1994 commented
This is now handled correctly.