Those are macros that are defined only if PHP's Thread-Safe Resource Manager is enabled at compile time; it passes in additional information needed by the TSRM.
2012/3/19 Barbu Paul Gheorghe <paullik.p...@gmail.com> > Hello! > > What role does the keywords TSRMLS_CC, TSRMLS_DC, TSRMLS_D have when > passed along with a argument in PHP's source? > For example in this random file: > > http://lxr.php.net/opengrok/**xref/PHP_5_4/ext/intl/** > formatter/formatter_data.c<http://lxr.php.net/opengrok/xref/PHP_5_4/ext/intl/formatter/formatter_data.c> > > > I don't even know if "keyword" is the right technical term for it because > it's the first time I see this kind of call in C: > > foo(data_type variable_name "keyword"); > > -- > Barbu Paul - Gheorghe > Common sense is not so common - Voltaire > Visit My GitHub profile to see my open-source projects - > https://github.com/paullik > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >