- Output for 8.1.0 - 8.1.9
- enum(App\Localization\Locale::ru)
NULL
enum(App\Localization\Locale::en)
Fatal error: Uncaught ValueError: "es" is not a valid name for enum "App\Localization\Locale" in /in/EgBB1:24
Stack trace:
#0 /in/EgBB1(35): App\Localization\Locale::fromName('es')
#1 {main}
thrown in /in/EgBB1 on line 24
Process exited with code 255. - Output for 8.0.1 - 8.0.22
- Parse error: syntax error, unexpected identifier "Locale" in /in/EgBB1 on line 5
Process exited with code 255. - Output for 7.4.0 - 7.4.30
- Parse error: syntax error, unexpected 'Locale' (T_STRING) in /in/EgBB1 on line 5
Process exited with code 255.