I have a require("config.php") with arrays, but still get Undefined variable error.... use global global $variable;