global keyword outside the function in php
<p>As we know, global keyword makes variable( or object, array) visible inside current function we are dealing with</p>

<pre><code>&lt;?php

$some_var = 'some string';

function __test(){
    global $some_var;
    echo $some_var; // some string
}
</code></pre>

<p>But some dev's still use the global keyword outside the functions
at first look it doesn't make any sense to me.</p>

<p>Well, the question is: Does it make any sense to use 'global' keyword outside the function ???</p>
