Re: [PHP4BETA] Is this a good idea for an operator?
| From: | Cary Collett | Date: | Tue, 03 Aug 1999 12:26:04 +0000 |
| Subject: | Re: [PHP4BETA] Is this a good idea for an operator? | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3063@lists.php.net to get a copy of this message | ||
Thus spake Manuel Lemos (mlemos@acm.org):
> Hello Michael,
>
> On 03-Aug-99 06:50:18, you wrote:
>
> >> > if ($action in ("modify","create","delete")) {
> >>
Coming from Python, (if blah in listblah: ...) I have to say I
prefer this of all the options presented so far. To me it's the
cleanest and easiest to read.
Cary