variables'values lost after loop to loop and external function call
<p>My program structure is like this</p>

<pre><code>function something()
{
   $cond=array(
      'something'=&gt;$something,
      ///.....
   );
   foreach($service as $ser)
      foreach(...)
      {
         $cond['service']=$ser;
         foreach(...)
         {   
             print_r($cond);  // THIS IS VALID
             $this-&gt;CreateWiz($cond);
         }
      }
}

function CreateWiz($cond)
{
   print_r($cond);
}
</code></pre>

<p>I am wrong, but there is no value to print out in the second function. Strange.</p>

<p>Plus, how about a case in which I would like to make it shine globally so that it can be used in all classes of different files ?</p>
