<?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 Strings Don&#8217;t Need Quotes</title>
	<atom:link href="/2012/04/26/php-strings-dont-need-quotes/feed/" rel="self" type="application/rss+xml" />
	<link>/2012/04/26/php-strings-dont-need-quotes/</link>
	<description>on web development</description>
	<lastBuildDate>Fri, 26 Oct 2018 21:40:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.0.3</generator>
	<item>
		<title>By: Codetician</title>
		<link>/2012/04/26/php-strings-dont-need-quotes/comment-page-1/#comment-487799</link>
		<dc:creator><![CDATA[Codetician]]></dc:creator>
		<pubDate>Fri, 27 Apr 2018 19:46:50 +0000</pubDate>
		<guid isPermaLink="false">/?p=3017#comment-487799</guid>
		<description><![CDATA[Please take down this post. It&#039;s not worth reading]]></description>
		<content:encoded><![CDATA[<p>Please take down this post. It&#8217;s not worth reading</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Jentzsch</title>
		<link>/2012/04/26/php-strings-dont-need-quotes/comment-page-1/#comment-299553</link>
		<dc:creator><![CDATA[Ryan Jentzsch]]></dc:creator>
		<pubDate>Fri, 17 Apr 2015 17:07:06 +0000</pubDate>
		<guid isPermaLink="false">/?p=3017#comment-299553</guid>
		<description><![CDATA[Arrrgh!!! 
I&#039;ve been in the IT industry for over 20 years. I&#039;m just starting to learn PHP and no other language I know of let&#039;s you do this, nor should any language allow this. NO! NO! NO! 

Most languages let you shot yourself in the foot in one way or another. With PHP I&#039;m learning that you can easily blow your entire torso off.

I completely agree with Aaron Saray that DO NOT DO THIS should be at the top and bolded!]]></description>
		<content:encoded><![CDATA[<p>Arrrgh!!!<br />
I&#8217;ve been in the IT industry for over 20 years. I&#8217;m just starting to learn PHP and no other language I know of let&#8217;s you do this, nor should any language allow this. NO! NO! NO! </p>
<p>Most languages let you shot yourself in the foot in one way or another. With PHP I&#8217;m learning that you can easily blow your entire torso off.</p>
<p>I completely agree with Aaron Saray that DO NOT DO THIS should be at the top and bolded!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: krembo99</title>
		<link>/2012/04/26/php-strings-dont-need-quotes/comment-page-1/#comment-18346</link>
		<dc:creator><![CDATA[krembo99]]></dc:creator>
		<pubDate>Fri, 25 Jan 2013 04:49:17 +0000</pubDate>
		<guid isPermaLink="false">/?p=3017#comment-18346</guid>
		<description><![CDATA[This is wrong on so many levels that one would need a special algorithm function to calculate the amount of possible damage from this Idea ...]]></description>
		<content:encoded><![CDATA[<p>This is wrong on so many levels that one would need a special algorithm function to calculate the amount of possible damage from this Idea &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: atabak</title>
		<link>/2012/04/26/php-strings-dont-need-quotes/comment-page-1/#comment-16265</link>
		<dc:creator><![CDATA[atabak]]></dc:creator>
		<pubDate>Fri, 06 Jul 2012 09:54:59 +0000</pubDate>
		<guid isPermaLink="false">/?p=3017#comment-16265</guid>
		<description><![CDATA[when use &quot; &quot; php engine process  all text in &quot;&quot; and need time , 
when use &#039; &#039;  php engine just print[echo] and no need process time for variable]]></description>
		<content:encoded><![CDATA[<p>when use &#8221; &#8221; php engine process  all text in &#8220;&#8221; and need time ,<br />
when use &#8216; &#8216;  php engine just print[echo] and no need process time for variable</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Smack</title>
		<link>/2012/04/26/php-strings-dont-need-quotes/comment-page-1/#comment-15709</link>
		<dc:creator><![CDATA[Smack]]></dc:creator>
		<pubDate>Wed, 02 May 2012 11:47:27 +0000</pubDate>
		<guid isPermaLink="false">/?p=3017#comment-15709</guid>
		<description><![CDATA[This article is pure flame bait. More articles like this will speed up the slow death of PHP. I love it!]]></description>
		<content:encoded><![CDATA[<p>This article is pure flame bait. More articles like this will speed up the slow death of PHP. I love it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Tankersley</title>
		<link>/2012/04/26/php-strings-dont-need-quotes/comment-page-1/#comment-15706</link>
		<dc:creator><![CDATA[Chris Tankersley]]></dc:creator>
		<pubDate>Tue, 01 May 2012 14:29:27 +0000</pubDate>
		<guid isPermaLink="false">/?p=3017#comment-15706</guid>
		<description><![CDATA[*sigh*

This is why we can&#039;t have nice things.

Don&#039;t write an article like this explaining like this is something that you can do, and then provide a little tiny disclaimer saying you shouldn&#039;t.

&lt;strong&gt;EVERYONE SHOULD IGNORE THIS ARTICLE COMPLETELY AND NEVER, UNDER ANY CIRCUMSTANCES, USE UNQUOTED STRING&lt;/strong&gt;]]></description>
		<content:encoded><![CDATA[<p>*sigh*</p>
<p>This is why we can&#8217;t have nice things.</p>
<p>Don&#8217;t write an article like this explaining like this is something that you can do, and then provide a little tiny disclaimer saying you shouldn&#8217;t.</p>
<p><strong>EVERYONE SHOULD IGNORE THIS ARTICLE COMPLETELY AND NEVER, UNDER ANY CIRCUMSTANCES, USE UNQUOTED STRING</strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ircmaxell</title>
		<link>/2012/04/26/php-strings-dont-need-quotes/comment-page-1/#comment-15704</link>
		<dc:creator><![CDATA[ircmaxell]]></dc:creator>
		<pubDate>Tue, 01 May 2012 14:26:01 +0000</pubDate>
		<guid isPermaLink="false">/?p=3017#comment-15704</guid>
		<description><![CDATA[Except that if I do:

&lt;code&gt;define(&quot;hello&quot;, &quot;goodbye&quot;);&lt;/code&gt;

your 

&lt;code&gt;echo hello;&lt;/code&gt;

Won&#039;t do what you think it will.  Don&#039;t abuse language features like that...]]></description>
		<content:encoded><![CDATA[<p>Except that if I do:</p>
<p><code>define("hello", "goodbye");</code></p>
<p>your </p>
<p><code>echo hello;</code></p>
<p>Won&#8217;t do what you think it will.  Don&#8217;t abuse language features like that&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Bernat</title>
		<link>/2012/04/26/php-strings-dont-need-quotes/comment-page-1/#comment-15698</link>
		<dc:creator><![CDATA[Mike Bernat]]></dc:creator>
		<pubDate>Mon, 30 Apr 2012 19:15:11 +0000</pubDate>
		<guid isPermaLink="false">/?p=3017#comment-15698</guid>
		<description><![CDATA[I echo what everyone else says about avoiding this like the plague. It only accentuates some of PHP&#039;s eccentricities that professionals try to avoid with coding standards.]]></description>
		<content:encoded><![CDATA[<p>I echo what everyone else says about avoiding this like the plague. It only accentuates some of PHP&#8217;s eccentricities that professionals try to avoid with coding standards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cx42net</title>
		<link>/2012/04/26/php-strings-dont-need-quotes/comment-page-1/#comment-15692</link>
		<dc:creator><![CDATA[cx42net]]></dc:creator>
		<pubDate>Mon, 30 Apr 2012 12:12:38 +0000</pubDate>
		<guid isPermaLink="false">/?p=3017#comment-15692</guid>
		<description><![CDATA[Try this before all the php lines you wrote :



Enjoy the mess this could bring.]]></description>
		<content:encoded><![CDATA[<p>Try this before all the php lines you wrote :</p>
<p>Enjoy the mess this could bring.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nim</title>
		<link>/2012/04/26/php-strings-dont-need-quotes/comment-page-1/#comment-15681</link>
		<dc:creator><![CDATA[Nim]]></dc:creator>
		<pubDate>Sun, 29 Apr 2012 08:55:17 +0000</pubDate>
		<guid isPermaLink="false">/?p=3017#comment-15681</guid>
		<description><![CDATA[Surely you&#039;re joking? That&#039;s completely retarded. Regardless of whether you disable error reporting, the error handler will still be triggered every single time you do this. And every time you do this, PHP will turn your string into a constant, and memory for constants is never freed or garbage collected. 

Did I mention this was retarded?

If you don&#039;t like quotes, you can just use the heredoc or nowdoc syntax:

// Heredoc
$string = &#060;&#060;&#060;STOP_HERE
bla text goes here ble look mom, no quotes!
and I can even use $variables
STOP_HERE;

// Nowdoc
$string = &#060;&#060;&#060;&#039;QUOTED_STRING&#039;
Equivalent of single quotes, can&#039;t use $variables now
QUOTED_STRING]]></description>
		<content:encoded><![CDATA[<p>Surely you&#8217;re joking? That&#8217;s completely retarded. Regardless of whether you disable error reporting, the error handler will still be triggered every single time you do this. And every time you do this, PHP will turn your string into a constant, and memory for constants is never freed or garbage collected. </p>
<p>Did I mention this was retarded?</p>
<p>If you don&#8217;t like quotes, you can just use the heredoc or nowdoc syntax:</p>
<p>// Heredoc<br />
$string = &lt;&lt;&lt;STOP_HERE<br />
bla text goes here ble look mom, no quotes!<br />
and I can even use $variables<br />
STOP_HERE;</p>
<p>// Nowdoc<br />
$string = &lt;&lt;&lt;&#039;QUOTED_STRING&#039;<br />
Equivalent of single quotes, can&#039;t use $variables now<br />
QUOTED_STRING</p>
]]></content:encoded>
	</item>
</channel>
</rss>
