RE: [PHP4BETA] Is this a good idea for an operator?
| From: | John Coggeshall | Date: | Tue, 03 Aug 1999 07:50:01 +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-3058@lists.php.net to get a copy of this message | ||
> Dont know if this is taken but i'd like:
>
> if($action =& ("modify","create","delete")) {
>
> if($action =| ("modify","create","delete")) {
>
> if($action !& ("modify","create","delete")) {
what about
if($action !| ("modify","create","delete")) {
I don't know about you.. .but if I'm glancing I'm MUCh more likely to miss
!| (mistaken for a ||) than
if($action || !("modify", "create", "delete")) {
John