Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71916 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12302 invoked from network); 1 Feb 2014 09:04:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Feb 2014 09:04:28 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 108.166.43.75 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 108.166.43.75 smtp75.ord1c.emailsrvr.com Linux 2.6 Received: from [108.166.43.75] ([108.166.43.75:54496] helo=smtp75.ord1c.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 12/E0-04352-698BCE25 for ; Sat, 01 Feb 2014 04:04:27 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp2.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id 539EB1E80A4; Sat, 1 Feb 2014 04:04:20 -0500 (EST) X-Virus-Scanned: OK Received: by smtp2.relay.ord1c.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id EF8691E80B3; Sat, 1 Feb 2014 04:04:19 -0500 (EST) Message-ID: <52ECB893.2020207@sugarcrm.com> Date: Sat, 01 Feb 2014 01:04:19 -0800 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: gooh , "internals@lists.php.net" References: <98.E0.35265.E17FBE25@pb1.pair.com> In-Reply-To: <98.E0.35265.E17FBE25@pb1.pair.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [VOTE] Automatic Property Initialization From: smalyshev@sugarcrm.com (Stas Malyshev) 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. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227