From: Hartmut Holzgraefe Date: Wed, 23 Jan 2002 09:52:28 +0000 (+0000) Subject: added info about FETCH macros X-Git-Tag: PRE_ISSET_PATCH~119 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=22c3da8f9c30dd6116ba733ba6653ed60a83cd80;p=php added info about FETCH macros (written over a year ago but somehow never commited) --- diff --git a/apidoc-zend.txt b/apidoc-zend.txt index 6cd4999dca..0add45301b 100644 --- a/apidoc-zend.txt +++ b/apidoc-zend.txt @@ -150,6 +150,10 @@ LS stands for 'Local Storage', _C stands for Call and _CC stands for Call Comma, _D stands for Declaration and _DC stands for Declaration Comma. Note that there's NO comma between the last argument and ???LS_DC or ???LS_CC. +If you do not pass the structure as an argument you can always fetch it by +using the appropriate ???LS_FETCH() macros within a functions variable +declarations. + In general, every module that makes use of globals should use this approach if it plans to be thread safe.