Skip to content

Commit 921b85b

Browse files
committed
fix credits and comments
1 parent 11b97b5 commit 921b85b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

reference/filesystem/functions/file.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: e3ae86b439c1963f0cd6d262712e2d3f7e85bc37 Maintainer: Manuel dG Status: working -->
2+
<!-- EN-Revision: e3ae86b439c1963f0cd6d262712e2d3f7e85bc37 Maintainer: ManueldG Status: working -->
33
<!-- CREDITS: cortesi-->
44
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.file">
55
<refnamediv>
@@ -161,16 +161,16 @@
161161
<programlisting role="php">
162162
<![CDATA[
163163
<?php
164-
// Get a file into an array. In this example we'll go through HTTP to get
165-
// the HTML source of a URL.
164+
// inserisce una pagina web in un array e la stampa. In questo esempio useremo il protocollo
165+
// HTTP per ottenere il sorgente di un URL
166166
$lines = file('http://www.example.com/');
167167
168-
// Loop through our array, show HTML source as HTML source; and line numbers too.
168+
// Ciclo attraverso l'array, si visualizzerà il sorgente come html ed i numeri di linea
169169
foreach ($lines as $line_num => $line) {
170170
echo "Line #<b>{$line_num}</b> : " . htmlspecialchars($line) . "<br />\n";
171171
}
172172
173-
// Using the optional flags parameter
173+
//Utilizzando i flag come parametro opzionale
174174
$trimmed = file('somefile.txt', FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
175175
?>
176176
]]>

0 commit comments

Comments
 (0)