1<documentation title="Variable Names">
2    <standard>
3    <![CDATA[
4    Variable names should be camelCased with the first letter lowercase.  Private and protected member variables should begin with an underscore
5    ]]>
6    </standard>
7    <code_comparison>
8        <code title="Valid: A multi-word variable uses camel casing.">
9        <![CDATA[
10<em>$testNumber</em> = 1;
11        ]]>
12        </code>
13        <code title="Invalid: A multi-word variable uses underscores and initial capitalization.">
14        <![CDATA[
15<em>$Test_Number</em> = 1;
16        ]]>
17        </code>
18    </code_comparison>
19    <code_comparison>
20        <code title="Valid: A private member variable begins with an underscore.">
21        <![CDATA[
22class Foo
23{
24    private $<em>_</em>bar;
25}
26        ]]>
27        </code>
28        <code title="Invalid: A private member variable does not begin with an underscore.">
29        <![CDATA[
30class Foo
31{
32    private $bar;
33}
34        ]]>
35        </code>
36    </code_comparison>
37</documentation>
38