Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75177 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2581 invoked from network); 2 Jul 2014 20:46:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Jul 2014 20:46:28 -0000 Authentication-Results: pb1.pair.com header.from=sebastian@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=sebastian@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 93.190.64.238 as permitted sender) X-PHP-List-Original-Sender: sebastian@php.net X-Host-Fingerprint: 93.190.64.238 mail-2.de-punkt.de Received: from [93.190.64.238] ([93.190.64.238:49248] helo=mail-2.de-punkt.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6B/9A-47713-2AF64B35 for ; Wed, 02 Jul 2014 16:46:28 -0400 Received: from localhost (localhost [127.0.0.1]) by mail-2.de-punkt.de (Postfix) with ESMTP id 006FA3A343 for ; Wed, 2 Jul 2014 22:46:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail-2.de-punkt.de Received: from mail-2.de-punkt.de ([127.0.0.1]) by localhost (mail-2.de-punkt.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p3xQvVtMDxsW for ; Wed, 2 Jul 2014 22:46:23 +0200 (CEST) Received: from [192.168.178.24] (p57BDE8FE.dip0.t-ipconnect.de [87.189.232.254]) (Authenticated sender: php@sebastian-bergmann.de) by mail-2.de-punkt.de (Postfix) with ESMTPSA id A10503A30D for ; Wed, 2 Jul 2014 22:46:23 +0200 (CEST) Message-ID: <53B46FA0.1080704@php.net> Date: Wed, 02 Jul 2014 22:46:24 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: internals@lists.php.net References: <53AEC4F0.8040307@php.net> <53AF0F14.5030703@gmail.com> In-Reply-To: <53AF0F14.5030703@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Revisiting Anonymous Classes From: sebastian@php.net (Sebastian Bergmann) Am 28.06.2014 20:53, schrieb Rowan Collins: > Apart from a possibly new use case (although the wiki page does list "it > would also definitely be very useful for mocking in tests" among the "Use > Cases from the Community"), how is this proposal different from the one > which was rejected less than a year ago? I probably missed the use case back then :) I like the syntax I proposed better (including the limitation regarding extending classes and implementing interfaces) which is more similar to that of other languages. > For that matter, has there ever been discussion of a > "statute on limitations" (time of other conditions for reopening > discussion) for re-proposing previously rejected features? Interesting question (that IMHO should be the topic of a separate thread / RFC).