<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="http://happypixels.com/taxonomy/term/42/all" xmlns:media="http://search.yahoo.com/mrss/" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>php</title>
    <link>http://happypixels.com/taxonomy/term/42/all</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Removing the closing PHP tags from Eclipse PDT templates</title>
    <link>http://happypixels.com/blog/removing-closing-php-tags-eclipse-pdt-templates</link>
    <description>&lt;div class=&quot;field field-type-filefield field-field-image&quot;&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;img src=&quot;http://happypixels.com/sites/happypixels.com/files/imagecache/teaser/sites/happypixels.comhappypixels.com/files/images/no-closing-tags.png&quot; alt=&quot;&quot; title=&quot;&quot;  class=&quot;imagecache imagecache-teaser imagecache-default imagecache-teaser_default&quot; /&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Like many PHP developers who use &lt;a href=&quot;http://www.eclipse.org/pdt/&quot;&gt;Eclipse PDT&lt;/a&gt;, your first step after creating a new PHP file is probably to remove the closing &lt;code&gt; ?&amp;gt;&lt;/code&gt; tag that Eclipse puts in it for you. Today I did those same three keystrokes (or more if you don&#039;t use keyboard shortcuts) to remove the damn closing PHP tag (whose absence is part of many &lt;a href=&quot;http://framework.zend.com/wiki/display/ZFDEV/ZF+Coding+Standards+(RC)#ZFCodingStandards(RC)-General&quot;&gt;coding&lt;/a&gt; &lt;a href=&quot;http://drupal.org/coding-standards&quot;&gt;standards&lt;/a&gt;), and decided to never do it again manually. The solution is quite simple:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://happypixels.com/blog/removing-closing-php-tags-eclipse-pdt-templates&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
     <comments>http://happypixels.com/blog/removing-closing-php-tags-eclipse-pdt-templates#comments</comments>
 <category domain="http://happypixels.com/tags/eclipse">eclipse</category>
 <category domain="http://happypixels.com/tags/php">php</category>
 <category domain="http://happypixels.com/tags/productivity">productivity</category>
 <pubDate>Wed, 10 Dec 2008 03:41:57 +0000</pubDate>
 <dc:creator>Florian</dc:creator>
 <guid isPermaLink="false">70 at http://happypixels.com</guid>
  </item>
  <item>
    <title>Just use the values of the existing site...</title>
    <link>http://happypixels.com/blog/just-use-values-existing-site</link>
    <description>&lt;p&gt;The problem: you need to turn the values of an HTML select element into a PHP array, and you don&#039;t want to do it by hand because it has a lot of entries.&lt;/p&gt;
&lt;p&gt;The solution: regular expressions! (using Eclipse&#039;s regex search/replace).&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://happypixels.com/blog/just-use-values-existing-site&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
     <comments>http://happypixels.com/blog/just-use-values-existing-site#comments</comments>
 <category domain="http://happypixels.com/content/drupal">drupal</category>
 <category domain="http://happypixels.com/tags/eclipse">eclipse</category>
 <category domain="http://happypixels.com/tags/php">php</category>
 <category domain="http://happypixels.com/tags/regular-expressions">regular expressions</category>
 <pubDate>Mon, 16 Jun 2008 16:08:28 +0000</pubDate>
 <dc:creator>Florian</dc:creator>
 <guid isPermaLink="false">41 at http://happypixels.com</guid>
  </item>
  </channel>
</rss>
