Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63394 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71327 invoked from network); 13 Oct 2012 12:35:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Oct 2012 12:35:41 -0000 Authentication-Results: pb1.pair.com header.from=amaury.bouchard@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=amaury.bouchard@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.42 as permitted sender) X-PHP-List-Original-Sender: amaury.bouchard@gmail.com X-Host-Fingerprint: 209.85.219.42 mail-oa0-f42.google.com Received: from [209.85.219.42] ([209.85.219.42:64687] helo=mail-oa0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EA/0C-06472-C1069705 for ; Sat, 13 Oct 2012 08:35:41 -0400 Received: by mail-oa0-f42.google.com with SMTP id j1so4072379oag.29 for ; Sat, 13 Oct 2012 05:35:38 -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:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=0AZGVme/ng3dBDG/HVV9B2uhZdeiqdFKJUqjDNSf3OM=; b=NN7WBtK43ApJ7Pk96CD4gRN1hWO12zlY6G7ckiz0SCd69uKCQkbCxk96O8QJzQzCHc uCoA1Sz6O/o1APAcw+dHshOtLFDlgN9dvmQE+HrfD0bN9UcWyKhf3O4mSjd2PHy7raEi J7Jv3Z6PtbjXCHyXV2rJHPbVihjtu8edS5rVeEx0MuQCUIBzU9xLbGV5xhyQfcONz5Pv 1W4+G7YHitE9M3au6ygLhPR1A+z6UFVEGLztzoX0PjzkGFN2TcjpzmKkLdK7FWMippSr rvGVLPbbe4UrScC6iEgj3/IhFeTTNwQEcioaOuAXTa9o8UpVAcRrhxUETXxZNDrtiLOF wPOQ== Received: by 10.60.22.66 with SMTP id b2mr5740407oef.116.1350131738483; Sat, 13 Oct 2012 05:35:38 -0700 (PDT) MIME-Version: 1.0 Sender: amaury.bouchard@gmail.com Received: by 10.182.24.169 with HTTP; Sat, 13 Oct 2012 05:35:17 -0700 (PDT) In-Reply-To: <9570D903A3BECE4092E924C2985CE485612B59F6@MBX202.domain.local> References: <9570D903A3BECE4092E924C2985CE485612B53E4@MBX202.domain.local> <9570D903A3BECE4092E924C2985CE485612B59F6@MBX202.domain.local> Date: Sat, 13 Oct 2012 14:35:17 +0200 X-Google-Sender-Auth: CZ96r53_JN_rexlrUpEx_RMuk9Q Message-ID: To: Clint Priest Cc: Nikita Popov , Benjamin Eberlei , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=e89a8fb1feecac1a3c04cbf00aa2 Subject: Re: [PHP-DEV] [PHP-DEV [RFC] Property Accessors v1.2 From: amaury@amaury.net (Amaury Bouchard) --e89a8fb1feecac1a3c04cbf00aa2 Content-Type: text/plain; charset=ISO-8859-1 2012/10/13 Clint Priest > Interfaces are used to define what methods must be present, properties > are not allowed. > Yes, so no one should be correct, right? I mean, yes the first declaration implies some code; but for the interface, it's still a property definition. > *From:* amaury.bouchard@gmail.com [mailto:amaury.bouchard@gmail.com] *On > Behalf Of *Amaury Bouchard > *Sent:* Saturday, October 13, 2012 5:06 AM > *To:* Nikita Popov > *Cc:* Benjamin Eberlei; Clint Priest; internals@lists.php.net > > *Subject:* Re: [PHP-DEV] [PHP-DEV [RFC] Property Accessors v1.2**** > > ** ** > > 2012/10/13 Nikita Popov **** > > interface Foo {**** > > // this is okay > public $abc { get; set; } > > // this is invalid > public $abc; > }**** > > ** ** > > Sorry, I missed something. Why the first should be correct but not the > second one?**** > > For me it's exactly the same thing.**** > --e89a8fb1feecac1a3c04cbf00aa2--