Re: [PHP] Local variable protection

2011-10-13 Thread Benjamin Coddington
On Oct 13, 2011, at 5:05 AM, Stuart Dallas wrote: > On 12 Oct 2011, at 21:06, Benjamin Coddington wrote: > >> Are there any assurances that function local variables are protected from >> code calling the function? >> >> For example, I would like to provide some c

Re: [PHP] Local variable protection

2011-10-12 Thread Benjamin Coddington
On Oct 12, 2011, at 4:24 PM, Ken Robinson wrote: > Quoting Benjamin Coddington : > >> Are there any assurances that function local variables are protected from >> code calling the function? >> >> For example, I would like to provide some cryptographic fun

[PHP] Local variable protection

2011-10-12 Thread Benjamin Coddington
Are there any assurances that function local variables are protected from code calling the function? For example, I would like to provide some cryptographic functions such as function org_secure_string($string) { $org_key = "a very random key"; return hash($string, $key); } func