nlopess Fri Aug 11 16:50:23 2006 UTC
Modified files:
/phpdoc/en/reference/filesystem/functions glob.xml
Log:
fix #36747: not available everywhere
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filesystem/functions/glob.xml?r1=1.19&r2=1.20&diff_format=u
Index: phpdoc/en/reference/filesystem/functions/glob.xml
diff -u phpdoc/en/reference/filesystem/functions/glob.xml:1.19
phpdoc/en/reference/filesystem/functions/glob.xml:1.20
--- phpdoc/en/reference/filesystem/functions/glob.xml:1.19 Wed Jun 22
20:34:42 2005
+++ phpdoc/en/reference/filesystem/functions/glob.xml Fri Aug 11 16:50:23 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.19 $ -->
+<!-- $Revision: 1.20 $ -->
<refentry id="function.glob">
<refnamediv>
<refname>glob</refname>
@@ -71,13 +71,8 @@
<listitem>
<simpara>
<constant>GLOB_ERR</constant> - Stop on read errors (like unreadable
- directories), by default errors are ignored
+ directories), by default errors are ignored. Added in PHP 5.1.0.
</simpara>
- <note>
- <simpara>
- <constant>GLOB_ERR</constant> was added in PHP 5.1
- </simpara>
- </note>
</listitem>
</itemizedlist>
</para>
@@ -96,9 +91,7 @@
?>
]]>
</programlisting>
- <para>
- Output will look something like:
- </para>
+ &example.outputs.similar;
<screen>
<![CDATA[
funclist.txt size 44686
@@ -110,6 +103,11 @@
</para>
¬e.no-remote;
+ <note>
+ <simpara>
+ This function isn't available on some systems (e.g. old Sun OS).
+ </simpara>
+ </note>
<para>
See also <function>opendir</function>,