marc-mabe / php-enum

Simple and fast implementation of enumerations with native PHP
BSD 3-Clause "New" or "Revised" License
464 stars 36 forks source link

Infinitive loop on counting an empty set based on an empty enumeration #60

Closed ghost closed 8 years ago

ghost commented 8 years ago

If you have an empty enumeration (no constants), make a set of it and try to count it the following will happen: