On Fri, 21 Feb 2003, Derick Rethans wrote:

> On Fri, 21 Feb 2003, Sascha Schumann wrote:
>
> > > I'm not 100% sure if we want this feature, but perhaps it is worth
> > > revisiting that patch.
> >
> >     Alternatively, I would suggest to teach the submitter of that
> >     patch regarding fopen, fwrite, implode.  He might have
> >     overlooked those existing functions.
>
> I think a counterpart for file_get_contents in the form of a plain
> file_put_contents would be welcome.

    Don't tell me that

    <?php file_write_content('foobar.txt', 'foo!', file_exists('foobar.txt'));

    is better than

    <?php

    $fp = fopen("foobar.txt", "a");
    fputs($fp, "foo");

    - Sascha

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to