Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:108210 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 33161 invoked from network); 22 Jan 2020 00:07:23 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 22 Jan 2020 00:07:23 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E961018053B for ; Tue, 21 Jan 2020 14:16:04 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-ot1-f52.google.com (mail-ot1-f52.google.com [209.85.210.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 21 Jan 2020 14:16:04 -0800 (PST) Received: by mail-ot1-f52.google.com with SMTP id i15so4495155oto.2 for ; Tue, 21 Jan 2020 14:16:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/Izhgt77DrK0s9k7vR5qFdmw3ObniPneOPfXR9SM+CQ=; b=vSk3UjRE2FkjDIIehMW2tDaB5fWlt4MoptQH8nDC7o25kKfltS3OB5z1HHt9iZNnnf FsFJelQvDIhhMxOCd6yRlVZ+VV0q5PPcbFEgGSyhGYGbXPHNEINB/AryOB1/Iq5D9ID/ fQ2Q5j1c1PpDgwqpAV47agEgXgLaBNANgwgySNzVYtDvdTzKiFv1VhYcFnjC0THnbjRt ROEDe/NvAKHJmVchF8ylSN+ExNKDAvXcMWlYX4pMelZMWC/OG2j6eu4gZONtQz9Hd9fA BANt8xpQ8IPeZpRaSnC7Du1MWdcKz316pB8ofeA1O21OdNFLEydEyP2DdckjBujY/+It MgUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/Izhgt77DrK0s9k7vR5qFdmw3ObniPneOPfXR9SM+CQ=; b=UF3zQ7+bxxy/5oNVJVSmtxtsC66uEtmgmA0jqAVcfyPTlUZzJjsWWa2JKBUUoN5G+4 Ij+wtzKC4ZbALH2qGEZwVx2hrYteadfg11vkDXmxQnW9rwnXF2h312V7Pf3CGHC/TbmY R7zBK5kiY/bZK1gUuqKOE7vMyUqvY9vc1OJYkSF3HIprIK8gAPALbrQ9CsfaeAyPlZ7X Vphu+HaWJs9grDvWaIhn8Jh02NAi90zmb3JK+EbR7EvdSohLWp9Nki9e+Sl4ZJ+JEtGt 4anqrlbED8j3mFnZ65QPkK6AzRwC+4fk/jUbWdKxtEScy6J5lBUnuweUQ4j3vNAfLXk5 89mg== X-Gm-Message-State: APjAAAWxS850sKUo4FO+x/oh2JoiRGmRF7Np2ZBiFObU+iB8pga/G/uM Cp3/yonqZodDF11+RORB7qfOIovltjxzh/IXchU= X-Google-Smtp-Source: APXvYqx9ba27HWbWqpxCaTSqEW0thNkGRZZ43MrY0O4puZ1sgrbJOaj2M+ChC+I8UUFJuAxMWq3yYaZ6x0p6j7adRXA= X-Received: by 2002:a05:6830:184:: with SMTP id q4mr5349931ota.232.1579644962935; Tue, 21 Jan 2020 14:16:02 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 21 Jan 2020 23:15:52 +0100 Message-ID: To: Matthew Brown Cc: Nikita Popov , Aran Reeks , PHP internals Content-Type: multipart/alternative; boundary="000000000000e31e49059cadc082" Subject: Re: [PHP-DEV] Typed array properties V2 From: benjamin.morel@gmail.com (Benjamin Morel) --000000000000e31e49059cadc082 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > > What if we left the array type alone, and instead focussed on "list" > type and "dict", "dict" types? > That would allow a clear break from previous behaviour, and would allow y= ou > to introduce other changes (e.g. removing string -> int coercion for > numeric string keys). Can't agree more. =E2=80=94 Benjamin --000000000000e31e49059cadc082--