Passing data between functions in PHP
<p>Let's take a simple example:</p>

<pre><code>Class someClass{

function __construct($param1,$param2){



}

function foo(){



}

}
</code></pre>

<p>How do I use $param1 &amp; param2 in foo() function?</p>
