On Friday, Apr 16, 2004, at 22:25 Europe/Copenhagen, Rasmus Lerdorf wrote:


On Fri, 16 Apr 2004, Derick Rethans wrote:

On Fri, 16 Apr 2004, Rasmus Lerdorf wrote:

This would lead to
$a = isset($b, 'default');

I think this is the sanest suggestion yet.

But it's already in use... (isset accepts multiple parameters and does an AND on those).

Ah, that won't work then.

How about ifexists()? Someone mentioned this on irc and I think it would work here.


Edin

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



Reply via email to