<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Use Ruby-style tags in PHP</title>
	<link>http://robrosenbaum.com/php/use-ruby-style-tags-in-php/</link>
	<description>PHP, Symfony, and Other Web Things</description>
	<pubDate>Tue, 02 Dec 2008 03:10:32 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
		<item>
		<title>By: Rob Rosenbaum</title>
		<link>http://robrosenbaum.com/php/use-ruby-style-tags-in-php/#comment-279</link>
		<dc:creator>Rob Rosenbaum</dc:creator>
		<pubDate>Fri, 25 Jan 2008 14:12:39 +0000</pubDate>
		<guid>http://robrosenbaum.com/php/use-ruby-style-tags-in-php/#comment-279</guid>
		<description>carlos-
Ruby-style tags can also be activated in php.ini with the "asp_tags" option. In many environments, though, the user will not have access to php.ini, and will have to use the htaccess method. (This is the case for this server, for example.)</description>
		<content:encoded><![CDATA[<p>carlos-<br />
Ruby-style tags can also be activated in php.ini with the &#034;asp_tags&#034; option. In many environments, though, the user will not have access to php.ini, and will have to use the htaccess method. (This is the case for this server, for example.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carlos</title>
		<link>http://robrosenbaum.com/php/use-ruby-style-tags-in-php/#comment-278</link>
		<dc:creator>carlos</dc:creator>
		<pubDate>Thu, 24 Jan 2008 14:53:17 +0000</pubDate>
		<guid>http://robrosenbaum.com/php/use-ruby-style-tags-in-php/#comment-278</guid>
		<description>PHP always let you use  without activating nothing in your htaccess</description>
		<content:encoded><![CDATA[<p>PHP always let you use  without activating nothing in your htaccess</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://robrosenbaum.com/php/use-ruby-style-tags-in-php/#comment-74</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Sun, 21 Oct 2007 16:48:15 +0000</pubDate>
		<guid>http://robrosenbaum.com/php/use-ruby-style-tags-in-php/#comment-74</guid>
		<description>halfer-
&lt;p&gt;My article concerned ASP-style tags, not PHP short tags; the two are often confused, even on the PHP dev forum. Short tags create a syntactic conflict with XML, and should be avoided for that reason. ASP-style tags have no such problems. I believe the confusion between the two is the reason so few people use ASP-style tags (that and their name.)&lt;/p&gt;
&lt;p&gt;You are correct that they are less portable, but that is itself due to their infrequent use. If they were the standard rather than the exception - and there is no reason they should not be - then every hosting company would enable them by default. It is for that reason that I recommend using them whenever feasible.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>halfer-</p>
<p>My article concerned ASP-style tags, not PHP short tags; the two are often confused, even on the PHP dev forum. Short tags create a syntactic conflict with XML, and should be avoided for that reason. ASP-style tags have no such problems. I believe the confusion between the two is the reason so few people use ASP-style tags (that and their name.)</p>
<p>You are correct that they are less portable, but that is itself due to their infrequent use. If they were the standard rather than the exception - and there is no reason they should not be - then every hosting company would enable them by default. It is for that reason that I recommend using them whenever feasible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: halfer</title>
		<link>http://robrosenbaum.com/php/use-ruby-style-tags-in-php/#comment-72</link>
		<dc:creator>halfer</dc:creator>
		<pubDate>Wed, 17 Oct 2007 09:02:24 +0000</pubDate>
		<guid>http://robrosenbaum.com/php/use-ruby-style-tags-in-php/#comment-72</guid>
		<description>You can indeed use the short tags in PHP. However they're not enabled on every server, which is why the symfony team don't recommend this approach for code that is intended to be portable (eg if you're writing a plugin, or an application you intend to distribute). This can cause problems for users who don't have this kind of control over their htaccess file (some shared hosts can disable it).

There's nothing wrong with short tags though - if the programmer understands their limitations but wants cleaner code, they should use them.</description>
		<content:encoded><![CDATA[<p>You can indeed use the short tags in PHP. However they&#039;re not enabled on every server, which is why the symfony team don&#039;t recommend this approach for code that is intended to be portable (eg if you&#039;re writing a plugin, or an application you intend to distribute). This can cause problems for users who don&#039;t have this kind of control over their htaccess file (some shared hosts can disable it).</p>
<p>There&#039;s nothing wrong with short tags though - if the programmer understands their limitations but wants cleaner code, they should use them.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
