Home > Archive > PHP Documentation > June 2006 > Re: [PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions file-put-contents.xml
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: [PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions file-put-contents.xml
|
|
| Nuno Lopes 2006-06-17, 8:07 am |
| > You can also specify the <parameter>data</parameter> parameter as an
> array
> (not multi-dimension arrays). This is equivalent to
> - <literal>file_put_contents($filename, join('', $array))</literal>.
> + <literal>file_put_contents($filename, implode('' ,$array))</literal>.
> </para>
Watch out! That comma isn't in the right place :)
Nuno
| |
| Etienne Kneuss 2006-06-17, 8:07 am |
| arr, sounds like I won't be able to make one thing right!
Sorry about that ;)
--
Etienne Kneuss
http://www.colder.ch/
colder@php.net
| |
| Nuno Lopes 2006-06-17, 8:07 am |
| No problem ;) When I started in phpdoc I remember having everybody
complaining about my commits :)
Nuno
----- Original Message -----
> arr, sounds like I won't be able to make one thing right!
>
> Sorry about that ;)
> --
> Etienne Kneuss
>
> http://www.colder.ch/
> colder@php.net
| |
| Philip Olson 2006-06-24, 8:03 am |
|
[color=darkred]
> No problem ;) When I started in phpdoc I remember having everybody
> complaining about my commits :)
> Nuno
Yes, everyone remembers those days! ;-) The question is always
"Should I email them in private, to the list, or simply fix it in
CVS" with pros and cons to each method. When I first started I looked
at my unified diff about 20 times before commit, and still made
mistakes! Oh well, these things happen.
Regards,
Philip
|
|
|
|
|