»Leotta, Natalie (NCI/IMS)« sagte am 2002-04-23 um 16:37:37 -0400 :
> Wow.  Now I'm feeling dumb...  It does work with my non-array vars though -

Yes, it doesn't suprise me that it works with non arrays.  The parser
doesn't seem to be clever enough to catch that you want to pass [0] as
the array index to the class var apcs of $this.  Instead of doing it the
way I just suggested, you could have also done "{$this->apcs[0]}", I
think.  I seem to remember that this also should be possible - but IMO
that's even a lot more broken than my way and I've never used it.

> Thanks!!


Alexander Skwar
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:       http://www.iso-top.de      |    Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
                       Uptime: 14 hours 58 minutes

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to