oops, forgot the list.
i think no lang extension is needed. here is my reason - you can very easy
test for isset, what about !isset? then the condition will be or not and and
all the thing becomes messy.
b.
----- Original Message -----
From: "Boian Bonev" <[EMAIL PROTECTED]>
To: "Gavin Sherry" <[EMAIL PROTECTED]>; "Cameron" <[EMAIL PROTECTED]>
Sent: Monday, March 19, 2001 2:23 PM
Subject: Re: [PHP-DEV] feature request
> hi,
>
> better write you own checker in php... and implement and/or...
> here is a sample :-)))
>
> <?
> function isset_and() {
> $numargs=func_num_args();
> $tt=func_get_arg($i);
> $res=isset($tt);
> for ($i=1;$i<$numargs;$i++) {
> $tt=func_get_arg($i);
> echo "$tt\n";
> $res&=isset($tt);
> }
> return $res;
> }
> $a='asda';
> $b='asa';
> echo isset_and($a,$b,$c);
> echo "\n";
> $c='asa';
> echo isset_and($a,$b,$c);
> ?>
>
>
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]