Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58318 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42766 invoked from network); 29 Feb 2012 02:40:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Feb 2012 02:40:05 -0000 Authentication-Results: pb1.pair.com header.from=ircmaxell@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ircmaxell@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.170 as permitted sender) X-PHP-List-Original-Sender: ircmaxell@gmail.com X-Host-Fingerprint: 209.85.216.170 mail-qy0-f170.google.com Received: from [209.85.216.170] ([209.85.216.170:42209] helo=mail-qy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5E/56-36673-3009D4F4 for ; Tue, 28 Feb 2012 21:40:04 -0500 Received: by qcmt36 with SMTP id t36so1637038qcm.29 for ; Tue, 28 Feb 2012 18:40:01 -0800 (PST) Received-SPF: pass (google.com: domain of ircmaxell@gmail.com designates 10.224.72.138 as permitted sender) client-ip=10.224.72.138; Authentication-Results: mr.google.com; spf=pass (google.com: domain of ircmaxell@gmail.com designates 10.224.72.138 as permitted sender) smtp.mail=ircmaxell@gmail.com; dkim=pass header.i=ircmaxell@gmail.com Received: from mr.google.com ([10.224.72.138]) by 10.224.72.138 with SMTP id m10mr128286qaj.95.1330483201527 (num_hops = 1); Tue, 28 Feb 2012 18:40:01 -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=cM83FgNS5b8MP8svEHrL8eVFCj5Tn2YGu6Jm0gWVwEw=; b=riRLzN/EOqhBS74a+S6Rns0nkbfPvtM1mlbQ4Iz2KOsAqm+pGUGjzduwfGN4g2QVa/ El6XNwVE4ZRQ4AfqCTcamHekIGDnuH60mxzE6hFoMyKLHnYqFxRhl24rqsDC1+VnxGqw L6zVRT0IwL1iMZP+Q/Im8EkTqfHlvQeRvFG/w= MIME-Version: 1.0 Received: by 10.224.72.138 with SMTP id m10mr107052qaj.95.1330483201420; Tue, 28 Feb 2012 18:40:01 -0800 (PST) Received: by 10.229.166.202 with HTTP; Tue, 28 Feb 2012 18:40:01 -0800 (PST) Date: Tue, 28 Feb 2012 21:40:01 -0500 Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: [Draft RFC] Object Casting and Assignment Handlers From: ircmaxell@gmail.com (Anthony Ferrara) 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