title: Accessing variable outside foreach loop
body: <p>what is the scope of a variable declared in this way:</p>
  
  <pre><code>foreach $variable (&lt;FILE&gt;){
      if($variable...){
  
      }
  }
  print "$variable \n";
  </code></pre>
  
  <p>is it possible to use it outside loop?</p>
  
  <p>thanks in advance.</p>