RE: [PHP4BETA] Is this a good idea for an operator?

From: Date: Tue, 03 Aug 1999 07:48:53 +0000
Subject: RE: [PHP4BETA] Is this a good idea for an operator?
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-3057@lists.php.net to get a copy of this message
> > if ($action || ("modify", "create", "delete")) { > > > > I think this is better also > > or even: > > if ($action == ("||","modify", "create", "delete")) { > > if ($action == ("&&","modify", "create", > "delete")) { > > if ($action != ("&&","modify", "create", > "delete")) { > > Michael I don't know about those.... first off it's just not as clean and I had to look at it a few times before I had a clear idea what it's doing... nothing like C or anything else at all. But that's MHO :) John

« previous php.version4 (#3057) next »