ScriptCase Transformando la variable local a global

Note 1: A local variable can be a global variable if you use sc_set_global
$var3 = 'testing';                          // var3 is a local variable
sc_set_global($var3);                    // transforming var3 in a global variable
echo [var3] ." global variables";       // Now we can call [var3] in any other event
Elated Eagle