<?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: Stupid PHP Tricks: Illegal Variable Names</title>
	<atom:link href="http://www.otton.org/2008/08/21/stupid-php-tricks-illegal-variable-names/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.otton.org/2008/08/21/stupid-php-tricks-illegal-variable-names/</link>
	<description>Look! Bunnies!</description>
	<lastBuildDate>Wed, 08 Sep 2010 15:09:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: 網站製作學習誌 &#187; [Web] 連結分享</title>
		<link>http://www.otton.org/2008/08/21/stupid-php-tricks-illegal-variable-names/comment-page-1/#comment-26156</link>
		<dc:creator>網站製作學習誌 &#187; [Web] 連結分享</dc:creator>
		<pubDate>Wed, 25 Nov 2009 02:33:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.otton.org/?p=235#comment-26156</guid>
		<description>[...] Stupid PHP Tricks: Illegal Variable Names [...]</description>
		<content:encoded><![CDATA[<p>[...] Stupid PHP Tricks: Illegal Variable Names [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SayB</title>
		<link>http://www.otton.org/2008/08/21/stupid-php-tricks-illegal-variable-names/comment-page-1/#comment-5129</link>
		<dc:creator>SayB</dc:creator>
		<pubDate>Mon, 29 Dec 2008 22:21:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.otton.org/?p=235#comment-5129</guid>
		<description>@Dav - FYI I say this after experimenting in Cake. It sure was swell not having to write all those dreaded $this-&gt;set() statements for each var :( - doh !</description>
		<content:encoded><![CDATA[<p>@Dav &#8211; FYI I say this after experimenting in Cake. It sure was swell not having to write all those dreaded $this-&gt;set() statements for each var :( &#8211; doh !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SayB</title>
		<link>http://www.otton.org/2008/08/21/stupid-php-tricks-illegal-variable-names/comment-page-1/#comment-5128</link>
		<dc:creator>SayB</dc:creator>
		<pubDate>Mon, 29 Dec 2008 22:18:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.otton.org/?p=235#comment-5128</guid>
		<description>Hey Guys, I&#039;ve noticed this weird behavior with php&#039;s compact function. It simply does not work with variables that either have underscore in the name OR if they have one or more letters in caps or both. For example, $my_name won&#039;t work, $MyName won&#039;t work either but $myname works fine - anybody got a clue ?</description>
		<content:encoded><![CDATA[<p>Hey Guys, I&#8217;ve noticed this weird behavior with php&#8217;s compact function. It simply does not work with variables that either have underscore in the name OR if they have one or more letters in caps or both. For example, $my_name won&#8217;t work, $MyName won&#8217;t work either but $myname works fine &#8211; anybody got a clue ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Q</title>
		<link>http://www.otton.org/2008/08/21/stupid-php-tricks-illegal-variable-names/comment-page-1/#comment-4526</link>
		<dc:creator>Q</dc:creator>
		<pubDate>Mon, 25 Aug 2008 13:24:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.otton.org/?p=235#comment-4526</guid>
		<description>oh dear... compact() *gah*

it ranks up there or rather down there with eval()

thanks for adding the following comment to ur post:

&quot;Please note: if you use any of this in production code - and that includes compact() - I will come to your house and beat you with something heavy.&quot;

I hope your readers take careful note... and the world cringes</description>
		<content:encoded><![CDATA[<p>oh dear&#8230; compact() *gah*</p>
<p>it ranks up there or rather down there with eval()</p>
<p>thanks for adding the following comment to ur post:</p>
<p>&#8220;Please note: if you use any of this in production code &#8211; and that includes compact() &#8211; I will come to your house and beat you with something heavy.&#8221;</p>
<p>I hope your readers take careful note&#8230; and the world cringes</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mads Skovbjerg Paldam</title>
		<link>http://www.otton.org/2008/08/21/stupid-php-tricks-illegal-variable-names/comment-page-1/#comment-4519</link>
		<dc:creator>Mads Skovbjerg Paldam</dc:creator>
		<pubDate>Sun, 24 Aug 2008 18:57:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.otton.org/?p=235#comment-4519</guid>
		<description>This odd piece of apparently useless information makes for a nice trick-question in the &quot;knowing absolutely everything there is to know about PHP quiz&quot;... Thanks!</description>
		<content:encoded><![CDATA[<p>This odd piece of apparently useless information makes for a nice trick-question in the &#8220;knowing absolutely everything there is to know about PHP quiz&#8221;&#8230; Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dav</title>
		<link>http://www.otton.org/2008/08/21/stupid-php-tricks-illegal-variable-names/comment-page-1/#comment-4502</link>
		<dc:creator>Dav</dc:creator>
		<pubDate>Sat, 23 Aug 2008 08:46:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.otton.org/?p=235#comment-4502</guid>
		<description>Dude, what&#039;s wrong with compact()? Can be used to greatly clean up code in Frameworks like Cake. :o)

$this-&gt;set(compact(&#039;data&#039;, &#039;moredata&#039;, &#039;evenmoredata&#039;));</description>
		<content:encoded><![CDATA[<p>Dude, what&#8217;s wrong with compact()? Can be used to greatly clean up code in Frameworks like Cake. :o)</p>
<p>$this-&gt;set(compact(&#8216;data&#8217;, &#8216;moredata&#8217;, &#8216;evenmoredata&#8217;));</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Borozdin</title>
		<link>http://www.otton.org/2008/08/21/stupid-php-tricks-illegal-variable-names/comment-page-1/#comment-4497</link>
		<dc:creator>Mike Borozdin</dc:creator>
		<pubDate>Fri, 22 Aug 2008 22:43:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.otton.org/?p=235#comment-4497</guid>
		<description>Funny :). But not very useful.</description>
		<content:encoded><![CDATA[<p>Funny :). But not very useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david</title>
		<link>http://www.otton.org/2008/08/21/stupid-php-tricks-illegal-variable-names/comment-page-1/#comment-4496</link>
		<dc:creator>david</dc:creator>
		<pubDate>Fri, 22 Aug 2008 21:49:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.otton.org/?p=235#comment-4496</guid>
		<description>Yeah, I could have used &lt;code&gt;var_dump($GLOBALS);&lt;/code&gt;, but then how would I have gotten a dig at &lt;code&gt;compact()&lt;/code&gt; in? :)</description>
		<content:encoded><![CDATA[<p>Yeah, I could have used <code>var_dump($GLOBALS);</code>, but then how would I have gotten a dig at <code>compact()</code> in? :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kia Kroas</title>
		<link>http://www.otton.org/2008/08/21/stupid-php-tricks-illegal-variable-names/comment-page-1/#comment-4492</link>
		<dc:creator>Kia Kroas</dc:creator>
		<pubDate>Fri, 22 Aug 2008 04:14:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.otton.org/?p=235#comment-4492</guid>
		<description>Instead of print_r(compact(...)); why don&#039;t you use var_dump(); ?</description>
		<content:encoded><![CDATA[<p>Instead of print_r(compact(&#8230;)); why don&#8217;t you use var_dump(); ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SeanJA</title>
		<link>http://www.otton.org/2008/08/21/stupid-php-tricks-illegal-variable-names/comment-page-1/#comment-4491</link>
		<dc:creator>SeanJA</dc:creator>
		<pubDate>Fri, 22 Aug 2008 02:25:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.otton.org/?p=235#comment-4491</guid>
		<description>I tried using compact once... It just screwed up my code, so I changed my mind about using it... good thing too apparently...</description>
		<content:encoded><![CDATA[<p>I tried using compact once&#8230; It just screwed up my code, so I changed my mind about using it&#8230; good thing too apparently&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
