Lester Caine wrote on 18/09/2015 17:20:
On 18/09/15 17:01, Rowan Collins wrote:
Right, so stop talking about Notices. Ignoring Notices does not get you
any closer to that goal.

And stop lecturing me about Nulls. The is_null($foo) part of that is the
part that already works fine.
ONLY if $foo actually exists!

Yes, I get it. Honestly, I do. It has nothing to do with me not understanding nulls, and nothing to do with any need to silence notices.


You don't want to disable expand() so the next step is handling the
results of importing variables for which null is a valid state but
equally their NOT having been created is equally valid.

Sure, extract() allows you to do half the trick you want to do, and exists() would allow you to do the other half. There's a logical jump from there to "if you're not going to give me exists(), you might as well take away extract()".

It's like saying "I have some cheese, but no bread; if you gave me some bread, I could make a cheese sandwich; if you're not going to give me the bread, please take away the cheese". My answer amounts to "why don't you have cheese and crackers instead, we've got plenty of those?"

Regards,
--
Rowan Collins
[IMSoP]

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to