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
- Re: [PHP-DEV] Constant Classes medvitz
- Re: [PHP-DEV] Constant Classes fabwash
- Re: [PHP-DEV] Constant Classes Zeev Suraski
- Re: [PHP-DEV] Constant Classes medvitz
- Re: [PHP-DEV] Constant Classes Stig S. Bakken
- Re: [PHP-DEV] Constant Classes Medvitz
- Re: [PHP-DEV] Constant Classes brad lafountain
- Re: [PHP-DEV] Constant Classes Zeev Suraski
