3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?hh enum Sara: int { Drunk = 1; High = 2; Normal = 3; }
based on 8QQpF
Output for hhvm-3.10.0 - 3.12.0
Output for 5.4.0 - 5.4.32
<?hh enum Sara: int { Drunk = 1; High = 2; Normal = 3; }