On Fri, Sep 18, 2015 at 9:35 AM, Rowan Collins <rowan.coll...@gmail.com>
wrote:

>
>
> If what you want to write is "if ( ! exists($foo) || is_null($foo) ) { ...
> }" then that is exactly what "if ( isset($foo) )" will give you, without
> any notices whatsoever.

Conversely, if what you want to write is "if ( exists($foo) &&
is_null($foo) ) { ... }"  then there is no way to do that currently.

I personally agree with you Rowan, that this feels like an unnecessary
addition to the language. On the other hand, I see no reason it shouldn't
exist if its a feature users want, especially considering its impossible to
implement in userland.

Reply via email to