Re: CS discussion
| From: | Greg Beaver | Date: | Mon, 28 Jul 2003 20:14:54 +0000 |
| Subject: | Re: CS discussion | ||
| References: | 1 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-74@lists.php.net to get a copy of this message | ||
Lukas Smith wrote:
I would like to extend this to also include a standard on how to break up such structures across multiple lines <?php if ((condition1)Hi, This looks nice, but there is a high chance of confusion between ) and } if ((condition1)|| (condition2)) {action1;} elseif ((condition3)&& (condition4)) {action2;} else {defaultaction;} ?>
|| (condition2)) { if ((condition1)
|| (condition2)} { Many users might interpret this CS to mean the latter and get very confused. Greg