Re: intersection types and null for defaults, properties and return types

From: Date: Mon, 19 Jul 2021 15:14:59 +0000
Subject: Re: intersection types and null for defaults, properties and return types
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-115499@lists.php.net to get a copy of this message
On Mon, Jul 19, 2021 at 6:09 PM Dan Ackroyd <Danack@basereality.com> wrote: > Prediction number 2: Having a null type in the language will happen > before PHP 9, which will enable people to have many bike-shedding > discussions over ?Bar vs Bar|null. Hasn't that already happened in 8.0? It seems to work [1] [1] https://3v4l.org/EfmJq -- Best regards, Bruce Weirdan mailto:weirdan@gmail.com

« previous php.internals (#115499) next »