Does PHP allow class functions & properties to share the same name?
<p>An old colleague of mine wrote this in our code:</p>

<pre><code>public function paginate() {
    return $this-&gt;paginate;
}
</code></pre>

<p>And I was wondering: does this return the function paginate() or the class property $paginate?</p>

<p>I'm guessing the latter, but it is strange that I haven't found any information on this subject.</p>
