<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 21:55:38 +0000</lastBuildDate>
    <item>
      <title>(PHP) Simple Variable Handler - cessnajumpin</title>
      <link>https://snipplr.com/view/29843/simple-variable-handler</link>
      <description>&lt;p&gt;Could be used across a multitude of languages. What this does is check to see if a variable is set, if it is then the variable gets left alone. If not, you define what it defaults to.&#13;
&#13;
The example takes the variable $myFruit, and if it's already been defined it stays as that fruit. If not, then it is defined as the string "apple".&lt;/p&gt;</description>
      <pubDate>Tue, 16 Mar 2010 16:16:00 UTC</pubDate>
      <guid>https://snipplr.com/view/29843/simple-variable-handler</guid>
    </item>
    <item>
      <title>(PHP) Excerpt with Tag Stripping - cessnajumpin</title>
      <link>https://snipplr.com/view/26325/excerpt-with-tag-stripping</link>
      <description>&lt;p&gt;Create an excerpt from the main copy, removing any image or other HTML tag markup so it will be clean. In this case the length is 160 characters, change that number to change the length of the excerpt&lt;/p&gt;</description>
      <pubDate>Tue, 12 Jan 2010 12:19:44 UTC</pubDate>
      <guid>https://snipplr.com/view/26325/excerpt-with-tag-stripping</guid>
    </item>
  </channel>
</rss>
