title: If you create a variable inside a if statement is it available outside the if statement?
body: <p>If you have an if statement like this:</p>
  
  <pre><code>&lt;?php
  $a = 1;
  $b = 2;
  if ($a &lt; $b) {
  $c = $a+$b;
  }
  ?&gt;
  </code></pre>
  
  <p>Would you be able to access the $c variable outside of the if statement like so:</p>
  
  <pre><code>&lt;?php
  $a = 1;
  $b = 2;
  if ($a &lt; $b) {
  $c = $a+$b;
  }
  echo $c
  ?&gt;
  </code></pre>