Re: [PHP] unset() side effects in functions

2007-04-23 Thread Robert Enyedi
Rob, Thanks for the detailed explanation about the reference assignments that are happening in the background. Now things start to make sense :-) Regards, Robert Robert Cummings wrote: On Mon, 2007-04-23 at 14:04 +0300, Robert Enyedi wrote: I'm doing some experimenting with the unset() (http

Re: [PHP] unset() side effects in functions

2007-04-23 Thread Auto-Deppe, C. Haensel
ssage - From: "Robert Cummings" <[EMAIL PROTECTED]> To: "Robert Enyedi" <[EMAIL PROTECTED]> Cc: Sent: Monday, April 23, 2007 3:05 PM Subject: Re: [PHP] unset() side effects in functions On Mon, 2007-04-23 at 14:04 +0300, Robert Enyedi wrote: I'm doing

Re: [PHP] unset() side effects in functions

2007-04-23 Thread Robert Cummings
On Mon, 2007-04-23 at 14:04 +0300, Robert Enyedi wrote: > I'm doing some experimenting with the unset() (http://php.net/unset) > language construct in a PHP 5.2.1 installation. I did not find any > documentation on what happens to an identically named local variable's > value after an unset is p

[PHP] unset() side effects in functions

2007-04-23 Thread Robert Enyedi
I'm doing some experimenting with the unset() (http://php.net/unset) language construct in a PHP 5.2.1 installation. I did not find any documentation on what happens to an identically named local variable's value after an unset is performed. Let me start with this example: in function (init):