Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:89900 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43854 invoked from network); 27 Dec 2015 22:34:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Dec 2015 22:34:55 -0000 Authentication-Results: pb1.pair.com header.from=martin.keckeis1@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=martin.keckeis1@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.173 as permitted sender) X-PHP-List-Original-Sender: martin.keckeis1@gmail.com X-Host-Fingerprint: 209.85.217.173 mail-lb0-f173.google.com Received: from [209.85.217.173] ([209.85.217.173:32803] helo=mail-lb0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8D/DE-51216-E8760865 for ; Sun, 27 Dec 2015 17:34:55 -0500 Received: by mail-lb0-f173.google.com with SMTP id sv6so77827722lbb.0 for ; Sun, 27 Dec 2015 14:34:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=BxbgHPoBfG5HBGHFyRLwDVetGkAsuUTEbiuxIs+Ficg=; b=Uy0zTrCXWiyEJNsefe/FL23Hjv/iw6v1r+7MWyHQuKTpxwLECvOiRDTixWnDoX5n+i hCkmi6fvGlNf25zmDTZm3CAw1DfWHeN82wL7lswDyfzHEYyvVF2mIe84psGZ5/aRwwhB +6for1Tpzoz+t6D1+mSa7lXANalEF9rC2VruCPUVgOyDUS4wuPR/3z0jxanhDjx8yv6k YrwB/0ZNoiPTHU6SrqLO8jVwur3SMSTWJG5581Y6FLxxIh9bjN5wni/AxXGZa2T6gQgb 8v97ZyJqgfsYAj+DwSSMBsMhtv2eszJMCLX0jD5EMxhCnhBrBczE6uUk0iBT7x5hsUbY tNLQ== MIME-Version: 1.0 X-Received: by 10.112.202.101 with SMTP id kh5mr18086291lbc.66.1451255691545; Sun, 27 Dec 2015 14:34:51 -0800 (PST) Received: by 10.25.76.69 with HTTP; Sun, 27 Dec 2015 14:34:51 -0800 (PST) Received: by 10.25.76.69 with HTTP; Sun, 27 Dec 2015 14:34:51 -0800 (PST) In-Reply-To: References: Date: Sun, 27 Dec 2015 23:34:51 +0100 Message-ID: To: Julian Rhind Cc: PHP internals Content-Type: multipart/alternative; boundary=001a11c3724cf9123c0527e8cbeb Subject: Re: [PHP-DEV] RFC proposal for alternative list syntax From: martin.keckeis1@gmail.com (Martin Keckeis) --001a11c3724cf9123c0527e8cbeb Content-Type: text/plain; charset=UTF-8 Am 27.12.2015 9:00 nachm. schrieb "Julian Rhind" : > > Hi > > I have a proposal for new alternative syntax for list > > // In the old days we did this > > list ($a, $b) = array (1, 2); > > // With the new array syntax this has been improved to > > list ($a, $b) = [1, 2]; > > // I think this new syntax should logically extend to > > [$a, $b] = [1, 2]; > > Regards > > Julian > > Julian Rhind > > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http:// www.php.net / unsub.php > It looks nice. I like it --001a11c3724cf9123c0527e8cbeb--