<?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: @ operator is slow</title>
	<atom:link href="http://hancic.info/at-operator-is-slow/feed" rel="self" type="application/rss+xml" />
	<link>http://hancic.info/at-operator-is-slow</link>
	<description>thoughts by Jan Hančič</description>
	<lastBuildDate>Fri, 27 Aug 2010 17:54:41 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: artur ejsmont</title>
		<link>http://hancic.info/at-operator-is-slow/comment-page-1#comment-21</link>
		<dc:creator>artur ejsmont</dc:creator>
		<pubDate>Mon, 07 Sep 2009 08:55:14 +0000</pubDate>
		<guid isPermaLink="false">http://hancic.info/?p=179#comment-21</guid>
		<description>I would say @ is bad no matter what.

Well maybe except cases where you check after the silenced call and throw exception if value is not there or something. But if call causes script to die you will never have chance to get throw it anyway.

@ is like swallowing exceptions ...... baaaad idea.

Art</description>
		<content:encoded><![CDATA[<p>I would say @ is bad no matter what.</p>
<p>Well maybe except cases where you check after the silenced call and throw exception if value is not there or something. But if call causes script to die you will never have chance to get throw it anyway.</p>
<p>@ is like swallowing exceptions &#8230;&#8230; baaaad idea.</p>
<p>Art</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tit Petric</title>
		<link>http://hancic.info/at-operator-is-slow/comment-page-1#comment-19</link>
		<dc:creator>Tit Petric</dc:creator>
		<pubDate>Mon, 22 Jun 2009 07:05:54 +0000</pubDate>
		<guid isPermaLink="false">http://hancic.info/?p=179#comment-19</guid>
		<description>It&#039;s not really bad practice if you use @ with file_get_contents($url) (in CLI mode anyway).

But keep away from this:

@include(...)

This will just, like gasper said, completely hide all errors, including parse errors, in all included files. If you ever have such a dynamic system, that the included file might not exist when you call include(), just check it with file_exists ...

But definetly avoid @ in most cases (especially in loops / where you&#039;re too lazy to use isset).</description>
		<content:encoded><![CDATA[<p>It&#8217;s not really bad practice if you use @ with file_get_contents($url) (in CLI mode anyway).</p>
<p>But keep away from this:</p>
<p>@include(&#8230;)</p>
<p>This will just, like gasper said, completely hide all errors, including parse errors, in all included files. If you ever have such a dynamic system, that the included file might not exist when you call include(), just check it with file_exists &#8230;</p>
<p>But definetly avoid @ in most cases (especially in loops / where you&#8217;re too lazy to use isset).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan Hančič</title>
		<link>http://hancic.info/at-operator-is-slow/comment-page-1#comment-18</link>
		<dc:creator>Jan Hančič</dc:creator>
		<pubDate>Sun, 21 Jun 2009 13:29:28 +0000</pubDate>
		<guid isPermaLink="false">http://hancic.info/?p=179#comment-18</guid>
		<description>Like I said in the post, there are valid places to use it, providing you know what you are doing. There is always an alternative to @ and you should use that, but sometimes it&#039;s just easier to put @ infront.
But since I&#039;ve done this test I&#039;ll newer use it again, because it&#039;s just too damn slow.</description>
		<content:encoded><![CDATA[<p>Like I said in the post, there are valid places to use it, providing you know what you are doing. There is always an alternative to @ and you should use that, but sometimes it&#8217;s just easier to put @ infront.<br />
But since I&#8217;ve done this test I&#8217;ll newer use it again, because it&#8217;s just too damn slow.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david</title>
		<link>http://hancic.info/at-operator-is-slow/comment-page-1#comment-20</link>
		<dc:creator>david</dc:creator>
		<pubDate>Sun, 21 Jun 2009 13:16:56 +0000</pubDate>
		<guid isPermaLink="false">http://hancic.info/?p=179#comment-20</guid>
		<description>you must never use @ in you code, if you however use it, you are a really bad coder.</description>
		<content:encoded><![CDATA[<p>you must never use @ in you code, if you however use it, you are a really bad coder.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gasper_k</title>
		<link>http://hancic.info/at-operator-is-slow/comment-page-1#comment-17</link>
		<dc:creator>gasper_k</dc:creator>
		<pubDate>Sun, 21 Jun 2009 11:40:11 +0000</pubDate>
		<guid isPermaLink="false">http://hancic.info/?p=179#comment-17</guid>
		<description>Besides the speed issues, the problem with @ is also that it completely hides errors. Debugging an application that crashes, but doesn&#039;t report an error, can be a nightmare. This is another one of those &quot;let&#039;s make it easy for the programmer&quot; PHP things, which then come back to haunt you. We&#039;d all be better off without @.</description>
		<content:encoded><![CDATA[<p>Besides the speed issues, the problem with @ is also that it completely hides errors. Debugging an application that crashes, but doesn&#8217;t report an error, can be a nightmare. This is another one of those &#8220;let&#8217;s make it easy for the programmer&#8221; PHP things, which then come back to haunt you. We&#8217;d all be better off without @.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
