cvs: phpdoc-zh /reference/filesystem constants.xml /reference/filesystem/functions file-get-contents.xml file.xml fopen.xml

From: Date: Sun, 20 Apr 2003 06:35:00 +0000
Subject: cvs: phpdoc-zh /reference/filesystem constants.xml /reference/filesystem/functions file-get-contents.xml file.xml fopen.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-1351@lists.php.net to get a copy of this message
dallas Sun Apr 20 02:35:00 2003 EDT Modified files: /phpdoc-zh/reference/filesystem constants.xml /phpdoc-zh/reference/filesystem/functions file-get-contents.xml file.xml fopen.xml Log: Updated. Index: phpdoc-zh/reference/filesystem/constants.xml diff -u phpdoc-zh/reference/filesystem/constants.xml:1.1 phpdoc-zh/reference/filesystem/constants.xml:1.2 --- phpdoc-zh/reference/filesystem/constants.xml:1.1 Sat Mar 8 05:11:29 2003 +++ phpdoc-zh/reference/filesystem/constants.xml Sun Apr 20 02:35:00 2003 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: dallas $ --> -<!-- EN-Revision: 1.1 Maintainer: dallas Status: ready --> +<!-- EN-Revision: 1.2 Maintainer: dallas Status: ready --> <section id="filesystem.constants"> &reftitle.constants; &extension.constants; @@ -97,6 +97,50 @@ <varlistentry> <term> <constant>PATHINFO_EXTENSION</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>FILE_USE_INCLUDE_PATH</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>FILE_APPEND</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>FILE_IGNORE_NEW_LINES</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>FILE_SKIP_EMPTY_LINES</constant> (<type>integer</type>) </term> <listitem> Index: phpdoc-zh/reference/filesystem/functions/file-get-contents.xml diff -u phpdoc-zh/reference/filesystem/functions/file-get-contents.xml:1.3 phpdoc-zh/reference/filesystem/functions/file-get-contents.xml:1.4 --- phpdoc-zh/reference/filesystem/functions/file-get-contents.xml:1.3 Sun Jan 12 07:18:22 2003 +++ phpdoc-zh/reference/filesystem/functions/file-get-contents.xml Sun Apr 20 02:35:00 2003 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- $Author: dallas $ --> -<!-- EN-Revision: 1.6 Maintainer: dallas Status: ready --> +<!-- EN-Revision: 1.7 Maintainer: dallas Status: ready --> <refentry id="function.file-get-contents"> <refnamediv> <refname>file_get_contents</refname> @@ -13,6 +13,7 @@ <type>string</type><methodname>file_get_contents</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>use_include_path</parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>context</parameter></methodparam> </methodsynopsis> <para> ºÍ <function>file</function> Ò»Ñù£¬Ö»³ýÁË @@ -20,6 +21,11 @@ </para> &note.bin-safe; &tip.fopen-wrapper; + <note> + <simpara> + Context Ö§³ÖÊÇ <literal>PHP 5.0</literal> мӵġ£ + </simpara> + </note> <simpara> ²Î¼û <function>fgets</function>£¬<function>file</function>£¬<function>fread</function>£¬<function>include</function> ºÍ <function>readfile</function>¡£ Index: phpdoc-zh/reference/filesystem/functions/file.xml diff -u phpdoc-zh/reference/filesystem/functions/file.xml:1.4 phpdoc-zh/reference/filesystem/functions/file.xml:1.5 --- phpdoc-zh/reference/filesystem/functions/file.xml:1.4 Mon Feb 24 04:12:26 2003 +++ phpdoc-zh/reference/filesystem/functions/file.xml Sun Apr 20 02:35:00 2003 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- $Author: dallas $ --> -<!-- EN-Revision: 1.7 Maintainer: dallas Status: ready --> +<!-- EN-Revision: 1.8 Maintainer: dallas Status: ready --> <refentry id="function.file"> <refnamediv> <refname>file</refname> @@ -13,6 +13,7 @@ <type>array</type><methodname>file</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>use_include_path</parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>context</parameter></methodparam> </methodsynopsis> <para> ºÍ <function>readfile</function> Ò»Ñù£¬Ö»³ýÁË <function>file</function> Index: phpdoc-zh/reference/filesystem/functions/fopen.xml diff -u phpdoc-zh/reference/filesystem/functions/fopen.xml:1.4 phpdoc-zh/reference/filesystem/functions/fopen.xml:1.5 --- phpdoc-zh/reference/filesystem/functions/fopen.xml:1.4 Fri Feb 28 04:30:51 2003 +++ phpdoc-zh/reference/filesystem/functions/fopen.xml Sun Apr 20 02:35:00 2003 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- $Author: dallas $ --> -<!-- EN-Revision: 1.10 Maintainer: dallas Status: ready --> +<!-- EN-Revision: 1.11 Maintainer: dallas Status: ready --> <!-- CREDITS: lm92 --> <refentry id="function.fopen"> <refnamediv> @@ -47,7 +47,14 @@ </simpara> <note> <simpara> - ËùÖ§³ÖµÄЭÒéÁбí¼û<xref linkend="wrappers"/>¡£ + ËùÖ§³ÖµÄЭÒéÁбí¼û<xref linkend="wrappers"/>¡£Ä³Ð©Ð­Ò飨Ҳ±»³ÆÎª + <literal>wrappers</literal>£©Ö§³Ö + <literal>context</literal> ºÍ <literal>php.ini</literal> + Ñ¡Ïî¡£²Î¼ûÏàÓ¦µÄÒ³ÃæÄÄЩѡÏî¿ÉÒÔ±»É趨¡££¨Ò²¾ÍÊÇ + <literal>php.ini</literal> µÄÖµ + <literal>user_agent</literal> ÓÃÔÚ <literal>http</literal> ЭÒéÖС££©ÓÐ¹Ø + <literal>contexts</literal> ºÍ + <parameter>zcontext</parameter> ²ÎÊýµÄ˵Ã÷£¬²Î¼û <xref linkend="ref.stream"/>¡£ </simpara> </note> <para> @@ -120,11 +127,6 @@ ÖÐËÑѰÎļþµÄ»°£¬¿ÉÒÔ½«¿ÉÑ¡µÄµÚÈý¸ö²ÎÊý <parameter>use_include_path</parameter> ÉèΪ '1' »ò &true;¡£ - </para> - <para> - ¿ÉÑ¡µÄµÚËĸö²ÎÊý - <parameter>zcontext</parameter> - ÓÃÓÚÖ¸¶¨µ÷Õû²ÎÊýºÍ»Øµ÷¡£ </para> <simpara> Èç¹û´ò¿ªÊ§°Ü£¬±¾º¯Êý·µ»Ø &false;¡£

« previous php.doc.zh (#1351) next »