Constant Classes

From: Date: Sun, 14 Apr 2002 14:33:57 +0000
Subject: Constant Classes
Groups: php.dev 
Request: Send a blank email to php-dev+get-82782@lists.php.net to get a copy of this message
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

« previous php.dev (#82782) next »