PHP: Using a variable that are inside a function
<p>I have:</p>

<pre><code>include ('functions.php');
check_blocked();
echo $blocked;
</code></pre>

<p>in functions.php, check_blocked(); exists. Inside check_blocked I got:</p>

<pre><code>global $blocked;
$blocked = '1234';
</code></pre>

<p>I want to echo $blocked variable, that are inside check_blocked().</p>

<p>It doesnt work, no output..</p>

<p>This is an example of my original problem, so please dont say that I could just have the echo inside the function, as I cannot have in my original code.</p>
