Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:115685 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 32896 invoked from network); 10 Aug 2021 13:07:58 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 10 Aug 2021 13:07:58 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 93E271804DB for ; Tue, 10 Aug 2021 06:38:26 -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=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,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-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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, 10 Aug 2021 06:38:26 -0700 (PDT) Received: by mail-wm1-f49.google.com with SMTP id u1so3094382wmm.0 for ; Tue, 10 Aug 2021 06:38:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=u00RR1BYy2Gh+iGk1tljHftPSrFfITI6EDtdrsKrpT0=; b=fHZnG2VRAXqdLyvu0Njgs61eoNDo0Fs2cbVmMQcxfnjnlI3UZriduxkEn6ZNRoRCkX Z0JNHcWJYXrGAKH3iY3C5ghjdjSKa7kk8/ivQ2dMgENLiaXeg2wAIxKiR+o/sy+df8gv UYGgB/+lGYeYrcRL3tOviDQUtkZXftjhveFypd08J6Hajbisl+C/WTtvhA/iE3PUHWIT MKuxz/bSufc3DdZAPS8d0X8SivXwrdgECbFt5w8xH22DO/7t3ehb+lB7etBzn0BPvhgX 47uVYpTYrUQ397Nc6BNCdysJbtlfhGpxagg+K1WByf+JxodTt/818MSXAvOqkW5SUfBl ag+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=u00RR1BYy2Gh+iGk1tljHftPSrFfITI6EDtdrsKrpT0=; b=Ae7NCy4FbokqzUPkolglgN+Zc8gfoG+JxoDk+t0OGbFCCDwiSuxPRzi1qMPjV7foMO XlJw04l/OCClNA6qtBM2SZp19rolM+9OBcQ3mlgtUXF0KK/egpbxWl0lc8M5HdWm1WiJ c4z+YevmI0NoBSmghbLu+VUqgbgIzpqN7y/mlVMItGZGkeI/H8uyA4mbOP/5DdYhApj2 1C6NMD7vCpeGO/rzjn/TKfIBoXBAMLagGWxwX6CtlSfZppUjEYXwgDinmYo9Wf8zNeQA /ILrc3P1rIEzzEpbcFQOYPfxarTB9G1IhCmH34mup2kjosnWmQq8IWJVe3uCO8nWBDHu u9Qw== X-Gm-Message-State: AOAM5300GBXX2Z7Y5qYRcGWUUqsIviEt3aVn7Xemcc2VlcrSL51exRSS nVS4Wy2qLUr96k0H6cCp5T+BYjFZxQ4= X-Google-Smtp-Source: ABdhPJxFm0I7o3paT3JoMaITYTn4mdZQzdkWcxrxefrBJ+oBbgLcpCZziordcS9pKFj/ekOYG6jHnQ== X-Received: by 2002:a1c:f306:: with SMTP id q6mr21994533wmq.129.1628602702472; Tue, 10 Aug 2021 06:38:22 -0700 (PDT) Received: from [192.168.0.22] (cpc104104-brig22-2-0-cust548.3-3.cable.virginm.net. [82.10.58.37]) by smtp.googlemail.com with ESMTPSA id v6sm23610930wru.50.2021.08.10.06.38.21 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 10 Aug 2021 06:38:21 -0700 (PDT) To: internals@lists.php.net References: Message-ID: <09e013c7-7104-82be-6711-41f74d9f1666@gmail.com> Date: Tue, 10 Aug 2021 14:38:21 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB Subject: Re: [PHP-DEV] Re: [RFC] Nullable intersection types From: rowan.collins@gmail.com (Rowan Tommins) On 10/08/2021 13:39, Nicolas Grekas wrote: > I will wait if I don't have the choice, but as many others reported, the > experience with 7.0 missing nullability was a pain. Apologies if you already did and I've forgotten, but could you please expand on what "pain" you are referring to here? Firstly, I'm guessing we're talking about return types here, since parameters have had types since 5.0, and nullable types since 5.1 with the "TypeName $foo = null" syntax? Secondly, do you mean you postponed your adoption of the feature, or was there some larger issue? Regards, -- Rowan Tommins [IMSoP]