[UPHPU] inherit scope but not contribute to?

Wade Preston Shearer wadeshearer.lists at me.com
Thu Jan 28 09:05:08 MST 2010


On 28 Jan 2010, at 3:02, Daniel C. wrote:

> On Thu, Jan 28, 2010 at 12:57 AM, Wade Preston Shearer
> <wadeshearer.lists at me.com> 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?
>
> Security, and it makes everything a big damn mess.  Then again we're
> using PHP which is itself a gigantic, stringy morass from the bottom
> up so you're really just doing what's expected.

I'm not going to do it. I had just ran across it in a forum while  
searching for a solution and was wondering what the ramifications  
would be. I ran a few tests and it actually introduced more issues in  
my code than it resolved. I am taking a difference approach.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3392 bytes
Desc: not available
Url : http://uphpu.org/pipermail/uphpu/attachments/20100128/42e5e63b/attachment.bin 


More information about the UPHPU mailing list