Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93409 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53602 invoked from network); 20 May 2016 07:29:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 May 2016 07:29:16 -0000 Authentication-Results: pb1.pair.com header.from=mailing@pascal-martin.fr; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=mailing@pascal-martin.fr; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain pascal-martin.fr designates 91.121.85.26 as permitted sender) X-PHP-List-Original-Sender: mailing@pascal-martin.fr X-Host-Fingerprint: 91.121.85.26 ns362529.ip-91-121-85.eu Received: from [91.121.85.26] ([91.121.85.26:33352] helo=pascal-martin.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 72/28-05406-7CCBE375 for ; Fri, 20 May 2016 03:29:13 -0400 Received: from [192.168.0.11] (home.squalenet.net [82.225.233.238]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pascal-martin.fr (Postfix) with ESMTPSA id A1A26E008C for ; Fri, 20 May 2016 09:29:08 +0200 (CEST) To: internals@lists.php.net References: Message-ID: <947fb8cd-dfae-2d2a-3362-44b1b7e8aad3@pascal-martin.fr> Date: Fri, 20 May 2016 09:29:07 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------0E699B802BD647A9FE2D778A" Subject: Re: [PHP-DEV] [RFC][VOTE] Nullable Types From: mailing@pascal-martin.fr ("Pascal MARTIN, AFUP") --------------0E699B802BD647A9FE2D778A Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Le 10/05/2016 à 17:22, Levi Morrison a écrit : > Dmitry and I have opened [voting on Nullable Types][1]. > [1]: https://wiki.php.net/rfc/nullable_types#voting_choices Hi, At AFUP, we would be +1 for having nullable types, for both parameters and return values. It often seems, with PHP 7.0, this specific feature is missing ;-) A few indicated "int?" would have seemed more familiar than "?int", but it doesn't seem like a deal-breaker; and being close to Hack is more important than being close to - say - C#. In our discussions, more (not a big margin though) were +1 for nullable types on parameters than on return values; no deal-breaker here either. Anyway, happy to see votes are going well and nullables types are more than likely coming for PHP 7.1! Thanks for you work on this! -- Pascal MARTIN, AFUP - French UG http://php-internals.afup.org/ --------------0E699B802BD647A9FE2D778A--