Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87166 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27294 invoked from network); 14 Jul 2015 10:16:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jul 2015 10:16:08 -0000 Authentication-Results: pb1.pair.com smtp.mail=ua.san.alex@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ua.san.alex@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.180 as permitted sender) X-PHP-List-Original-Sender: ua.san.alex@gmail.com X-Host-Fingerprint: 209.85.223.180 mail-ie0-f180.google.com Received: from [209.85.223.180] ([209.85.223.180:34730] helo=mail-ie0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 18/51-18450-661E4A55 for ; Tue, 14 Jul 2015 06:16:08 -0400 Received: by iebmu5 with SMTP id mu5so7905084ieb.1 for ; Tue, 14 Jul 2015 03:16:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Xq+3cn3Q3BRdGcfnh16ajEgTDx6mny6N/i8JcEnGMUI=; b=0+IxX3rUj11wgdO1gXTskkripQJckQ1fteXAaD43wUHx3H2rvjQxLKn7K9ZS2jIQQA odRSshAuRSHqrew8ZPGgHdDVmjjOa64Aar6E4k+EJB26Hiy4Te0PM+MpZmmOzW++OkBc xDjAatqDx7SpaDbTEk3BZ6zKMqP8AisQLUYpOcqEJIBPx3aPRHWsZlD01Ro9pXmvSDNz 4eSmg6jgU86Dp+IEtHGnE/jCL8OW7ogXdSImNFXGohTw8UHY9tfRjqKzkIYqAHluTs+n jPnT2n/3AAcJ5DcrSJB3bG8N8Wf4sB8FJlTU99TiffMYPSxdqWuIO1MgqOKKMD2/FPTu mixQ== MIME-Version: 1.0 X-Received: by 10.107.37.14 with SMTP id l14mr54940482iol.12.1436868963803; Tue, 14 Jul 2015 03:16:03 -0700 (PDT) Received: by 10.50.246.20 with HTTP; Tue, 14 Jul 2015 03:16:03 -0700 (PDT) In-Reply-To: References: <035001d0bdbf$1d0a93a0$571fbae0$@php.net> Date: Tue, 14 Jul 2015 13:16:03 +0300 Message-ID: To: "Sebastian B.-Hagensen" Cc: francois@php.net, Ryan Pallas , internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] PHP7 and types From: ua.san.alex@gmail.com ("S.A.N") Yes, I think the compiler could compile the expression class Bar { public Foo $foo; // That is shorthand getter/setter... } to class Bar { get foo():Foo {return $this->_foo}; set foo(Foo $obj) {$this->_foo = $obj}; }