Argh! Guys, let's not use anything that just combines 2 existing keywords. Being able to read stuff at a glance is important:
if exists(...) ifexists(...) or else if(...) ifelse(...) these would do vastly different things but look alike, and that is ungood. -Rasmus On Sat, 17 Apr 2004, Jani Taskinen wrote: > On Fri, 16 Apr 2004, Edin Kadribasic wrote: > > > > >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. > > _ __ _ ____ > (_)/ _| ___| |___ ___ / /\ \ > | | |_ / _ \ / __|/ _ \ | | | > | | _| __/ \__ \ __/ | | | > |_|_| \___|_|___/\___| | | | > \_\/_/ > > > ifelse() > > > --Jani > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php