Так должно сработать.
Код:
$newvar = "dsa";
function new1 () {
global $newvar;
echo $newvar;
return 0;
}
echo new1();