NYCPHP Meetup

NYPHP.org

[nycphp-talk] OO PHP-Gtk

Scott Mattocks crisscott at netzero.com
Fri Apr 16 08:02:57 EDT 2004


> With the ampersand they *should* be called correctly, whereas without 
> the ampersand each will work on it's own *copy* of $this.

Yup, that was the problem.  I was passing $this by reference to the two 
methods I thought were misbehaving but not to the methods that was being 
used to call those two methods.  So they were working on references of 
copies of my class.  Thanks for the help Dan and Chris.

Scott Mattocks



More information about the talk mailing list