I have a project with PHP 7.3, under Windows 10. I use the PHP from Xampp.
I get the following error:
Fatal error: Uncaught Error: Class 'SplEnum' not found in [...]
for
class BanLevel extends SplEnum { ... } It seems I am misunderstanding the docu:
This gives me the idea it should be included in my PHP artefact.
What am I missing?
UPDATE: The class.splenum.php page has gone offline. It is still available in Romanian, though:
https://www.php.net/manual/ro/class.splenum.php, or here:
https://php-legacy-docs.zend.com/manual/php5/en/class.splenum