Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82585 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54342 invoked from network); 13 Feb 2015 07:51:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Feb 2015 07:51:31 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.173 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.192.173 mail-pd0-f173.google.com Received: from [209.85.192.173] ([209.85.192.173:35087] helo=mail-pd0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B2/D0-49206-20DADD45 for ; Fri, 13 Feb 2015 02:51:31 -0500 Received: by pdbfl12 with SMTP id fl12so17785524pdb.2 for ; Thu, 12 Feb 2015 23:51:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=vZeGP56zwPSKSW8O1jloFsOf/Kpja0vVr9H7snucLY4=; b=iKmUXsMuAiJ+dZbkKzS/GEjqyDtVWCnZPifD3kUiHLZHs+Z+BA6y1fMRX+GUTtyFDi HzmaIpbclcTo1VZ0U+NCl2GQG1l6B7aaphWjeby1iY7IefohfuYITkXqtfJTa3uMbDHE pkEJdTWZv5HJaqiTG04mQtfoSbv10wVCEFPYb3XCOhteEENxwhiWAWyT2i3xgw6EluQy tvSWRlPnGtTiqEfWrF6aXsFhk+Tiyvd3tYwPndoENj76GlFG1b9QfQ3MD5/stJIHbg+n NvMQLogbJ3BjTYbbTHz/TeiYEVWpW6aod6EAh7DQloZHBTCgi6m9IMdbPrcrgIUIGQOQ 19tg== X-Received: by 10.66.181.144 with SMTP id dw16mr13581278pac.100.1423813888031; Thu, 12 Feb 2015 23:51:28 -0800 (PST) Received: from Stas-Air.local (108-66-6-48.lightspeed.sntcca.sbcglobal.net. [108.66.6.48]) by mx.google.com with ESMTPSA id kt7sm1328070pdb.84.2015.02.12.23.51.27 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Feb 2015 23:51:27 -0800 (PST) Message-ID: <54DDACFA.6010204@gmail.com> Date: Thu, 12 Feb 2015 23:51:22 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: pierre@pcservice.co.za, PHP Development References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Deprecate properties using var From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > My proposal is to deprecate the use of var on properties in PHP 7, and then > remove support for it in PHP 8. This compliments the [0] "Remove PHP 4 How the life of the PHP user would be improved by this? Except for making more code break, I'm not sure how it's helpful, could you explain? > Constructors" RFC, as it is old PHP 4 behaviour, and according to the docs > is only "supported for compatibility reasons", and personally I think users > should be encourage to use proper visibility when defining properties. "var" is the same as "public", public is proper visibility. -- Stas Malyshev smalyshev@gmail.com