Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71917 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15278 invoked from network); 1 Feb 2014 09:43:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Feb 2014 09:43:29 -0000 Authentication-Results: pb1.pair.com header.from=pthreads@pthreads.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=pthreads@pthreads.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pthreads.org from 74.125.82.44 cause and error) X-PHP-List-Original-Sender: pthreads@pthreads.org X-Host-Fingerprint: 74.125.82.44 mail-wg0-f44.google.com Received: from [74.125.82.44] ([74.125.82.44:35646] helo=mail-wg0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E8/10-14044-0C1CCE25 for ; Sat, 01 Feb 2014 04:43:28 -0500 Received: by mail-wg0-f44.google.com with SMTP id l18so9970729wgh.23 for ; Sat, 01 Feb 2014 01:43:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=uK6wBq1jDvPxR0RkBFGxrPQEsNOQuBOBcn6Lb2IYrcI=; b=ZShCeXYj81QDNu/HjT6Y4wQ2Zrmsu4OrsoZSquYa2U+kUWNL8DzXKS9eix7i5vjkWy UVHlO8HQMJSL5gf/Xdn83vod0GBL9K8KzgSSMORagtFrF4f4CBA7KZNJjNUKxmwwPErv TCfphOXrhsdLIWwa7xNB5y3EqEp0GIkokQUX86Ej+35TXU0SGFr58/Khm9nFq3sJtc09 /ZKhiTgGuKPKvWkMuyH4Gb2LEixGDwJ0KwNyFFEkjCnR8lpjlG7H5SPsa3UiuYCEnoKh jL8XbOXc+/NY1s4VNT0yZo7yZ+f2SyoN1FUc3TuicQTvgC52xeZeZ/WuBXehugHHC8/v eocg== X-Gm-Message-State: ALoCoQnyK3LZaXUSFj2Y3BAaqNTVI3Y47Lk62g9CYn34cOSDsghDJ6FAu0Yrmt81e6qVKIrPdcro X-Received: by 10.180.205.239 with SMTP id lj15mr2076893wic.22.1391247804734; Sat, 01 Feb 2014 01:43:24 -0800 (PST) Received: from [192.168.1.3] (92.41.115.212.threembb.co.uk. [92.41.115.212]) by mx.google.com with ESMTPSA id po3sm26044322wjc.3.2014.02.01.01.43.22 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 01 Feb 2014 01:43:23 -0800 (PST) Message-ID: <52ECC1B8.9050209@pthreads.org> Date: Sat, 01 Feb 2014 09:43:20 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: Stas Malyshev , internals@lists.php.net References: <98.E0.35265.E17FBE25@pb1.pair.com> <52ECB893.2020207@sugarcrm.com> In-Reply-To: <52ECB893.2020207@sugarcrm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] [VOTE] Automatic Property Initialization From: pthreads@pthreads.org (Joe Watkins) On 02/01/2014 09:04 AM, Stas Malyshev wrote: > Hi! > >> I've opened the voting for Automatic Property Initialization: >> >> - https://wiki.php.net/rfc/automatic_property_initialization >> > > Please note that this RFC adds actually two features - the $this->foo in > ctor args and functions with empty body described as foo(); - but only > if this function is a constructor. None of other functions can do that. > Which sounds pretty inconsistent to me. > > The patch currently just allow for $this→foo as constructor arguments, since this is the desired core functionality. Any of the other suggested features, like methodless constructors or alternative syntax or using a keyword are subject to discussion. They are not part of this patch. > The vote is for the current patch. You are solely voting on allowing $this→foo as constructor arguments. None of the other suggested features in this document are subject to vote. The patch, and vote, is only for automatic property initialization, not methodless constructors. Cheers Joe