runtime conversion of enum type to PhpValue
runtime conversion of enum type to PhpValue

ref https://github.com/peachpiecompiler/peachpie/pull/845#issuecomment-688433177

iolevel/peachpie-concept,iolevel/peachpie-concept,peachpiecompiler/peachpie,peachpiecompiler/peachpie,iolevel/peachpie-concept,peachpiecompiler/peachpie