Re: Re: Strange notation to create object
| From: | Robert Cummings | Date: | Fri, 24 Jun 2005 01:54:49 +0000 |
| Subject: | Re: Re: Strange notation to create object | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-217529@lists.php.net to get a copy of this message | ||
On Thu, 2005-06-23 at 21:44, Matthew Weier O'Phinney wrote:
> * Jason Barnett <jason.barnett@telesuite.com> :
> > Matthew Weier O'Phinney wrote:
> > ...
> > > This doesn't demonstrate what the OP was talking about, which is initial
> > > assignment of an object using a reference operator. The results of this
> > > make perfect sense to me -- the references are passed exactly as I would
> > > expect.
> >
> > But not exactly as I would expect! I thought that all objects were
> > created as references, but apparently this is not the case.
There's a difference between a reference to a reference and a copy of a
reference *hehehe*.
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'