From: Todd O. <to...@da...> - 2001-04-13 18:11:58
|
> > For example: > > > later versions of PHP (post 4.04pl1) have the following syntax > > $myObject =& $thatObject; > > > > $newObject =& new Widget; > > > > to deal with this issue > > does not really create a "true" reference because they don't > point to the memory > the other variable is occupying; PHP only interprets these variables as > references and acts differently. The copy syntax is still being used. http://marc.theaimsgroup.com/?l=php-dev After several hours reading the php-dev mailing list above, I gathered that the 4.0.4pl1 "fix" resolved this reference issue. Brian, could you provide more detail about the lack of a "true" reference? As I understand, the fix IS addressing the same memory space. FYI, one item I did learn from the list is that parent class constructors are not automatically called when a child class object is instantiated; you must call the parent constructor explicitly--to date, no developer is planning to change this "feature". [Knowing is half the battle] Note that the php-pear mailing list changed to pear-general, pear-dev and pear-cvs on March 15th. pear-db is great for those interested in database abstraction issues. All archives at the site above. --Todd |