Make undefined variable an error in php
<p>I have the following code snippet: </p>

<pre><code>&lt;?php
ini_set('display_errors', '1');
error_reporting(E_ALL | E_NOTICE);
print $bla;
print 7;
?&gt;
</code></pre>

<p>which prints out a warning that <code>bla</code> is undefined, but continues afterwards. I want php to throw an error and stop code execution when an undefined variable is encountered. How to do that?</p>

<p>The above is just an example. I want to handle EACH undefined variable within a multi thousand block clode piece.</p>
