PHP Call a function from another function in same class
<p>I am unable figure out how to make this work any help will be appreciated</p>

<pre><code>&lt;?php
 class some{

function display()
{
    $w ="its working";
    $this-&gt;show($w);

}
function show($s)
{
    echo $s;
}

}

?&gt;
</code></pre>