Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75130 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13269 invoked from network); 29 Jun 2014 09:36:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Jun 2014 09:36:52 -0000 Authentication-Results: pb1.pair.com header.from=cryptocompress@googlemail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=cryptocompress@googlemail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 74.125.82.175 as permitted sender) X-PHP-List-Original-Sender: cryptocompress@googlemail.com X-Host-Fingerprint: 74.125.82.175 mail-we0-f175.google.com Received: from [74.125.82.175] ([74.125.82.175:57702] helo=mail-we0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2C/81-27136-33EDFA35 for ; Sun, 29 Jun 2014 05:36:52 -0400 Received: by mail-we0-f175.google.com with SMTP id k48so6929671wev.6 for ; Sun, 29 Jun 2014 02:36:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=c70Du4AeNN8/+fzHkmiCjjfiiuyoMyxaQPYeJFVKvck=; b=mT7lSp4CkXtUkW9wla189t9kUQrkqd7bGCOBHyGcEp3xocs4CzKIrp+f8M1PgKtGHT v45MsAFghk0KpW1ukEufzRg5GYQJ5zFdSL/UfnuDfVGl8evVYMrERJNyBu+5asBfHo5z oG/L0f59+3U8PspGa7J2/q+vPX4TKQ8YM+BNBoTL15j4ep6dp9k775U7di4yP+yRIcpo Oy7I5SyO3kjuZwfqcFcV+gAtQY4CBjVAgiYGRdXqvPUKwenItqnp7x6feoGAvxfUi48+ srr0bYr3eZXxCXQdLdYecffaA9YFaCaCuniaRC7Qr5XuZNfqJ1Mctd+bfeET1lxnsIZt ZVUA== X-Received: by 10.180.184.36 with SMTP id er4mr21926640wic.37.1404034609171; Sun, 29 Jun 2014 02:36:49 -0700 (PDT) Received: from [192.168.1.115] (mnch-5d86e5fd.pool.mediaWays.net. [93.134.229.253]) by mx.google.com with ESMTPSA id ez8sm17678537wib.12.2014.06.29.02.36.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 29 Jun 2014 02:36:48 -0700 (PDT) Message-ID: <53AFDE2C.2040104@googlemail.com> Date: Sun, 29 Jun 2014 11:36:44 +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: PHP Developers Mailing List CC: Sebastian Bergmann , Rowan Collins References: <53AEC4F0.8040307@php.net> In-Reply-To: <53AEC4F0.8040307@php.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Revisiting Anonymous Classes From: cryptocompress@googlemail.com (Crypto Compress) Hi, Am 28.06.2014 15:36, schrieb Sebastian Bergmann: > An anonymous class can extend one class or implement one interface. > Unlike non-anonymous classes, an anonymous class cannot do both. > In other words, it cannot both extend a class and implement an > interface, nor can it implement more than one interface. Omitting name might be useful but please don't redefine the class concept. Am 28.06.2014 20:53, schrieb Rowan Collins: > is there any reason to think that this will pass now when it didn't then? Don't know a reason but PHP6 is a good point in time for new syntax & features. +1 cryptocompress