Re: References

From: Date: Sat, 30 Aug 2003 14:22:55 +0000
Subject: Re: References
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-4265@lists.php.net to get a copy of this message
On Sat, 30 Aug 2003 LingWitt@insightbb.com wrote: > The current support for references is mediocre at best. For instance: > > class foobar > { > var $variable; > > function foobar() > { > $variable = "foobar"; > } > } > > //This form of new assignment should be the default > $a = & new foobar(); > $b = & new foobar(); > $b->variable = "Hello"; Try PHP 5, and stop mailing those user questions to the internals development list. Derick -- "Interpreting what the GPL actually means is a job best left to those that read the future by examining animal entrails." ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ International PHP Magazine http://php-mag.net/ -------------------------------------------------------------------------

« previous php.internals (#4265) next »