<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: PHP: The @ Operator</title>
	<atom:link href="http://thesmithfam.org/blog/2006/05/07/php-the-operator/feed/" rel="self" type="application/rss+xml" />
	<link>http://thesmithfam.org/blog/2006/05/07/php-the-operator/</link>
	<description>Your blog is probably better than mine.</description>
	<lastBuildDate>Fri, 12 Mar 2010 23:41:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: rejani</title>
		<link>http://thesmithfam.org/blog/2006/05/07/php-the-operator/comment-page-1/#comment-99269</link>
		<dc:creator>rejani</dc:creator>
		<pubDate>Tue, 02 Mar 2010 10:46:19 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/?p=19#comment-99269</guid>
		<description>Thanks for the crystal clear explanation of @.
It is very useful.</description>
		<content:encoded><![CDATA[<p>Thanks for the crystal clear explanation of @.<br />
It is very useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://thesmithfam.org/blog/2006/05/07/php-the-operator/comment-page-1/#comment-82527</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Thu, 16 Jul 2009 21:35:43 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/?p=19#comment-82527</guid>
		<description>@unknown (ironic huh)

you can always do this:
$str =@ $_POST[&quot;something&quot;];</description>
		<content:encoded><![CDATA[<p>@unknown (ironic huh)</p>
<p>you can always do this:<br />
$str =@ $_POST["something"];</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://thesmithfam.org/blog/2006/05/07/php-the-operator/comment-page-1/#comment-79957</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 12 Jun 2009 19:24:22 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/?p=19#comment-79957</guid>
		<description>The &amp; operator is used when you pass a variable to a function to tell PHP to pass it by reference instead of passing it by value (copy on write), like this:

$var = &quot;foo&quot;;
some_fiunction(&amp;$var);

Unlike C++, in PHP the caller chooses when to pass by value and when to pass by reference. In C++, the function writer indicates this with the &amp; character in the function signature.</description>
		<content:encoded><![CDATA[<p>The &#038; operator is used when you pass a variable to a function to tell PHP to pass it by reference instead of passing it by value (copy on write), like this:</p>
<p>$var = &#8220;foo&#8221;;<br />
some_fiunction(&#038;$var);</p>
<p>Unlike C++, in PHP the caller chooses when to pass by value and when to pass by reference. In C++, the function writer indicates this with the &#038; character in the function signature.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: name</title>
		<link>http://thesmithfam.org/blog/2006/05/07/php-the-operator/comment-page-1/#comment-79954</link>
		<dc:creator>name</dc:creator>
		<pubDate>Fri, 12 Jun 2009 19:02:11 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/?p=19#comment-79954</guid>
		<description>thank you. what is the &amp; operator? i saw this in php manual in array section.</description>
		<content:encoded><![CDATA[<p>thank you. what is the &amp; operator? i saw this in php manual in array section.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: unknown</title>
		<link>http://thesmithfam.org/blog/2006/05/07/php-the-operator/comment-page-1/#comment-75724</link>
		<dc:creator>unknown</dc:creator>
		<pubDate>Thu, 26 Mar 2009 18:44:47 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/?p=19#comment-75724</guid>
		<description>The @-Operator is really slow.
And do NOT use it for assignments like
@$var = $_POST[&#039;var&#039;];
please use
$var = isset($_POST[&#039;var&#039;])?$_POST[&#039;var&#039;]:&#039;my default value&#039;;
PS: Always use error_reporting(E_ALL) and respect the warnings and notices.</description>
		<content:encoded><![CDATA[<p>The @-Operator is really slow.<br />
And do NOT use it for assignments like<br />
@$var = $_POST['var'];<br />
please use<br />
$var = isset($_POST['var'])?$_POST['var']:&#8217;my default value&#8217;;<br />
PS: Always use error_reporting(E_ALL) and respect the warnings and notices.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: venkatesh</title>
		<link>http://thesmithfam.org/blog/2006/05/07/php-the-operator/comment-page-1/#comment-59291</link>
		<dc:creator>venkatesh</dc:creator>
		<pubDate>Sat, 04 Oct 2008 10:35:14 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/?p=19#comment-59291</guid>
		<description>Hai,
Thank you for this article. It is very helpful for me i was not knowing this @ symbol used for error handling. Thanks thanks a lot.
@is very cool guys.</description>
		<content:encoded><![CDATA[<p>Hai,<br />
Thank you for this article. It is very helpful for me i was not knowing this @ symbol used for error handling. Thanks thanks a lot.<br />
@is very cool guys.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dirk Dams</title>
		<link>http://thesmithfam.org/blog/2006/05/07/php-the-operator/comment-page-1/#comment-55351</link>
		<dc:creator>Dirk Dams</dc:creator>
		<pubDate>Tue, 12 Aug 2008 09:27:21 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/?p=19#comment-55351</guid>
		<description>Hey,

thanks for your article. I was about to go crazy searching for it. Asking Mr. G00gle would not help using the &quot;@&quot; symbol ;-)&quot;.

BTW, @ is a cool feature of PHP

cheers
Dirk</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>thanks for your article. I was about to go crazy searching for it. Asking Mr. G00gle would not help using the &#8220;@&#8221; symbol ;-)&#8221;.</p>
<p>BTW, @ is a cool feature of PHP</p>
<p>cheers<br />
Dirk</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daisy P.</title>
		<link>http://thesmithfam.org/blog/2006/05/07/php-the-operator/comment-page-1/#comment-118</link>
		<dc:creator>Daisy P.</dc:creator>
		<pubDate>Sun, 04 Jun 2006 10:16:49 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/?p=19#comment-118</guid>
		<description>thank you for your brief explanations about the @ operator. it is very useful and understandable for me..</description>
		<content:encoded><![CDATA[<p>thank you for your brief explanations about the @ operator. it is very useful and understandable for me..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lonnie Olson</title>
		<link>http://thesmithfam.org/blog/2006/05/07/php-the-operator/comment-page-1/#comment-51</link>
		<dc:creator>Lonnie Olson</dc:creator>
		<pubDate>Wed, 10 May 2006 21:06:50 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/?p=19#comment-51</guid>
		<description>Thanks for the article.

One additional note:  When use your own error handler, it is very useful to check the return value of &lt;i&gt;error_reporting()&lt;/i&gt;.  This will return 0, if the &quot;@&quot; operator was used to suppress errors.</description>
		<content:encoded><![CDATA[<p>Thanks for the article.</p>
<p>One additional note:  When use your own error handler, it is very useful to check the return value of <i>error_reporting()</i>.  This will return 0, if the &#8220;@&#8221; operator was used to suppress errors.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
