diff options
author | Hartmut Holzgraefe <hholzgra@php.net> | 2002-01-23 09:52:28 +0000 |
---|---|---|
committer | Hartmut Holzgraefe <hholzgra@php.net> | 2002-01-23 09:52:28 +0000 |
commit | 22c3da8f9c30dd6116ba733ba6653ed60a83cd80 (patch) | |
tree | 4eb4e6d7fb5a91d26d2e47240d9a98c7ca6b68e8 /apidoc-zend.txt | |
parent | 7ce2b21354494bc9623b379a335cf1af76a07484 (diff) | |
download | php-git-22c3da8f9c30dd6116ba733ba6653ed60a83cd80.tar.gz |
added info about FETCH macros
(written over a year ago but somehow never commited)
Diffstat (limited to 'apidoc-zend.txt')
-rw-r--r-- | apidoc-zend.txt | 4 |
1 files changed, 4 insertions, 0 deletions
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. |