Re: Re: big summary OO

From: Date: Mon, 13 Nov 2000 02:46:17 +0000
Subject: Re: Re: big summary OO
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-37870@lists.php.net to get a copy of this message
AL>> there´s not possibility to CHANGE global Yes there is - $GLOBALS.
I prophesied what Zeed or Andi said a few messages later, it should read: there's no possibility to CHANGE how "global" works
Well, serializing seems to work for me (I'll know if it works for others when 4.0.4 hits the masses). As for dumping - I'm still in the search for ideas on format. I'd really hate to make it multi-pass just because of this.
If it serializes circular references, I'll try to serialize one of my objects, guessing it's already checked in?
And how the puny merge function is going to know if there are other references to the old zval of $a (including global and probably others) and change them? You effectively asking to make a function to have
two addresses in memory point to the same place. I guess it's not possible
unless we build some virtual memory layer in PHP :)
I can't exactly remember how I got trying to do such merging months ago and I yet haven't thought about whether it would be a nice construct to make code mure fluent and opens ways you could not go without it or simply make code more unreadable and just helps insane programmers coding worse, but if it just isn't possible I won't think about :) andré

« previous php.dev (#37870) next »