Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69345 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6420 invoked from network); 26 Sep 2013 10:02:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Sep 2013 10:02:10 -0000 Authentication-Results: pb1.pair.com smtp.mail=bof@bof.de; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=bof@bof.de; sender-id=pass Received-SPF: pass (pb1.pair.com: domain bof.de designates 80.242.145.70 as permitted sender) X-PHP-List-Original-Sender: bof@bof.de X-Host-Fingerprint: 80.242.145.70 mars.intermailgate.com Received: from [80.242.145.70] ([80.242.145.70:46722] helo=mars.intermailgate.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 85/FA-46303-F1604425 for ; Thu, 26 Sep 2013 06:02:09 -0400 Received: (qmail 27977 invoked by uid 1009); 26 Sep 2013 12:02:04 +0200 Received: from 209.85.220.182 by mars (envelope-from , uid 89) with qmail-scanner-1.25-st-qms (clamdscan: 0.96.2/17899. spamassassin: 3.3.1. perlscan: 1.25-st-qms. Clear:RC:1(209.85.220.182):. Processed in 0.071327 secs); 26 Sep 2013 10:02:04 -0000 X-Antivirus-MYDOMAIN-Mail-From: bof@bof.de via mars X-Antivirus-MYDOMAIN: 1.25-st-qms (Clear:RC:1(209.85.220.182):. Processed in 0.071327 secs Process 27964) Received: from mail-vc0-f182.google.com (gmail@bof.de@209.85.220.182) by mars.intermailgate.com with RC4-SHA encrypted SMTP; 26 Sep 2013 12:02:04 +0200 Received: by mail-vc0-f182.google.com with SMTP id hf12so663235vcb.13 for ; Thu, 26 Sep 2013 03:02:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=J88TMORBiAWwww0i3Y/n9wOYlv3Rqgxks9MlUAflA2c=; b=J2JlQnVTqMuiemJyi4v6EOSuxNJxG++SsZUUq4mH7cIcBhjr2S5tyjBF924Kp4hmmt T5+CCgizzg4mMdZ/94a0XJuoepCIPTrE7xwIcjZsVyBk53xzcW+xSDpktCVh7VHCL9vr WRw4NfeNqsLAXYveF5yNJAAJ5SFGe7iQ3v6riP2agge+lNiHZGsykyPJUxeXfT7zqo+h Eris3Nzq6bbBSY5GF3EpZtA5mGm05CTjL/GWdSPieVKntWAJuvwHC795XQKbxCziTLXK NpS1HbN6rOWuxfPvSBsC2RNiT2BeV2T6oDu7g/RJAnu6LSMVNLH7XGYx55k6e1HXOQzp eIuQ== MIME-Version: 1.0 X-Received: by 10.220.101.81 with SMTP id b17mr70447vco.79.1380189722331; Thu, 26 Sep 2013 03:02:02 -0700 (PDT) Received: by 10.52.24.43 with HTTP; Thu, 26 Sep 2013 03:02:02 -0700 (PDT) Received: by 10.52.24.43 with HTTP; Thu, 26 Sep 2013 03:02:02 -0700 (PDT) In-Reply-To: References: <5241F11C.5080707@php.net> <008301ceb967$b49ab190$1dd014b0$@tutteli.ch> <524205D8.8000608@php.net> <5242ADAE.2080007@php.net> <5242E88D.90407@php.net> Date: Thu, 26 Sep 2013 12:02:02 +0200 Message-ID: To: Nicolas Grekas Cc: internals , Joe Watkins , Terence Copestake Content-Type: multipart/alternative; boundary=047d7b3a8a7c1f529804e74676d4 Subject: Re: [PHP-DEV] RFC: Anonymous Classes From: bof@bof.de (Patrick Schaaf) --047d7b3a8a7c1f529804e74676d4 Content-Type: text/plain; charset=ISO-8859-1 Am 26.09.2013 11:29 schrieb "Nicolas Grekas" : > Btw, I can't get used to ($val) beeing at the end of the declaration. I > feel it very confusing. I feel the same. Couldn't this (constructor arguments) be moved? $that = new class(/* constructor args */) /* extends X implements Y */ { ... class body }; --047d7b3a8a7c1f529804e74676d4--