Re: Re: [RFC][VOTE] Nullable Types

From: Date: Thu, 12 May 2016 11:39:56 +0000
Subject: Re: Re: [RFC][VOTE] Nullable Types
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-93268@lists.php.net to get a copy of this message
On 12/05/16 13:36, Lester Caine wrote: > On 12/05/16 11:21, Davey Shafik wrote: >> E.g. the behavior of passing executing with a null value for the >> argument is something you should be consciously making a decision on, >> and passing in null explicitly. > > I was actually getting the logic wrong... the problem with this proposal > is that I HAVE to add the '?' for many of my libraries to continue to > work simply because they do handle the null case. So what was a working > system is broken by this change. > So you already have function foo(Foo $foo = null)? No need to change anything. -- Regards, Mike

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.internals (#93268) next »