Currently SPLTypes do not support adding properties to any classes extending them.
A segmentation fault will be thrown.
Currently SPLTypes do not support adding properties to any classes extending them.
A segmentation fault will be thrown.
This PECL is mostly abandoned, but in case you want to use SplEnum, there's a PHP 7 rewrite available for installation at https://github.com/igorsantos07/SPL_Types