<?php $GLOBALS['hello']='hello'; function test() { var_dump($GLOBALS['hello']); } test();
info at phpclasses dot org