[snip] They use the One True Brace Style, which is encouraging: function fooFunction($arg1, $arg2 = '') { if (condition) { statement; } return $val; } [/snip]
At the risk of starting a flame/religious/holy war I find the One True Brace style to have some inconsistency if it is as above. The 'function' does not open the curly brace at the EOL, but the 'if' does. I also mentioned me being and old-schooler earlier today but the rules that we use in our (current) group always place the opening curly at the EOL. Also, we do not allow ternary notation. We encourage Hungarian notation, but do not require it if the documentation is clear. HTH! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php