- Output for 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
- Output for 8.1.0 - 8.1.28
- Fatal error: Enum case type int does not match enum backing type string in /in/VlZAK on line 6
Process exited with code 255.
<?php
enum Suit: string
{
case Hearts = 'H';
case Diamonds = 1;
case Clubs = 'C';
case Spades = 'S';
}