Re: [PHP-DEV] not_null function

2014-07-04 Thread Xen
Op Fri, 04 Jul 2014 14:34:17 +0200 schreef Robert Stoll : [Robert Stoll] I really like how ruby tackles this problem with the syntactic sugar "unless" which basically is a substitute for "if( !() )". Maybe we could consider to introduce it in PHP next? It is very natural to read "unless(is_

Re: [PHP-DEV] not_null function

2014-07-04 Thread Xen
On Fri, 4 Jul 2014, Levi Morrison wrote: For completeness, it is available in Perl and I believe Perl had it first; not completely sure though. Okay, I never used Perl. I don't think changing isset would be beneficial, sadly. I wish it only checked that a variable exists and didn't do the no