Re: [PEPr] Comment on RFC::Coding standard enhancements
| From: | Helgi Þormar Þorbjörnsson | Date: | Mon, 03 Nov 2008 19:28:22 +0000 |
| Subject: | Re: [PEPr] Comment on RFC::Coding standard enhancements | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-51008@lists.php.net to get a copy of this message | ||
On Mon, Aug 25, 2008 at 1:47 PM, Christian Weiske <cweiske@cweiske.de> wrote:
> Hello Stefan,
>
>
>> The split function definition part is contradicting the current standard,
>> where the opening brace of the function definition is on its own line.
> Yes, and that's intentional. You will be free to do both variants.
>
> function a()
> {
> //blubb
> }
>
> function b(
> $with, $too, $much,
> $parameters
> ) {
> //blubb
> }
Really ? I think it should be:
function b($with, $too, $much,
$parameters)
{
//blubb
}
Stays more in line with the current standard.
- Helgi