1<documentation title="Default Values in Function Declarations">
2    <standard>
3    <![CDATA[
4    Arguments with default values go at the end of the argument list.
5    ]]>
6    </standard>
7    <code_comparison>
8        <code title="Valid: argument with default value at end of declaration">
9        <![CDATA[
10function connect($dsn, <em>$persistent = false</em>)
11{
12    ...
13}
14        ]]>
15        </code>
16        <code title="Invalid: argument with default value at start of declaration">
17        <![CDATA[
18function connect(<em>$persistent = false</em>, $dsn)
19{
20    ...
21}
22        ]]>
23        </code>
24    </code_comparison>
25</documentation>
26