Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57928 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10905 invoked from network); 22 Feb 2012 04:45:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Feb 2012 04:45:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=samuel.deal@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=samuel.deal@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.49 as permitted sender) X-PHP-List-Original-Sender: samuel.deal@gmail.com X-Host-Fingerprint: 209.85.216.49 mail-qw0-f49.google.com Received: from [209.85.216.49] ([209.85.216.49:54592] helo=mail-qw0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 15/B4-48952-0F2744F4 for ; Tue, 21 Feb 2012 23:45:37 -0500 Received: by qadc14 with SMTP id c14so9084726qad.8 for ; Tue, 21 Feb 2012 20:45:33 -0800 (PST) Received-SPF: pass (google.com: domain of samuel.deal@gmail.com designates 10.229.115.25 as permitted sender) client-ip=10.229.115.25; Authentication-Results: mr.google.com; spf=pass (google.com: domain of samuel.deal@gmail.com designates 10.229.115.25 as permitted sender) smtp.mail=samuel.deal@gmail.com; dkim=pass header.i=samuel.deal@gmail.com Received: from mr.google.com ([10.229.115.25]) by 10.229.115.25 with SMTP id g25mr21723465qcq.27.1329885933632 (num_hops = 1); Tue, 21 Feb 2012 20:45:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=XuNWAPfXTUIoTXyjvOjmGVxkFORCRkc5+vq7+XBvrq8=; b=s1K6hb29U11LtS+U/CG2OHm6wYbQ33ClLB5x5CwevX11aT3+hLNqioTeiz7WipI3Wo 4vbWxMAAMfeUqzIHU0enodhgl9UKw6dtfckwn5XetcrFiP8ijeAvBEk8eqb6NtoniXgo LmQf+IRc5wA9AEIZqFIrAV4elcDQ4yoI5ennk= MIME-Version: 1.0 Received: by 10.229.115.25 with SMTP id g25mr18356340qcq.27.1329885932943; Tue, 21 Feb 2012 20:45:32 -0800 (PST) Received: by 10.229.220.84 with HTTP; Tue, 21 Feb 2012 20:45:32 -0800 (PST) Date: Wed, 22 Feb 2012 05:45:32 +0100 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary=0022153fff2e9ffa2504b986320b Subject: [PHP-DEV] [RFC] Enum proposal (yet another) From: samuel.deal@gmail.com (Samuel Deal) --0022153fff2e9ffa2504b986320b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 --=20 Samuel D=C3=A9al samuel.deal@gmail.com --0022153fff2e9ffa2504b986320b--