It'll be the same object.

At 17:33 14/04/2002, medvitz wrote:


>This may have been addressed already but:
>
>If I have the following code:
>
>class Beer
>{
>    ...
>}
>
>$a = new Beer();
>
>define('BaseBeer', $a);
>
>$b = BaseBeer;
>
>
>Will $a & $b be the same object or will $b be a copy.  (Under ZE2).
>
>
>Thx.
>
>Medvitz
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to