Re: [PHP-DEV] Re: objects passed as reference in php5

2004-08-10 Thread Andi Gutmans
Yep. It was decided not to go down that route. You should have a good enough handle of your application to know where you are referencing global objects from (local ones are destroyed once a function is terminated). If you don't, well, maybe try and improve the code which deals with global objec

Re: [PHP-DEV] Re: objects passed as reference in php5

2004-08-09 Thread Marcus Boerger
Hello Curt, Monday, August 9, 2004, 7:46:07 PM, you wrote: > * Thus wrote Ron Korving: >> i think the object will only cease to exist when all references to it are >> gone > Well there does seem to be another layer of referencing, since the > a simple assignment without &$ will simply reference

Re: [PHP-DEV] Re: objects passed as reference in php5

2004-08-09 Thread Curt Zirzow
* Thus wrote Ron Korving: > i think the object will only cease to exist when all references to it are > gone Well there does seem to be another layer of referencing, since the a simple assignment without &$ will simply reference the object but in a different way. The problem I'm running into ther

Re: [PHP-DEV] Re: objects passed as reference in php5

2004-08-08 Thread Marcus Boerger
Hello Ron, that's prefectly correct. regards marcus Sunday, August 8, 2004, 1:14:55 PM, you wrote: > i think the object will only cease to exist when all references to it are > gone > "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> >> I'm trying to document how o

[PHP-DEV] Re: objects passed as reference in php5

2004-08-08 Thread Ron Korving
i think the object will only cease to exist when all references to it are gone "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I'm trying to document how objects are passed to functions in php5, > but am running into some troubles. > > In the code below the object app