mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
- file is now binary safe
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@100175 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
b96468c7fd
commit
de10ad4d95
1 changed files with 5 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.file">
|
||||
<refnamediv>
|
||||
|
@ -56,10 +56,12 @@ $html = implode ('', file ('http://www.example.com/'));
|
|||
<note>
|
||||
<para>
|
||||
As of PHP 4.3.0 you can use <function>file_get_contents</function> to
|
||||
return the contents of a file as a string in a binary safe manner.
|
||||
return the contents of a file as a string.
|
||||
</para>
|
||||
<para>
|
||||
In PHP 4.3.0 <function>file</function> became binary safe.
|
||||
</para>
|
||||
</note>
|
||||
¬e.not-bin-safe;
|
||||
&tip.fopen-wrapper;
|
||||
<para>
|
||||
See also <function>readfile</function>,
|
||||
|
|
Loading…
Reference in a new issue