Can an object contain another object of the same type?
<p>I read several questions and answers for other languages, but did not see any specifically for PHP.</p>

<p>Would the following be valid in PHP?</p>

<pre><code>class foo 
{
    // constructor, etc..

    public function bar()
    {
        $newFoo = new foo();
        // do something
    }
}
</code></pre>
