From: Alain F. <al...@va...> - 2001-04-12 15:21:33
|
Hi, Very good work. I have just noted this : " ... PHP has created a copy (a new instance) of my_class instead of just a new reference. " If I remember well, that is exactly as OO languages like C++ work are designed to work, hence the need in C++, for instance, for a "Copy Constructor". If you need a reference, you just don't use $myObj = $thatObj because that, by -definition-, will create a copy of the original object, and not a reference.... :) > -----Message d'origine----- > De : php...@li... > [mailto:php...@li...]De la part de > Brian W. Brown > Envoyé : jeudi 12 avril 2001 16:59 > À : php...@li... > Objet : [Phpwebsite-developers] phpWebSite Road Map > > [snip] |