<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Comments on snippet: 'php easy file write'</title>
    <description>Snipplr comments feed</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Sat, 11 Apr 2026 15:06:30 +0000</lastBuildDate>
    <item>
      <title>Roshambo said on 09/May/2007</title>
      <link>https://snipplr.com/view/2615/php-easy-file-write</link>
      <description>&lt;p&gt;&lt;p&gt;If you're using PHP5 file&lt;em&gt;put&lt;/em&gt;contents() will do the trick too. Might be faster as it's precompiled into the language.&lt;/p&gt;
&lt;/p&gt;</description>
      <pubDate>Wed, 09 May 2007 11:09:58 UTC</pubDate>
      <guid>https://snipplr.com/view/2615/php-easy-file-write</guid>
    </item>
    <item>
      <title>Roshambo said on 09/May/2007</title>
      <link>https://snipplr.com/view/2615/php-easy-file-write</link>
      <description>&lt;p&gt;&lt;p&gt;Looks like Markdown mangled the method. It should be file&lt;em&gt;put&lt;/em&gt;contents.&lt;/p&gt;
&lt;/p&gt;</description>
      <pubDate>Wed, 09 May 2007 11:10:36 UTC</pubDate>
      <guid>https://snipplr.com/view/2615/php-easy-file-write</guid>
    </item>
    <item>
      <title>Roshambo said on 09/May/2007</title>
      <link>https://snipplr.com/view/2615/php-easy-file-write</link>
      <description>&lt;p&gt;&lt;p&gt;Hmm, mangled again. One more try:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;file_put_contents()
&lt;/code&gt;&lt;/pre&gt;
&lt;/p&gt;</description>
      <pubDate>Wed, 09 May 2007 11:12:39 UTC</pubDate>
      <guid>https://snipplr.com/view/2615/php-easy-file-write</guid>
    </item>
    <item>
      <title>kotnik said on 11/May/2007</title>
      <link>https://snipplr.com/view/2615/php-easy-file-write</link>
      <description>&lt;p&gt;&lt;p&gt;Yeah, i've put this for easy copy&amp;paste on PHP4 configurations. Thanks for the suggestion ;)&lt;/p&gt;
&lt;/p&gt;</description>
      <pubDate>Fri, 11 May 2007 05:04:12 UTC</pubDate>
      <guid>https://snipplr.com/view/2615/php-easy-file-write</guid>
    </item>
  </channel>
</rss>
