3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php enum { North = 1<<1, East = 1<<2, South = 1<<3, West = 1<<4, Northeast = North | East, Northwest = North | West, Southeast = South | East, Southwest = South | West }
Output for 5.3.0 - 5.4.17
Parse error: syntax error, unexpected '{' in /in/OlFLm on line 3
Process exited with code 255.