All global variables should be within a function or class

You can do something like this in functions.php

function my_global_var(){

   global $global_var;

   return $global_var;

}

And now in any file you can call it as

$my_global_var = my_global_var()

and further use it as

if('1'  === $my_global_var['property_name']) :

// do something

endif;