1
<documentation title="Side Effects">
4
A php file should either contain declarations with no side effects, or should just have logic (including side effects) with no declarations.
8
<code title="Valid: A class defined in a file by itself.">
16
<code title="Invalid: A class defined in a file with other code.">
23
<em>echo "Class Foo loaded."</em>