<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Comments on snippet: 'PHP Truncate function'</title>
    <description>Snipplr comments feed</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Sun, 12 Apr 2026 22:47:53 +0000</lastBuildDate>
    <item>
      <title>evilwalrus said on 06/Oct/2009</title>
      <link>https://snipplr.com/view/20726/php-truncate-function</link>
      <description>&lt;p&gt;No need here for the settype() calls... php is loosely typed.  I also fail to see how this is easier to use than substr().. substr($string, 0, 6) is the same as example 1... Just a thought.&lt;/p&gt;</description>
      <pubDate>Tue, 06 Oct 2009 21:37:43 UTC</pubDate>
      <guid>https://snipplr.com/view/20726/php-truncate-function</guid>
    </item>
  </channel>
</rss>
