Re: Re: referencing Superglobals with variable variables inside functions

From: Date: Tue, 01 Feb 2005 14:59:15 +0000
Subject: Re: Re: referencing Superglobals with variable variables inside functions
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.internals 
Request: Send a blank email to internals+get-14467@lists.php.net to get a copy of this message
>> how much does this patch slow execution down? it's one more hash lookup. >> affect speed of $var or $$var? or both? >> > AFAICS, it should make every local-variable (non-global) lookup slower. > Since it needs to do a lookup in the globals table first. > Slows the global ones too, though that can be reduced (while slightly worsening the non-global lookups) by not bothering to lookup the auto_global table if we're in the global scope already... -Sara

« previous php.internals (#14467) next »