Re: [RFC] Enum proposal (yet another)

From: Date: Wed, 22 Feb 2012 08:50:33 +0000
Subject: Re: [RFC] Enum proposal (yet another)
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-57939@lists.php.net to get a copy of this message
What about SplEnum? (http://php.net/splenum) It's part of the SPL types extension, but it could probably be also moved to core. Nikita On Wed, Feb 22, 2012 at 5:45 AM, Samuel Deal <samuel.deal@gmail.com> wrote: > Hi all, > > I really missed enums in PHP, > So after reading I tryed to synthetise the various views. > > You can find a draft here : > https://github.com/SamNrique/php-src/wiki/RFC-draft > (I can't write on the wiki, and perhaps it's better to finish the > discussion first) > > There's an implementation with this draft. > I'd love to have feedbacks because it's my first php-core hack. > > Thanks > -- > Samuel Déal > samuel.deal@gmail.com

« previous php.internals (#57939) next »