Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91297 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12252 invoked from network); 18 Feb 2016 22:59:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Feb 2016 22:59:39 -0000 Authentication-Results: pb1.pair.com header.from=zeev@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=zeev@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 157.56.110.101 as permitted sender) X-PHP-List-Original-Sender: zeev@zend.com X-Host-Fingerprint: 157.56.110.101 mail-bn1bn0101.outbound.protection.outlook.com Received: from [157.56.110.101] ([157.56.110.101:14950] helo=na01-bn1-obe.outbound.protection.outlook.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 04/F3-27267-ADC46C65 for ; Thu, 18 Feb 2016 17:59:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=RWSoftware.onmicrosoft.com; s=selector1-zend-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Pt/8PaZEu4JSMiQmC00i7P3r1XUyEuadTeEdXc1QeYE=; b=aYVY5VWLI2N86jvDoRuziWJRuBmH+Qs0v8dgGnwQGHfreiBl5FvTak8d58zdbr3RTLu8ydTFoNPTerjSdE/HAUOYuFD9vUiRFHcne+b4Gvly4k5f9wCozEs1a92rJxz20s+ZqVwJHD4zjRV7e509BN7m9uawAEOD4epE1L+zw3g= Received: from BY2PR02MB298.namprd02.prod.outlook.com (10.141.140.21) by BY2PR02MB299.namprd02.prod.outlook.com (10.141.140.22) with Microsoft SMTP Server (TLS) id 15.1.409.15; Thu, 18 Feb 2016 22:59:32 +0000 Received: from BY2PR02MB298.namprd02.prod.outlook.com ([10.141.140.21]) by BY2PR02MB298.namprd02.prod.outlook.com ([10.141.140.21]) with mapi id 15.01.0409.017; Thu, 18 Feb 2016 22:59:31 +0000 To: Yasuo Ohgaki CC: Andrea Faulds , "internals@lists.php.net" Thread-Topic: [PHP-DEV] Re: [RFC Proposal] var keyword deprecation/removal Thread-Index: AQHRaoNxRIiJBcvOmE+L9MKnNB9/WJ8yT/iAgAAbDq8= Date: Thu, 18 Feb 2016 22:59:31 +0000 Message-ID: <8B0196E0-D76C-49D4-904A-7FBA9B549AFB@zend.com> References: <20.E2.62769.79C16C65@pb1.pair.com>, In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: ajf.me; dkim=none (message not signed) header.d=none;ajf.me; dmarc=none action=none header.from=zend.com; x-originating-ip: [84.228.43.66] x-microsoft-exchange-diagnostics: 1;BY2PR02MB299;5:mKfJ0f2PprcaqPpAexRt0lBY33I8bkFZ67oa6rq1qNPPXpdaqzkurP7xJ33mYZqO53uxyb7AsAx6LvIavz7h1rI+2koyInggvAam5Rwpfp+j1R8p+bRLQfLPcRDBj5CglXv1zK//VRYZGpbXleBOTw==;24:tLKbLXztUzVeNP2/XCmsyhys32UZ9DebDeE3k1wnBVyWP3a4yik8UGzfPXQTesNTjPAFJOWLnzBIx1naXVzjcK8PmVgBP8axAA27x8Nswgk= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR02MB299; x-ms-office365-filtering-correlation-id: 0ca09a02-443a-4a7e-a811-08d338b729a1 x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046);SRVR:BY2PR02MB299;BCL:0;PCL:0;RULEID:;SRVR:BY2PR02MB299; x-forefront-prvs: 085634EFF4 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(979002)(6009001)(24454002)(53754006)(377454003)(77096005)(586003)(99286002)(102836003)(82746002)(83716003)(1220700001)(4326007)(5002640100001)(1096002)(3846002)(66066001)(5001960100002)(33656002)(86362001)(6116002)(110136002)(36756003)(3280700002)(87936001)(92566002)(2950100001)(122556002)(5004730100002)(2900100001)(3660700001)(76176999)(106116001)(5008740100001)(54356999)(19580395003)(50986999)(19580405001)(189998001)(2906002)(10400500002)(40100003)(104396002)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1102;SCL:1;SRVR:BY2PR02MB299;H:BY2PR02MB298.namprd02.prod.outlook.com;FPR:;SPF:None;MLV:ovrnspm;PTR:InfoNoRecords;LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="windows-1255" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: zend.com X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Feb 2016 22:59:31.5502 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 32210298-c08b-4829-8097-6b12c025a892 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR02MB299 Subject: Re: [PHP-DEV] Re: [RFC Proposal] var keyword deprecation/removal From: zeev@zend.com (Zeev Suraski) > On 18 =E1=F4=E1=F8=D7 2016, at 23:23, Yasuo Ohgaki w= rote: >=20 > Hi all, >=20 >> On Fri, Feb 19, 2016 at 4:33 AM, Andrea Faulds wrote: >>=20 >> Colin O'Dell wrote: >>>=20 >>> I'd like to propose an RFC to deprecate and eventually remove the "var" >>> keyword. >>=20 >>=20 >> I don't have a strong opinion on that, I guess I'm in favour. It seems l= ike >> a fairly harmless deprecation. >>=20 >> Though if we do get rid of the var syntax, I'd like it if we kept the >> reserved word, because it still might be useful in future for typed >> variables or different variable scoping. >=20 > Same opinion. > Keeping various syntax makes language more complex. I think it's a drop in the bucket compare to new features we're adding plen= ty of on every version. These make the language a lot more complex than va= r being an alias to public (not even different syntax). To me, var falls squarely in the bucket of "no strong reason to remove". Zeev