Bug #8104 [NEW]: Possible documentation flaw.

From: Date: Mon, 03 Jul 2006 05:42:22 +0000
Subject: Bug #8104 [NEW]: Possible documentation flaw.
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-8128@lists.php.net to get a copy of this message
From: aeolianmeson at blitzeclipse dot com Operating system: Package version: PHP version: 5.1.2 Package: Documentation Bug Type: Bug Bug description: Possible documentation flaw. Description: ------------ This isn't a coding issue, but this was the method prescribed from the documentation page. On the 'Function Definitons' page in 'Coding Standards', it states that function definitions are to use Whitesmith indentation, where such is as the following: function fooFunction($arg1, $arg2 = '') { if (condition) { statement; } return $val; } This is however, the Allman style. Whitesmith style, is: function test(a, b) { call1(); } The difference is the spacing in the principle indents. I might be wrong. In that case, I am just requesting clarification. References follow below. Dustin References: http://www.komputado.com/eseoj/1tbs.htm http://en.wikipedia.org/wiki/Indent_style#BSD.2FAllman_style -- Edit bug report at http://pear.php.net/bugs/bug.php?id=8104&edit=1 --

« previous php.pear.doc (#8128) next »