didou Tue Sep 7 15:58:30 2004 EDT
Modified files:
/phpdoc/en/reference/filesystem/functions glob.xml
Log:
Reverted last commit
# merci pour les explications :)
http://cvs.php.net/diff.php/phpdoc/en/reference/filesystem/functions/glob.xml?r1=1.16&r2=1.17&ty=u
Index: phpdoc/en/reference/filesystem/functions/glob.xml
diff -u phpdoc/en/reference/filesystem/functions/glob.xml:1.16
phpdoc/en/reference/filesystem/functions/glob.xml:1.17
--- phpdoc/en/reference/filesystem/functions/glob.xml:1.16 Tue Sep 7 10:25:39
2004
+++ phpdoc/en/reference/filesystem/functions/glob.xml Tue Sep 7 15:58:30 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.16 $ -->
+<!-- $Revision: 1.17 $ -->
<refentry id="function.glob">
<refnamediv>
<refname>glob</refname>
@@ -79,12 +79,9 @@
<programlisting role="php">
<![CDATA[
<?php
-
-$files = glob("*.txt");
-foreach ($files as $filename) {
+foreach (glob("*.txt") as $filename) {
echo "$filename size " . filesize($filename) . "\n";
}
-
?>
]]>
</programlisting>