[PHP] Re: OO in PHP5.0 - Referencing Object or not?!

2004-08-22 Thread Daniel Schierbeck
L0t3k wrote: Raffael, object in PHP5 _are_ passed by reference. internally, objects are handles unique to a request, so all youre doing is passing a handle around. note, however, that simple variable access will _always_ be faster than method calls. this is true in C as well as PHP, except in P

[PHP] Re: OO in PHP5.0 - Referencing Object or not?!

2004-08-22 Thread l0t3k
Raffael, object in PHP5 _are_ passed by reference. internally, objects are handles unique to a request, so all youre doing is passing a handle around. note, however, that simple variable access will _always_ be faster than method calls. this is true in C as well as PHP, except in PHP the effec

Re: [PHP] Re: OO in PHP5.0 - Referencing Object or not?!

2004-08-22 Thread Raffael Wannenmacher
Daniel Schierbeck wrote: Raffael Wannenmacher wrote: hello together look at the following code ... why is this .. -- code start if ( is_object($this->getManagerObject()->getDataFieldManager()) ) { for ( $j = 0; $j < $this->getManagerObject()->getDataFieldManager()->getCount(); $j++ ) { if ( $this

[PHP] Re: OO in PHP5.0 - Referencing Object or not?!

2004-08-22 Thread Daniel Schierbeck
Raffael Wannenmacher wrote: hello together look at the following code ... why is this .. -- code start if ( is_object($this->getManagerObject()->getDataFieldManager()) ) { for ( $j = 0; $j < $this->getManagerObject()->getDataFieldManager()->getCount(); $j++ ) {