Re: Where is the EG macro defined?
| From: | Keisial | Date: | Wed, 28 Oct 2009 23:01:08 +0000 |
| Subject: | Re: Where is the EG macro defined? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-45891@lists.php.net to get a copy of this message | ||
Mark Skilbeck wrote:
> I'd like to check out how the EG macro (I assume it's a macro) works.
> However, I cannot find it :(
>
Zend/zend_globals_macros.h
EG means executor_globals. This macro provides access to the value named
in the parameter.
If running without multi-thread support, it's just a call to the struct,
else it expands for accessing the one
for the current instance (via the hidden __tsrm parameter).