<parameter>
<note>


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@79571 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Simone Cortesi 2002-04-23 10:33:39 +00:00
parent 83d6f9938e
commit 27c2b55978

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.fgetcsv">
<refnamediv>
@ -27,18 +27,20 @@
<function>popen</function>, or <function>fsockopen</function>
</simpara>
<simpara>
Length must be greater than the longest line to be found in the
CSV file (allowing for trailing line-end characters).
<parameter>Length</parameter> must be greater than the longest
line to be found in the CSV file (allowing for trailing line-end characters).
</simpara>
<simpara>
<function>fgetcsv</function> returns &false; on error, including
end of file.
</simpara>
<simpara>
N.B. A blank line in a CSV file will be returned as an array
comprising a single &null; field, and will not be treated as an
error.
</simpara>
<note>
<simpara>
A blank line in a CSV file will be returned as an array
comprising a single &null; field, and will not be treated as an
error.
</simpara>
</note>
<example>
<title>
<function>fgetcsv</function> example - Read and print entire