Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109817 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 88182 invoked from network); 23 Apr 2020 17:45:22 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 23 Apr 2020 17:45:22 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 5A62B180553 for ; Thu, 23 Apr 2020 09:17:20 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,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-il1-f182.google.com (mail-il1-f182.google.com [209.85.166.182]) (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 ; Thu, 23 Apr 2020 09:17:19 -0700 (PDT) Received: by mail-il1-f182.google.com with SMTP id c16so6095698ilr.3 for ; Thu, 23 Apr 2020 09:17:19 -0700 (PDT) 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=SUapzRalcED+KGK2P/Hr6RobNSVa0h/vwTIzEWciDQ4=; b=XSk6AHTSGK1uA9dkv0Le0vdQcWd7jugjbYWr+0RUQE3w3xHyqKBJvZ6ftzEksq7KMX ZeRata4ENwrKTvtnIczzHnX242V1/rvUrJL4DgggYj+iPuKyqBSugu5a65ArYYpLvsfH y9pqaNqIfnWWbMdJ0moV4aS0KPMOveJ/5PvCZ/in9M3RRFP9haLlm/mjG57mWckIfBpu 1I05p2LgYidkdM9Fqgc4gWE42vJGpIicysa4ABAjPlMUhJQbPDXiSKyhsi0lw5JT8nz6 XxOsw/Or4mblG0YU6ct+qmwn0JW0H8pP1I6OKy9EFqkN2/0DD3BBWn2SSMmItLLMWgUv IHFg== 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=SUapzRalcED+KGK2P/Hr6RobNSVa0h/vwTIzEWciDQ4=; b=rtX1TYF7oO3Qc3o3fp6pmlofC2OkbwH/eHcwEEau1zL9wpRSn/euVdkZAFblKLflfL dd2hwbqh3ko+GHAIzC9uJXlJnuejMcZ3x5fNbRQw9nPuBRkpVd+xNmq2dUTRU3HE7QA7 2ZkJiUtvsSd49cogNZoMxNdBYHsaH8CgwJoLnqKgilfDMDvM3WdyhPbeTqj23AB0j5Pi tRz+02zB0y5jzFEIq/mmd29qf8wTKwgJYU8AR/ebPp6hupgKvvopLLcd4P+tieBIFT+Z dfSTuKJY6I/VqNIX8BdEGAiEAYmvtLMQrLhgmqqs4UCElEEwSnlm4Sy2/Kf45od/YF57 YuSA== X-Gm-Message-State: AGi0Pub2ndD/GCTkVzDyajcZzECNLfWwU3aKCS2wG95J5ClL9ak3Z1qq OiYDJr3C0nVhIz5OuvBBc+CBLacWkFmvKdpydW4= X-Google-Smtp-Source: APiQypKtNHmvkABP6vnX1Rdk1A7sNYl7HuDyXmFLVWxFyCSy9GPmhWFReGS2Pa5h0Tnu+U+GvsMtnU4jilpDYxvxGkc= X-Received: by 2002:a92:5b90:: with SMTP id c16mr4021862ilg.153.1587658633561; Thu, 23 Apr 2020 09:17:13 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 23 Apr 2020 18:17:02 +0200 Message-ID: To: Dan Ackroyd Cc: PHP internals , kocsismate90@gmail.com Content-Type: multipart/alternative; boundary="000000000000e0cd6c05a3f7941a" Subject: Re: [PHP-DEV] [RFC] Mixed type From: carusogabriel34@gmail.com (Gabriel Caruso) --000000000000e0cd6c05a3f7941a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 20 Apr 2020 at 13:18, Dan Ackroyd wrote: > Hi Internals, > > Here is an RFC for adding a 'mixed' type to the language: > https://wiki.php.net/rfc/mixed_type_v2 > The RFC builds on an earlier draft by Michael Moravec. > > Part of the motivation for pursuing this RFC was my recent experience > in upgrading an application to PHP 7.4. > > Being able to add types to the application made the code much easier > to reason about, but there were places where I couldn't add type info > due to the lack of mixed. That made it hard to see if that piece of > code had been upgraded (but type info couldn't be added), or if that > code still needed to be upgraded. > > cheers > Dan > Ack > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > Hello Danack Has the type `any` been considered? I've discussed that in the implementation Pull Request with M=C3=A1t=C3=A9. Would it be too much to create a sub-voting for the type used here? Best regards, --000000000000e0cd6c05a3f7941a--