Re: [PHP-DEV] Tie'ing variables

[email protected] (George Schlossnagle)
Newsgroups php.dev
Message-ID <[email protected]>
Having this sort of functionaility in general would be great.  I know 
you can affect this with objects via overload, but it is useful for 
scalars and arrays and streams as well.  It is pretty 'magical' though.

George

On Saturday, March 1, 2003, at 11:26  AM, Sterling Hughes wrote:

> I was wondering if it might be possible to "tie" these arrays to a
> function (if you don't understand that, look at Perl for a definition).
> One could populate them as an overloaded object, and then array 
> accesses
> would work - I guess.  But I would prefer a cleaner mechanism.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.