svn: /phpdoc/es/trunk/reference/filesystem/functions/ fgetcsv.xml
| From: | Yago Ferrer | Date: | Tue, 30 Aug 2011 20:16:24 +0000 |
| Subject: | svn: /phpdoc/es/trunk/reference/filesystem/functions/ fgetcsv.xml | ||
| Groups: | php.doc.es | ||
| Request: | Send a blank email to doc-es+get-4734@lists.php.net to get a copy of this message | ||
yago Tue, 30 Aug 2011 20:16:24 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=315814
Log:
Approved change made by anonymous user: Not using UTF-8 chars in variable names.
Changed paths:
U phpdoc/es/trunk/reference/filesystem/functions/fgetcsv.xml
Modified: phpdoc/es/trunk/reference/filesystem/functions/fgetcsv.xml
===================================================================
--- phpdoc/es/trunk/reference/filesystem/functions/fgetcsv.xml 2011-08-30 20:10:53 UTC (rev 315813)
+++ phpdoc/es/trunk/reference/filesystem/functions/fgetcsv.xml 2011-08-30 20:16:24 UTC (rev 315814)
@@ -146,10 +146,10 @@
$fila = 1;
if (($gestor = fopen("test.csv", "r")) !== FALSE) {
while (($datos = fgetcsv($gestor, 1000, ",")) !== FALSE) {
- $número = count($datos);
- echo "<p> $número de campos en la línea $fila: <br /></p>\n";
+ $numero = count($datos);
+ echo "<p> $numero de campos en la línea $fila: <br /></p>\n";
$fila++;
- for ($c=0; $c < $número; $c++) {
+ for ($c=0; $c < $numero; $c++) {
echo $datos[$c] . "<br />\n";
}
}