Re: RFC: coding standards document

From: Date: Fri, 08 Dec 2000 21:36:29 +0000
Subject: Re: RFC: coding standards document
References: 1  Groups: php.pear 
Request: Send a blank email to php-pear+get-615@lists.php.net to get a copy of this message
Greetings friends - Regarding the "proposed" syntax (re: brace positioning), is the following correct / agreed upon ? : control structures : -------------------- if (condition) { statement; } functions : -------------------- function foo($arg) { statement; Return $val; } -------------------- I've seen conflicting reports in regards to function bracing and whether it's identical to control structure format, please advise. I prefer the difference but will of course abide by PEAR Law. And lastly, are ternary operators "okay" in regards to PEAR standards? I assume so but ... as some/(many?) are unfamiliar with there meaning and use. Regards, Philip -- be outside the box.

« previous php.pear (#615) next »