Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57994 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6956 invoked from network); 24 Feb 2012 02:24:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Feb 2012 02:24:22 -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.42 as permitted sender) X-PHP-List-Original-Sender: samuel.deal@gmail.com X-Host-Fingerprint: 209.85.216.42 mail-qw0-f42.google.com Received: from [209.85.216.42] ([209.85.216.42:55111] helo=mail-qw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DA/F1-63445-1D4F64F4 for ; Thu, 23 Feb 2012 21:24:18 -0500 Received: by qady23 with SMTP id y23so57628qad.8 for ; Thu, 23 Feb 2012 18:24:14 -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 g25mr320251qcq.27.1330050254432 (num_hops = 1); Thu, 23 Feb 2012 18:24:14 -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:cc:content-type; bh=xIKJkNoXn/6KnZzn+krh38WjW8j2q5K/NCcYDqylv0k=; b=lbILuXZ11xan0B7cL0CIof41C0yl98NQuzhLnt//SUz35N6MpVY3l8lpWmk6P703DL J3n7Ew94nZ56+fBKAhkV7QRrwf2q2Mhk4sXVLZ/BAGTUnfLC7cIPFt0k2jeWOeYRUtBF xY/dQ9/Etc4aO1/6/JBXKEnNDfbuE/bYNpDZg= MIME-Version: 1.0 Received: by 10.229.115.25 with SMTP id g25mr266499qcq.27.1330050254296; Thu, 23 Feb 2012 18:24:14 -0800 (PST) Received: by 10.229.220.84 with HTTP; Thu, 23 Feb 2012 18:24:14 -0800 (PST) Date: Fri, 24 Feb 2012 03:24:14 +0100 Message-ID: To: =?UTF-8?B?w4FuZ2VsIEdvbnrDoWxleg==?= Cc: Kris Craig , John LeSueur , Stas Malyshev , Anthony Ferrara , Dmitri Snytkine , Sebastian Krebs , PHP internals list Content-Type: multipart/alternative; boundary=0022153fff2ef0d8d704b9ac7489 Subject: Re: [PHP-DEV] [RFC] Enum proposal : Without type hinting first ? From: samuel.deal@gmail.com (Samuel Deal) --0022153fff2ef0d8d704b9ac7489 Content-Type: text/plain; charset=UTF-8 Hi, Discussion disperses a way I didn't expect. As far as I know, next PHP release will be the 5.5, and would have a strong compatibility with 5.4. So strict typing would not happened for 5.5 release. If I understand correctly, at best, PHP 5.5 will have weak type hinting (like https://wiki.php.net/rfc/typecheckingstrictandweak#option_1_current_type_juggeling_rules_with_e_strict_on_data_loss ). So what do you think about having enum implementation in PHP 5.5 without type hiting ? Or with weak one if finally PHP 5.5 is released with weak type hinting ? Perhaps we shoulld discuss about what kind of type hinting we want for 5.5 and 6.0 in separated threads ? Regards -- Samuel DEAL samuel.deal@gmail.com --0022153fff2ef0d8d704b9ac7489--