Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69265 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96948 invoked from network); 23 Sep 2013 09:03:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Sep 2013 09:03:51 -0000 Authentication-Results: pb1.pair.com smtp.mail=mike.php.net@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=mike.php.net@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.48 as permitted sender) X-PHP-List-Original-Sender: mike.php.net@gmail.com X-Host-Fingerprint: 209.85.215.48 mail-la0-f48.google.com Received: from [209.85.215.48] ([209.85.215.48:51210] helo=mail-la0-f48.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 36/00-30351-5F300425 for ; Mon, 23 Sep 2013 05:03:50 -0400 Received: by mail-la0-f48.google.com with SMTP id er20so2247317lab.35 for ; Mon, 23 Sep 2013 02:03:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Ku2zPK7da0j+mAuy6SWkKFQ7ZyVqq9rEGokOyaqBozo=; b=nJpOY/o55Ae2GmENZ/s20wuPuucQe5Yu9PrUFiWz38LLtS80s+gPcIG51XB8nc69lK WFlbi7WokfnPEhtLcH0Oin9+2zqtmZzWvhpdNjrigdWuMKxx7qxbc76nX/FRcH/3EhYR yuqIcEp48Gao+Tk5DvIuthlZft4JEQ873M1nCgNI+Yr8YcWxoe6u/nTL7hqqvKXRAnRz VmZQNufMhXaKaR3LCr2lVMod0DBQDvMNl6y9uG+s6DNICHHrsDtwe3v+BUYRKC7V1+si dAKn1VLuLjkiE7taW5+NRuU16kWeE3uL84YnhOD8sMP3L4hAj2nanQu/v1VbX0RzeN8t UV/A== MIME-Version: 1.0 X-Received: by 10.112.64.36 with SMTP id l4mr18821666lbs.15.1379927027122; Mon, 23 Sep 2013 02:03:47 -0700 (PDT) Sender: mike.php.net@gmail.com Received: by 10.114.184.19 with HTTP; Mon, 23 Sep 2013 02:03:47 -0700 (PDT) In-Reply-To: References: <523FFE44.8030107@lerdorf.com> Date: Mon, 23 Sep 2013 11:03:47 +0200 X-Google-Sender-Auth: 2ebdwvKXjsr68OVbd80WEMWvnkA Message-ID: To: Rasmus Lerdorf Cc: Joe Watkins , PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] RFC: Anonymous Classes From: mike@php.net (Michael Wallner) On 23 September 2013 11:00, Michael Wallner wrote: > On 23 September 2013 10:39, Rasmus Lerdorf wrote: >> On 09/22/2013 11:39 PM, Joe Watkins wrote: >>> https://wiki.php.net/rfc/anonymous_classes >>> >>> I'd like to hear thoughts regarding the addition of anonymous >>> classes, patch included. >> >> I am having a hard time picturing a real-world use-case for this. > > It is a widely used pattern in object oriented programming: ... where you code against interfaces (was supposed to follow that words :)) Sorry. -- Regards, Mike