On Sun, Jan 12, 2003 at 12:53:12PM -0600, Michael Sims wrote:

> My apologies if this has been brought up before, but I searched the
> archives and couldn't find a reference to it.
> 
> I'm sure this is the sort of thing that would have already been
> implemented if there was any desire for it among the developers, but I
> was wondering if anyone had considered adding support for an "unless"
> control structure, similar to the one Perl has.  I personally find it
> much more logical in certain cases.
 
While it would no doubt be easy to implement, I would consider it
unnecessary syntactic sugar.  Besides, it actually ends up using
_more_ characters ("unless(":7, "if(!":4) in the long run.

-- 
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/)

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

Reply via email to