3v4l.org

run code in 300+ PHP versions simultaneously
<?php enum { North = 1<<1, East = 1<<2, South = 1<<3, West = 1<<1, Northeast = North | East, Northwest = North | West, Southeast = South | East, Southwest = South | West }
Output for 5.3.0 - 5.3.27, 5.4.0 - 5.4.17
Parse error: syntax error, unexpected '{' in /in/8uhe9 on line 3
Process exited with code 255.

preferences:
186.63 ms | 1395 KiB | 53 Q