Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58319 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45961 invoked from network); 29 Feb 2012 03:42:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Feb 2012 03:42:10 -0000 Authentication-Results: pb1.pair.com header.from=kris.craig@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=kris.craig@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.170 as permitted sender) X-PHP-List-Original-Sender: kris.craig@gmail.com X-Host-Fingerprint: 209.85.212.170 mail-wi0-f170.google.com Received: from [209.85.212.170] ([209.85.212.170:64718] helo=mail-wi0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1D/F6-36673-19E9D4F4 for ; Tue, 28 Feb 2012 22:42:09 -0500 Received: by wibhj13 with SMTP id hj13so376403wib.29 for ; Tue, 28 Feb 2012 19:42:06 -0800 (PST) Received-SPF: pass (google.com: domain of kris.craig@gmail.com designates 10.216.132.32 as permitted sender) client-ip=10.216.132.32; Authentication-Results: mr.google.com; spf=pass (google.com: domain of kris.craig@gmail.com designates 10.216.132.32 as permitted sender) smtp.mail=kris.craig@gmail.com; dkim=pass header.i=kris.craig@gmail.com Received: from mr.google.com ([10.216.132.32]) by 10.216.132.32 with SMTP id n32mr11318321wei.12.1330486926615 (num_hops = 1); Tue, 28 Feb 2012 19:42:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7MvPtYJHEc1HXAV8PilTvB6cCM8xVPKGX/FvKfPR0rk=; b=vreyJIlEf9dq0ufOD34Re5MoAa9s86vUuchFHnMLExYyM9mA9JwrJmWifJCwDYU3Ll vYDGOHD2YKLcUloANtvYh71OqF8K2IwEc1cjQ7yaGgI+NNCsqxSyDxBNNYBSmH4fTFGH AuLDH2Y1Lto/mSPRZDOi32kTXedVFmUunP0hk= MIME-Version: 1.0 Received: by 10.216.132.32 with SMTP id n32mr9005842wei.12.1330486926463; Tue, 28 Feb 2012 19:42:06 -0800 (PST) Received: by 10.223.75.146 with HTTP; Tue, 28 Feb 2012 19:42:06 -0800 (PST) In-Reply-To: References: Date: Tue, 28 Feb 2012 19:42:06 -0800 Message-ID: To: Anthony Ferrara Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=0016e6d7ef29a1521504ba1220d3 Subject: Re: [PHP-DEV] [Draft RFC] Object Casting and Assignment Handlers From: kris.craig@gmail.com (Kris Craig) --0016e6d7ef29a1521504ba1220d3 Content-Type: text/plain; charset=ISO-8859-1 Agreed. Discussion about type hinting/etc should remain on the other topics. Regarding this proposal, I need to look over it in more detail as I've only just skimmed it. But on a conceptual level at least, I think it definitely has merit. --Kris On Tue, Feb 28, 2012 at 6:40 PM, Anthony Ferrara wrote: > Hey all, > > I've created a draft version of the RFC for implementing __castTo() > and __assign(): > > https://wiki.php.net/rfc/object_cast_magic > > It's still a draft, and has a lot more work to do, but I figured this > would be enough to start triggering some discussion (or at least a > little bit more focused discussion). > > > > One plea: Please keep this thread on-topic discussing the RFC and its > implications... > > Thanks! > > Anthony > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --0016e6d7ef29a1521504ba1220d3--