On 28 Jan 2010, at 0:41, Wade Preston Shearer wrote:

I sure hope this question makes sense.

I have a script that includes another script. I want the code in the second script to inherit the scope of the first but I don't want it contribute to the scope. Is that possible? Including the file within a function will prevent it from contributing, but it also prevents it from having access to the parents scope.

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?

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

Reply via email to