Add enum support for internal api
Add enum support for internal api

jphp-compiler/jphp,jphp-compiler/jphp,livingvirus/jphp,livingvirus/jphp,jphp-compiler/jphp,livingvirus/jphp,livingvirus/jphp,jphp-compiler/jphp,livingvirus/jphp