Re: what means is 'CC' and 'DC' in the 'TSRMLS_CC' and'TSRMLS_DC' ?
| From: | Tim Starling | Date: | Sun, 21 Jan 2007 22:21:40 +0000 |
| Subject: | Re: what means is 'CC' and 'DC' in the 'TSRMLS_CC' and'TSRMLS_DC' ? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-27569@lists.php.net to get a copy of this message | ||
Johannes Schlüter wrote:
> Hi,
>
> On Mon, 2007-01-22 at 04:11 +0800, yAnbiN wrote:
>> Hi!
>> I know that the 'TSRMLS' is an abbreviation of 'Thread Safe Resource Manager
>>
>> Local Storage', but what means is 'CC' and 'DC' in the
>> 'TSRMLS_CC' and
>> 'TSRMLS_DC' ?
>
> This has been asked multiple times before on this list, but once again:
>
> _CC - call with comma
> _C - call (without comma)
> _DC - declaration with comma
> _D - declaration (w/o comma)
>
> johannes
RTFM
http://www.php.net/manual/en/tsrm.php
Hmmm.... OK, maybe someone should WTFM. Well in the meantime, we can
always just read the detailed comments in the source, right?
-- Tim Starling