Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91224 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68514 invoked from network); 12 Feb 2016 15:16:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Feb 2016 15:16:58 -0000 Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.46 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.46 mail-wm0-f46.google.com Received: from [74.125.82.46] ([74.125.82.46:38838] helo=mail-wm0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AC/50-00989-967FDB65 for ; Fri, 12 Feb 2016 10:16:58 -0500 Received: by mail-wm0-f46.google.com with SMTP id p63so23553128wmp.1 for ; Fri, 12 Feb 2016 07:16:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=uXDKQoWxLKh/TN2KzeifmIXF+Yd7Hs0hqcFlPXA0DD8=; b=Ho1QXoYtc1wKt3/3RisKXPEmJY+mnmGa0ywJ94WCjoQWoGbrf/ugif0v4I54gvHapO Vg0NOHp/2XudOCLawp6PFkUFYSniNWq5pdiBKyQ76Q2MdR0m9tqm9oE+3bNo0tTTL1rs xHd8hS21d3gZLkpXbUSo4nu8j12hwu1sa2UkqDQTyxbSaYCwfm2MTMXpNWEnu596HED8 EHOdkG3V2OjAbTqkgS3lgz90i0zLkBvTIMwjw0I023l6KEa0xf0RKLJ/WGBaMBz8f8Ti /YgeAKU49aOfRDzJF2NdMjgGFXJrrXnFp419zFzumEgB+DtnyekTx8Sp3FI9e7TGF852 xYTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=uXDKQoWxLKh/TN2KzeifmIXF+Yd7Hs0hqcFlPXA0DD8=; b=OnXlGQEjj0Lis8ACwzDi6SYqa4AUe3CC8QJHtP7i5/+FQPFbCD76MakRJ+BlFtxmqF D0zF1DJrhulZkRiP96ma9jr7XwHYnpyvj6PZZzYlRTwjHmUDlrriejCeA6iKptaIcVn9 2XdHZjclkcCL4HRFsEpLGRdjQwlC6CGbWd4Ck84ndTYnXutN+STXyZmZt1AELC5uN43K pqO87x2l8az2Mx1wx+uKwMLs1unoI4t4VVwL/ms4t3DiuN2r9glv0co4H/1Nx4JmeT/e r3b1Vp6qK+QBFsrcs8wMG2oP+UP5wrdpT2INq03jyVntszfoiI/G+/FhIiq84HbDBZH9 zdCA== X-Gm-Message-State: AG10YOR36czkm8tPVczPTBXDSxal4QZHQxD284VqnSw++EQ3SFdIcL1BMhQxeZQlr0aM5Q== X-Received: by 10.194.176.170 with SMTP id cj10mr2237326wjc.165.1455290215476; Fri, 12 Feb 2016 07:16:55 -0800 (PST) Received: from [192.168.0.152] ([93.188.182.58]) by smtp.googlemail.com with ESMTPSA id c26sm2778765wmi.24.2016.02.12.07.16.54 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 12 Feb 2016 07:16:54 -0800 (PST) To: "S.A.N" References: <38.31.07203.2EB94B65@pb1.pair.com> <8E.1A.36326.338F8B65@pb1.pair.com> <56BDEBC8.4090806@gmail.com> <56BDF26B.8030301@gmail.com> Cc: internals Message-ID: <56BDF6FC.1020309@gmail.com> Date: Fri, 12 Feb 2016 15:15:08 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC][VOTE] Allow specifying keys in list() From: rowan.collins@gmail.com (Rowan Collins) S.A.N wrote on 12/02/2016 15:13: > But is also necessary and the function or operator like > object_assign($target, ...$sources) Like I say, for that kind of purpose, I'd just use an array, which already has the facilities for working with arbitrary keys. But I know some people think $foo->bar "looks prettier" than $foo['bar'], and make big trees of stdClass objects, so maybe it's a matter of taste.