In the hope that joining the discussion as a non-developer 
isn't considered rude behaviour...

> Wez wrote:
> Derick wrote:
> > Other possibilities:
> > 
> > ifset
> > default
> 
> default is already used in switch

Just another idea for you internals guys:

  $foo = firstset($bar, $baz [, $quux [, ...]]);

Assigns the first isset arg to $foo.

This would make one nice use of Sascha's GCC style
suggestion possible:

  $foo = $bar ?: $baz ?: $quux;

But personally, I would prefer the GCC style syntax.

Hans

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

Reply via email to