Subversion Repositories Applications.framework

Rev

Rev 5 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5 aurelien 1
<documentation title="Parameter Spacing in Function Calls">
2
	<standard>
3
    <![CDATA[
4
     There must be one space between a comma and a parameter in a function call.
5
    ]]>
6
	</standard>
7
	<code_comparison>
8
		<code title="Valid: spaces between parameters">
9
        <![CDATA[
10
$var = foo($bar<em>, </em>$baz<em>, </em>$quux);
11
        ]]>
12
		</code>
13
		<code title="Invalid: no space between commas and parameters">
14
        <![CDATA[
15
$var = foo($bar<em>,</em>$baz<em>,</em>$quux);
16
        ]]>
17
		</code>
18
	</code_comparison>
19
</documentation>