<?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: JsLint for PHP anyone?</title>
	<atom:link href="http://www.sitepoint.com/blogs/2004/10/06/jslint-for-php-anyone/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sitepoint.com/blogs/2004/10/06/jslint-for-php-anyone/</link>
	<description>News, opinion, and fresh thinking for web developers and designers. The official podcast of sitepoint.com.</description>
	<lastBuildDate>Mon, 15 Mar 2010 16:20:10 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Danno</title>
		<link>http://www.sitepoint.com/blogs/2004/10/06/jslint-for-php-anyone/comment-page-1/#comment-767470</link>
		<dc:creator>Danno</dc:creator>
		<pubDate>Fri, 25 Jul 2008 08:26:43 +0000</pubDate>
		<guid isPermaLink="false">981827813#comment-767470</guid>
		<description>The php -l is also buggy.
For example if you have:


It will return that the syntax is ok. But when you execute that you get the error.</description>
		<content:encoded><![CDATA[<p>The php -l is also buggy.<br />
For example if you have:</p>
<p>It will return that the syntax is ok. But when you execute that you get the error.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: SB</title>
		<link>http://www.sitepoint.com/blogs/2004/10/06/jslint-for-php-anyone/comment-page-1/#comment-1163</link>
		<dc:creator>SB</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">981827813#comment-1163</guid>
		<description>&lt;p&gt;Okay, JavaScript. But it would be even cooler to have a lint-y thing for PHP, like pychecker for Python, http://pychecker.sourceforge.net/&lt;/p&gt;

&lt;p&gt;Anyone up to it, or is there already such a thing?&lt;/p&gt;

</description>
		<content:encoded><![CDATA[<p>Okay, JavaScript. But it would be even cooler to have a lint-y thing for PHP, like pychecker for Python, <a href="http://pychecker.sourceforge.net/" rel="nofollow">http://pychecker.sourceforge.net/</a></p>
<p>Anyone up to it, or is there already such a thing?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: someonewhois</title>
		<link>http://www.sitepoint.com/blogs/2004/10/06/jslint-for-php-anyone/comment-page-1/#comment-1164</link>
		<dc:creator>someonewhois</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">981827813#comment-1164</guid>
		<description>&lt;p&gt;Kinda cool.. wouldn&#039;t be easy to do.&lt;/p&gt;

</description>
		<content:encoded><![CDATA[<p>Kinda cool.. wouldn&#8217;t be easy to do.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Davey</title>
		<link>http://www.sitepoint.com/blogs/2004/10/06/jslint-for-php-anyone/comment-page-1/#comment-1165</link>
		<dc:creator>Davey</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">981827813#comment-1165</guid>
		<description>&lt;p&gt;&lt;blockquote&gt;&lt;p&gt;Okay, JavaScript. But it would be even cooler to have a lint-y thing for PHP, like pychecker for Python, http://pychecker.sourceforge.net/&lt;/p&gt;&lt;/blockquote&gt;&lt;/p&gt;

&lt;p&gt;&lt;blockquote&gt;&lt;p&gt;Anyone up to it, or is there already such a thing?&lt;/p&gt;&lt;/blockquote&gt;&lt;/p&gt;

&lt;p&gt;Since PHP4, there has been the -l (thats a lower case L) flag for the PHP binary, L standing for Lint, it&#039;ll find parse errors.&lt;/p&gt;

&lt;p&gt;In PHP5, there is the nice userland function php_check_syntax() [http://www.php.net/manual/en/function.php-check-syntax.php]&lt;/p&gt;

&lt;p&gt;- Davey&lt;/p&gt;

</description>
		<content:encoded><![CDATA[<p>
<blockquote>
<p>Okay, JavaScript. But it would be even cooler to have a lint-y thing for PHP, like pychecker for Python, <a href="http://pychecker.sourceforge.net/" rel="nofollow">http://pychecker.sourceforge.net/</a></p>
</blockquote>
</p><p>
<blockquote>
<p>Anyone up to it, or is there already such a thing?</p>
</blockquote>
</p><p>Since PHP4, there has been the -l (thats a lower case L) flag for the PHP binary, L standing for Lint, it&#8217;ll find parse errors.</p>
<p>In PHP5, there is the nice userland function php_check_syntax() [http://www.php.net/manual/en/function.php-check-syntax.php]</p>
<p>- Davey</p>]]></content:encoded>
	</item>
	<item>
		<title>By: mrsmiley</title>
		<link>http://www.sitepoint.com/blogs/2004/10/06/jslint-for-php-anyone/comment-page-1/#comment-1166</link>
		<dc:creator>mrsmiley</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">981827813#comment-1166</guid>
		<description>&lt;p&gt;Why would you want to go to the trouble of creating a checker for PHP?  PHP comes with a syntax checker built in...&lt;/p&gt;

&lt;p&gt;   php -l filename.php&lt;/p&gt;

&lt;p&gt;(that&#039;s a lowercase L by the way).  The CLI version has a lint command built into it. If you want to create a web based interface for something like SimpleTest, all you need to do is run it as a system command to check for errors.&lt;/p&gt;

&lt;p&gt;A multi-language lint would be better.  Seeing as php scripts can contain js, php, html, xml, etc, you&#039;d really want the lint check to be able to detect which language it is parsing at the time.  I think I&#039;ll just chuck that idea in the too hard basket though.&lt;/p&gt;

</description>
		<content:encoded><![CDATA[<p>Why would you want to go to the trouble of creating a checker for PHP?  PHP comes with a syntax checker built in&#8230;</p>
<p>   php -l filename.php</p>
<p>(that&#8217;s a lowercase L by the way).  The CLI version has a lint command built into it. If you want to create a web based interface for something like SimpleTest, all you need to do is run it as a system command to check for errors.</p>
<p>A multi-language lint would be better.  Seeing as php scripts can contain js, php, html, xml, etc, you&#8217;d really want the lint check to be able to detect which language it is parsing at the time.  I think I&#8217;ll just chuck that idea in the too hard basket though.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: mrsmiley</title>
		<link>http://www.sitepoint.com/blogs/2004/10/06/jslint-for-php-anyone/comment-page-1/#comment-1167</link>
		<dc:creator>mrsmiley</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">981827813#comment-1167</guid>
		<description>&lt;p&gt;I&#039;m willing to give it a go when I find some spare time.  Good chance for me to finally look at some of the strange OO syntax for JS in a bit more detail.&lt;/p&gt;

</description>
		<content:encoded><![CDATA[<p>I&#8217;m willing to give it a go when I find some spare time.  Good chance for me to finally look at some of the strange OO syntax for JS in a bit more detail.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: mrsmiley</title>
		<link>http://www.sitepoint.com/blogs/2004/10/06/jslint-for-php-anyone/comment-page-1/#comment-1168</link>
		<dc:creator>mrsmiley</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">981827813#comment-1168</guid>
		<description>&lt;p&gt;I was refering to the jslint port, not the uberlint I hinted at before.&lt;/p&gt;

</description>
		<content:encoded><![CDATA[<p>I was refering to the jslint port, not the uberlint I hinted at before.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: HarryF</title>
		<link>http://www.sitepoint.com/blogs/2004/10/06/jslint-for-php-anyone/comment-page-1/#comment-1169</link>
		<dc:creator>HarryF</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">981827813#comment-1169</guid>
		<description>&lt;p&gt;There&#039;s a new function in PHP: &lt;a href=&quot;http://www.php.net/manual/en/function.php-check-syntax.php&quot;&gt;php_check_syntax&lt;/a&gt;.&lt;/p&gt;

</description>
		<content:encoded><![CDATA[<p>There&#8217;s a new function in PHP: <a href="http://www.php.net/manual/en/function.php-check-syntax.php">php_check_syntax</a>.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Azmo</title>
		<link>http://www.sitepoint.com/blogs/2004/10/06/jslint-for-php-anyone/comment-page-1/#comment-1170</link>
		<dc:creator>Azmo</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">981827813#comment-1170</guid>
		<description>&lt;p&gt;php_check_syntax still has a &lt;a href=&quot;http://bugs.php.net/bug.php?id=27406&quot;&gt;bug&lt;/a&gt;, though. It executes the code as well as checking it, so any errors will still... cause errors.&lt;/p&gt;

</description>
		<content:encoded><![CDATA[<p>php_check_syntax still has a <a href="http://bugs.php.net/bug.php?id=27406">bug</a>, though. It executes the code as well as checking it, so any errors will still&#8230; cause errors.</p>]]></content:encoded>
	</item>
</channel>
</rss>
