<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>[PHP-DEV] TSRMLS_* keywords in PHP source</title>
        <description> 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


I don't even know if &amp;quot;keyword&amp;quot; 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 &amp;quot;keyword&amp;quot;);

-- 
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</description>
        <link>http://www.serverphorums.com/read.php?7,465142,465142#msg-465142</link>
        <lastBuildDate>Sat, 25 May 2013 13:07:08 +0200</lastBuildDate>
        <generator>Phorum 5.2.18</generator>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,465142,466167#msg-466167</guid>
            <title>Re: [PHP-DEV] TSRMLS_* keywords in PHP source</title>
            <link>http://www.serverphorums.com/read.php?7,465142,466167#msg-466167</link>
            <description><![CDATA[ Hi,<br />
<br />
You can find some additional information in this blog post<br />
<a href="http://blog.golemon.com/2006/06/what-heck-is-tsrmlscc-anyway.html" target="_blank"  rel="nofollow">http://blog.golemon.com/2006/06/what-heck-is-tsrmlscc-anyway.html</a><br />
<br />
Regards,<br />
<br />
2012/3/19 Barbu Paul Gheorghe &lt;paullik.paul@gmail.com&gt;<br />
<br />
&gt; Hello!<br />
&gt;<br />
&gt; What role does the keywords TSRMLS_CC, TSRMLS_DC, TSRMLS_D have when<br />
&gt; passed along with a argument in PHP's source?<br />
&gt; For example in this random file:<br />
&gt;<br />
&gt; <a href="http://lxr.php.net/opengrok/**xref/PHP_5_4/ext/intl/" target="_blank"  rel="nofollow">http://lxr.php.net/opengrok/**xref/PHP_5_4/ext/intl/</a>**<br />
&gt; formatter/formatter_data.c<a href="http://lxr.php.net/opengrok/xref/PHP_5_4/ext/intl/formatter/formatter_data.c" target="_blank"  rel="nofollow">http://lxr.php.net/opengrok/xref/PHP_5_4/ext/intl/formatter/formatter_data.c</a><br />
&gt;<br />
&gt;<br />
&gt; I don't even know if &quot;keyword&quot; is the right technical term for it because<br />
&gt; it's the first time I see this kind of call in C:<br />
&gt;<br />
&gt; foo(data_type variable_name &quot;keyword&quot;);<br />
&gt;<br />
&gt; --<br />
&gt; Barbu Paul - Gheorghe<br />
&gt; Common sense is not so common - Voltaire<br />
&gt; Visit My GitHub profile to see my open-source projects -<br />
&gt; <a href="https://github.com/paullik" target="_blank"  rel="nofollow">https://github.com/paullik</a><br />
<br />
-- <br />
Yannick<br />
<br />
-- <br />
PHP Internals - PHP Runtime Development Mailing List<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Yannick Komotir</dc:creator>
            <category>php-internals</category>
            <pubDate>Wed, 21 Mar 2012 11:40:07 +0100</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,465142,465207#msg-465207</guid>
            <title>Re: [PHP-DEV] TSRMLS_* keywords in PHP source</title>
            <link>http://www.serverphorums.com/read.php?7,465142,465207#msg-465207</link>
            <description><![CDATA[ On Mon, March 19, 2012 2:45 pm, Barbu Paul Gheorghe wrote:<br />
&gt; What role does the keywords TSRMLS_CC, TSRMLS_DC, TSRMLS_D have when<br />
&gt; passed<br />
&gt; along with a argument in PHP's source?<br />
&gt; For example in this random file:<br />
&gt;<br />
&gt; <a href="http://lxr.php.net/opengrok/xref/PHP_5_4/ext/intl/formatter/formatter_data.c" target="_blank"  rel="nofollow">http://lxr.php.net/opengrok/xref/PHP_5_4/ext/intl/formatter/formatter_data.c</a><br />
&gt;<br />
&gt;<br />
&gt; I don't even know if &quot;keyword&quot; is the right technical term for it<br />
&gt; because it's<br />
&gt; the first time I see this kind of call in C:<br />
<br />
It's a macro.<br />
<br />
You can find it in the zend / tsrm files.<br />
<br />
If I recall correctly the _CC and _DC and _D have to do with whether<br />
you need a comma (,) after the macro or not...<br />
<br />
It's been awhile, so don't quote me on that.<br />
<br />
-- <br />
brain cancer update:<br />
<a href="http://richardlynch.blogspot.com/search/label/brain%20tumor" target="_blank"  rel="nofollow">http://richardlynch.blogspot.com/search/label/brain%20tumor</a><br />
Donate:<br />
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=FS9NLTNEEKWBE" target="_blank"  rel="nofollow">https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=FS9NLTNEEKWBE</a><br />
<br />
<br />
<br />
-- <br />
PHP Internals - PHP Runtime Development Mailing List<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Richard Lynch</dc:creator>
            <category>php-internals</category>
            <pubDate>Mon, 19 Mar 2012 22:00:02 +0100</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,465142,465154#msg-465154</guid>
            <title>Re: [PHP-DEV] TSRMLS_* keywords in PHP source</title>
            <link>http://www.serverphorums.com/read.php?7,465142,465154#msg-465154</link>
            <description><![CDATA[ Those are macros that are defined only if PHP's Thread-Safe Resource<br />
Manager is enabled at compile time; it passes in additional information<br />
needed by the TSRM.<br />
<br />
2012/3/19 Barbu Paul Gheorghe &lt;paullik.paul@gmail.com&gt;<br />
<br />
&gt; Hello!<br />
&gt;<br />
&gt; What role does the keywords TSRMLS_CC, TSRMLS_DC, TSRMLS_D have when<br />
&gt; passed along with a argument in PHP's source?<br />
&gt; For example in this random file:<br />
&gt;<br />
&gt; <a href="http://lxr.php.net/opengrok/**xref/PHP_5_4/ext/intl/" target="_blank"  rel="nofollow">http://lxr.php.net/opengrok/**xref/PHP_5_4/ext/intl/</a>**<br />
&gt; formatter/formatter_data.c<a href="http://lxr.php.net/opengrok/xref/PHP_5_4/ext/intl/formatter/formatter_data.c" target="_blank"  rel="nofollow">http://lxr.php.net/opengrok/xref/PHP_5_4/ext/intl/formatter/formatter_data.c</a><br />
&gt;<br />
&gt;<br />
&gt; I don't even know if &quot;keyword&quot; is the right technical term for it because<br />
&gt; it's the first time I see this kind of call in C:<br />
&gt;<br />
&gt; foo(data_type variable_name &quot;keyword&quot;);<br />
&gt;<br />
&gt; --<br />
&gt; Barbu Paul - Gheorghe<br />
&gt; Common sense is not so common - Voltaire<br />
&gt; Visit My GitHub profile to see my open-source projects -<br />
&gt; <a href="https://github.com/paullik" target="_blank"  rel="nofollow">https://github.com/paullik</a><br />
&gt;<br />
&gt; --<br />
&gt; PHP Internals - PHP Runtime Development Mailing List<br />
&gt; To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a><br />
&gt;<br />
&gt;]]></description>
            <dc:creator>Jelle Zijlstra</dc:creator>
            <category>php-internals</category>
            <pubDate>Mon, 19 Mar 2012 21:00:02 +0100</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?7,465142,465142#msg-465142</guid>
            <title>[PHP-DEV] TSRMLS_* keywords in PHP source</title>
            <link>http://www.serverphorums.com/read.php?7,465142,465142#msg-465142</link>
            <description><![CDATA[ Hello!<br />
<br />
What role does the keywords TSRMLS_CC, TSRMLS_DC, TSRMLS_D have when passed <br />
along with a argument in PHP's source?<br />
For example in this random file:<br />
<br />
<a href="http://lxr.php.net/opengrok/xref/PHP_5_4/ext/intl/formatter/formatter_data.c" target="_blank"  rel="nofollow">http://lxr.php.net/opengrok/xref/PHP_5_4/ext/intl/formatter/formatter_data.c</a><br />
<br />
<br />
I don't even know if &quot;keyword&quot; is the right technical term for it because it's <br />
the first time I see this kind of call in C:<br />
<br />
foo(data_type variable_name &quot;keyword&quot;);<br />
<br />
-- <br />
Barbu Paul - Gheorghe<br />
Common sense is not so common - Voltaire<br />
Visit My GitHub profile to see my open-source projects - <a href="https://github.com/paullik" target="_blank"  rel="nofollow">https://github.com/paullik</a><br />
<br />
-- <br />
PHP Internals - PHP Runtime Development Mailing List<br />
To unsubscribe, visit: <a href="http://www.php.net/unsub.php" target="_blank"  rel="nofollow">http://www.php.net/unsub.php</a>]]></description>
            <dc:creator>Barbu Paul Gheorghe</dc:creator>
            <category>php-internals</category>
            <pubDate>Mon, 19 Mar 2012 20:50:24 +0100</pubDate>
        </item>
    </channel>
</rss>
