title: how to use a variable created in local scope "without assigning" in global
body: <p>I'm trying to use a variable created in local scope without assigning that variable in global. Look what I mean :</p>
  
  <pre><code>&lt;?
  function foo(){
      $bar = inside;
  }
  foo();
  echo $bar; // It will give an error that $bar is not assigned
  ?&gt;
  </code></pre>
  
  <p>Now you may have understood what I'm trying..? Yes I want to echo that $bar without assigning it in global scope.</p>
  
  <p>Some coding examples are well-honored.</p>
  
  <p>Thanks in Advance</p>