Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54502 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1407 invoked from network); 11 Aug 2011 04:53:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Aug 2011 04:53:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=ar@ez.no; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=ar@ez.no; sender-id=unknown Received-SPF: error (pb1.pair.com: domain ez.no from 209.85.218.42 cause and error) X-PHP-List-Original-Sender: ar@ez.no X-Host-Fingerprint: 209.85.218.42 mail-yi0-f42.google.com Received: from [209.85.218.42] ([209.85.218.42:63262] helo=mail-yi0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C9/70-00852-150634E4 for ; Thu, 11 Aug 2011 00:53:37 -0400 Received: by yie19 with SMTP id 19so1277157yie.29 for ; Wed, 10 Aug 2011 21:53:34 -0700 (PDT) Received: by 10.150.75.5 with SMTP id x5mr138985yba.420.1313038414158; Wed, 10 Aug 2011 21:53:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.192.11 with HTTP; Wed, 10 Aug 2011 21:53:14 -0700 (PDT) In-Reply-To: References: <4E42D660.80906@googlemail.com> Date: Thu, 11 Aug 2011 06:53:14 +0200 Message-ID: To: Kalle Sommer Nielsen Cc: sebastian.krebs.berlin@googlemail.com, PHP internals list Content-Type: multipart/alternative; boundary=000e0cd5c412409afc04aa339413 Subject: Re: [PHP-DEV] Property get/set syntax From: ar@ez.no (=?UTF-8?B?QW5kcsOpIFLDuG1ja2U=?=) --000e0cd5c412409afc04aa339413 Content-Type: text/plain; charset=UTF-8 On Wed, Aug 10, 2011 at 10:16 PM, Kalle Sommer Nielsen wrote: > Hi Sebastian > > 2011/8/10 Sebastian Krebs : > > Hi, > > > > From time to time I'm looking over the existing RFCs and I'm wondering > what > > happens to them. For example "Property get/set syntax" [1]. As far as I > can > > see its already accepted for PHP6 [2], but now it seems to be orphaned. > In > > my opinion it is a very nice enhancement, that helps to get rid of the > > Getter/Setter-mess. Are there any plans? > > This RFC by Dennis was never 100% finalized, however from what I > remember it was suggested too late in 5.3's development process to be > implemented, and so do I think we are in 5.4 already as the RFC would > need some extra care before sent to the list, perhaps even a patch for > parts of it. > Type hinting is for instance not covered (should imho at least be on pair with function signatures). > > The RFC itself evolved quite a bit doing its drafts on the wiki, I > remember having long emails with Dennis about the syntax, as it > evolved to allow many more things and additions to the object model, > like final properties, interfaces with properties, getters, setters, > .... But in the end I think it would rime greatly with traits and > other goodies in 5.4 if someone took the time and care for this RFC, > just worried its way too late already. > On 6.0 todo list: There are lots of things that would be nice additions to php on the 6.0 todo list*. If all these have been voted for in the past, I'll suggest that they could be worked on in upcoming 5.x versions as well leading up to an eventual 6.0 version. *eg: - Property overloading RFC aka abstract/virtual properties and get/set handlers (derick) (related?) - add support for type-hinted return values. *caugh* - add ability to allocate persistent zvals in PHP. - add support for files >2GB once native 64bit integers are implemented (pierre,wez) - APC - include APC in the core distributions (turned off by default) and switch to mmap as default shared memory storage. - ability to move autoloaded main classes in apc's class lookup preventing the overhead of doing the inheritance process all the time. (marcus) > > -- > regards, > > Kalle Sommer Nielsen > kalle@php.net > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --000e0cd5c412409afc04aa339413--