I think you are either going to have to do some funky $global action
(like what you describe), or wrap the different scopes in functions
and pass the data around.

PHP only does data scoping in obvious places, like functions, classes
and methods.  Unless you get into the new namespace support there's no
per file scoping.


On Thu, Jan 28, 2010 at 12:57 AM, Wade Preston Shearer
<[email protected]> wrote:
> A solution I have come up with is to extract $globals within the function.
> Is there any reason to not do such a thing? processing? security


-- 
Joseph Scott
[email protected]
http://josephscott.org/

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to