<?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: Common PHP Equivalents in JavaScript</title>
	<atom:link href="http://scriptnode.com/article/common-php-equivalents-in-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://scriptnode.com/article/common-php-equivalents-in-javascript/</link>
	<description>Tips and tricks for web developers.</description>
	<lastBuildDate>Sat, 14 Nov 2009 18:04:15 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Matt Hackett</title>
		<link>http://scriptnode.com/article/common-php-equivalents-in-javascript/comment-page-1/#comment-274</link>
		<dc:creator>Matt Hackett</dc:creator>
		<pubDate>Mon, 19 Jan 2009 21:11:21 +0000</pubDate>
		<guid isPermaLink="false">http://scriptnode.com/?p=245#comment-274</guid>
		<description>@Wally: ironically, I found the &quot;bad&quot; method being used in the Raptr code ;)</description>
		<content:encoded><![CDATA[<p>@Wally: ironically, I found the &#8220;bad&#8221; method being used in the Raptr code ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wally</title>
		<link>http://scriptnode.com/article/common-php-equivalents-in-javascript/comment-page-1/#comment-264</link>
		<dc:creator>Wally</dc:creator>
		<pubDate>Sat, 03 Jan 2009 20:27:07 +0000</pubDate>
		<guid isPermaLink="false">http://scriptnode.com/?p=245#comment-264</guid>
		<description>I prefer (and a Raptr standard):

$a[] = $foo, instead of array_push($a,$foo) cause it&#039;s prettier. didn&#039;t know there was cost to calling array_push; good to know.

within JS, array.push(foo) is also more readable than array[array.length] = foo;

within the front-end, i&#039;m not convinced of using exit or die() in PHP or &#039;return&#039; within JS context ....

i&#039;m sure we&#039;ll have many philosophical discussions on software design at Raptr =)</description>
		<content:encoded><![CDATA[<p>I prefer (and a Raptr standard):</p>
<p>$a[] = $foo, instead of array_push($a,$foo) cause it&#8217;s prettier. didn&#8217;t know there was cost to calling array_push; good to know.</p>
<p>within JS, array.push(foo) is also more readable than array[array.length] = foo;</p>
<p>within the front-end, i&#8217;m not convinced of using exit or die() in PHP or &#8216;return&#8217; within JS context &#8230;.</p>
<p>i&#8217;m sure we&#8217;ll have many philosophical discussions on software design at Raptr =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jani Hartikainen</title>
		<link>http://scriptnode.com/article/common-php-equivalents-in-javascript/comment-page-1/#comment-262</link>
		<dc:creator>Jani Hartikainen</dc:creator>
		<pubDate>Sat, 03 Jan 2009 13:13:33 +0000</pubDate>
		<guid isPermaLink="false">http://scriptnode.com/?p=245#comment-262</guid>
		<description>There&#039;s also a library called PHP.JS, which ports various PHP functions to JS 

http://kevin.vanzonneveld.net/techblog/article/phpjs_licensing/

I haven&#039;t yet decided whether I like the idea or not =)</description>
		<content:encoded><![CDATA[<p>There&#8217;s also a library called PHP.JS, which ports various PHP functions to JS </p>
<p><a href="http://kevin.vanzonneveld.net/techblog/article/phpjs_licensing/" rel="nofollow">http://kevin.vanzonneveld.net/techblog/article/phpjs_licensing/</a></p>
<p>I haven&#8217;t yet decided whether I like the idea or not =)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
