Re: Constant Classes

From: Date: Sun, 14 Apr 2002 21:00:19 +0000
Subject: Re: Constant Classes
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-82795@lists.php.net to get a copy of this message
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


« previous php.dev (#82795) next »