Re: Re: [RFC][VOTE] Nullable Types
| From: | Levi Morrison | Date: | Tue, 10 May 2016 20:26:33 +0000 |
| Subject: | Re: Re: [RFC][VOTE] Nullable Types | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-93168@lists.php.net to get a copy of this message | ||
On Tue, May 10, 2016 at 1:13 PM, Lester Caine <lester@lsces.co.uk> wrote:
> On 10/05/16 17:27, Levi Morrison wrote:
>> Voting will close on Friday, May 20th, 2016 sometime in the evening of UTC-6.
>
> Quick question ... if I simply strip this extra '?' if some library has
> added it will it actually make any difference to the results?
> I still think the whole concept of 'null' needs much better
> documentation in relation to how it fits in generally.
>
> --
> Lester Caine - G8HFL
> -----------------------------
> Contact - http://lsces.co.uk/wiki/?page=contact
> L.S.Caine Electronic Services - http://lsces.co.uk
> EnquirySolve - http://enquirysolve.com/
> Model Engineers Digital Workshop - http://medw.co.uk
> Rainbow Digital Media - http://rainbowdigitalmedia.co.uk
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
It can affect the results.
function foo(?Foo $param) {}
If any code out there is calling foo with null then that code will now
break if you remove the question mark.