Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:89899 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37840 invoked from network); 27 Dec 2015 20:00:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Dec 2015 20:00:27 -0000 Received: from [127.0.0.1] ([127.0.0.1:29714]) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ECSTREAM id 86/5E-51216-B5340865 for ; Sun, 27 Dec 2015 15:00:27 -0500 Authentication-Results: pb1.pair.com header.from=julianrhind@outlook.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=julianrhind@outlook.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain outlook.com designates 65.55.90.219 as permitted sender) X-PHP-List-Original-Sender: julianrhind@outlook.com X-Host-Fingerprint: 65.55.90.219 snt004-omc4s16.hotmail.com Received: from [65.55.90.219] ([65.55.90.219:61286] helo=SNT004-OMC4S16.hotmail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B5/5E-51216-CF240865 for ; Sun, 27 Dec 2015 14:58:53 -0500 Received: from APC01-SG2-obe.outbound.protection.outlook.com ([65.55.90.200]) by SNT004-OMC4S16.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sun, 27 Dec 2015 11:58:44 -0800 Received: from ME1PR01MB0020.ausprd01.prod.outlook.com (10.162.64.146) by ME1PR01MB0019.ausprd01.prod.outlook.com (10.162.64.145) with Microsoft SMTP Server (TLS) id 15.1.361.13; Sun, 27 Dec 2015 19:58:42 +0000 Received: from ME1PR01MB0020.ausprd01.prod.outlook.com ([10.162.64.146]) by ME1PR01MB0020.ausprd01.prod.outlook.com ([10.162.64.146]) with mapi id 15.01.0361.006; Sun, 27 Dec 2015 19:58:41 +0000 To: "internals@lists.php.net" Thread-Topic: RFC proposal for alternative list syntax Thread-Index: AQHRQODZJwgbuqA/ukmiFiYQxQmGFQ== Date: Sun, 27 Dec 2015 19:58:41 +0000 Message-ID: Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: lists.php.net; dkim=none (message not signed) header.d=none;lists.php.net; dmarc=none action=none header.from=outlook.com; x-tmn: [kQ4oqP2Nsefp046KkHXoKEFfrD05xL2n2nZVzys60ek=] x-microsoft-exchange-diagnostics: 1;ME1PR01MB0019;23:ySed1G6xJOrZ+vFoK4EX5JfTemdxM5acDu8MHoQDuu4GCgy+69J8DoBHc/JOw0fjLmw1R1lh5nBSXlLP1fzKnWlHCVr8WPeP7j0hMYOooyslJuaiowKy37LkPawCxnboaV/hlu5vC1Iai0oqTNQDT5+Os5Rc3eZPc38adH4OVTd3yH8raZVKOAqJIoH0AvNZDFIt+aRWvXJ0PnNmOjDPdQ==;5:k3m+1Z5MQOfyUaNhj1YWGzcDpfU6S+eTbVJiZ35Lp5WNLLWKbAIOMAaXeaOS51bDX5Cp8PTOQpkNpKSYfYKIxK1TXOOusYEhbq99O0kisa9CknBcQBGUKfuAhiknfXSQsgDoegQWLy9PbU+/Ad7bfQ==;24:xhZfbT3h+byGDElp4C9kTfxpBdxVAzDz8FiJtEnF98Gz8f/komHcrG8Khh/InZXGp+4oiRAUOCryoVJCixiXDoZBouGl06xHQCm+iZgPDLU= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:ME1PR01MB0019; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(432015012)(82015046);SRVR:ME1PR01MB0019;BCL:0;PCL:0;RULEID:;SRVR:ME1PR01MB0019; x-forefront-prvs: 0803A0241F x-forefront-antispam-report: SFV:NSPM;SFS:(7070004)(98900002);DIR:OUT;SFP:1901;SCL:1;SRVR:ME1PR01MB0019;H:ME1PR01MB0020.ausprd01.prod.outlook.com;FPR:;SPF:None;LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Dec 2015 19:58:41.6050 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: ME1PR01MB0019 X-OriginalArrivalTime: 27 Dec 2015 19:58:44.0779 (UTC) FILETIME=[FDF1CFB0:01D140E0] Subject: RFC proposal for alternative list syntax From: julianrhind@outlook.com (Julian Rhind) Hi =A0 I have a proposal for new alternative syntax for list =A0 // In the old days we did this =A0 list ($a, $b) =3D array (1, 2); =A0 // With the new array syntax this has been improved to =A0 list ($a, $b) =3D [1, 2]; =A0 // I think this new syntax should logically extend to =A0 [$a, $b] =3D [1, 2]; =A0 Regards =A0 Julian =A0 Julian Rhind