cvs: phpdoc-zh /reference/filesystem/functions file-get-meta-data.xml

From: Date: Sat, 28 Sep 2002 04:14:48 +0000
Subject: cvs: phpdoc-zh /reference/filesystem/functions file-get-meta-data.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-679@lists.php.net to get a copy of this message
dallas Sat Sep 28 00:14:48 2002 EDT Modified files: /phpdoc-zh/reference/filesystem/functions file-get-meta-data.xml Log: More updates. Index: phpdoc-zh/reference/filesystem/functions/file-get-meta-data.xml diff -u phpdoc-zh/reference/filesystem/functions/file-get-meta-data.xml:1.1 phpdoc-zh/reference/filesystem/functions/file-get-meta-data.xml:1.2 --- phpdoc-zh/reference/filesystem/functions/file-get-meta-data.xml:1.1 Fri Sep 27 00:22:20 2002 +++ phpdoc-zh/reference/filesystem/functions/file-get-meta-data.xml Sat Sep 28 00:14:48 2002 @@ -1,29 +1,95 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.1 Maintainer: dallas Status: ready --> - <refentry id="function.file-get-wrapper-data"> + <refentry id="function.file-get-meta-data"> <refnamediv> - <refname>file_get_wrapper_data</refname> + <refname>file_get_meta_data</refname> <refpurpose>´Ó·âװЭÒéÎļþÖ¸ÕëÖÐÈ¡µÃ±¨Í·£¯ÔªÊý¾Ý</refpurpose> </refnamediv> <refsect1> <title>˵Ã÷</title> <methodsynopsis> - <type>mixed</type><methodname>file_get_wrapper_data</methodname> + <type>mixed</type><methodname>file_get_meta_data</methodname> <methodparam><type>int</type><parameter>fp</parameter></methodparam> </methodsynopsis> <simpara> - ±¾º¯Êý·µ»ØÍ¨¹ý <function>fopen</function> ´ò¿ªµÄÎļþµÄ±¨Í·»òÕßÔªÊý¾Ý¡£¿ÉÒÔÓÃÀ´·µ»Ø - HTTP Á¬½ÓµÄÏìÓ¦±¨Í·£¬»òÕ߯äËü×ÊÔ´µÄͳ¼ÆÊý¾Ý¡£ + ·µ»ØÏÖÓÐ <parameter>stream</parameter> µÄÐÅÏ¢¡£¿ÉÒÔÊÇÈκÎͨ¹ý + <function>fopen</function>£¬<function>fsockopen</function> + ºÍ <function>pfsockopen</function> ½¨Á¢µÄÁ÷¡£·µ»ØµÄÊý×é°üº¬ÒÔÏÂÏîÄ¿£º </simpara> + <itemizedlist> + <listitem> + <para> + <parameter>timed_out</parameter> (bool) - Èç¹ûÔÚÉϴε÷Óà + <function>fread</function> »òÕß <function>fgets</function> + ÖеȴýÊý¾ÝʱÁ÷³¬Ê±ÁËÔòΪ &true;¡£ + </para> + </listitem> + <listitem> + <para> + <parameter>blocked</parameter> (bool) - Èç¹ûÁ÷´¦ÓÚ×èÈû + IO ģʽʱΪ &true;¡£²Î¼û <function>socket_set_blocking</function>¡£ + </para> + </listitem> + <listitem> + <para> + <parameter>eof</parameter> (bool) - Èç¹ûÁ÷µ½´ïÎļþĩβʱΪ + &true;¡£×¢Òâ¶ÔÓÚ socket Á÷ÉõÖÁµ± <parameter>unread_bytes</parameter> + Ϊ·ÇÁãֵʱҲ¿ÉÒÔΪ &true;¡£Òª²â¶¨ÊÇ·ñÓиü¶àÊý¾Ý¿É¶Á£¬Óà + <function>feof</function> Ìæ´ú¶ÁÈ¡±¾ÏîÄ¿µÄÖµ¡£ + </para> + </listitem> + <listitem> + <para> + <parameter>unread_bytes</parameter> (int) - µ±Ç°¶ÁÈ¡»º³åÇøÖеÄ×Ö½ÚÊý¡£ + </para> + </listitem> + </itemizedlist> <simpara> - ·µ»ØÊý¾ÝµÄ¸ñʽ¹ÊÒâ²»ÔÚ´ËʱÁÐÈëÎĵµ£¬²¢ÇÒ¸ù¾ÝʹÓÃÁËÄÄÖÖ·âװЭÒé¶ø²»Í¬¡£ + ÒÔÏÂÏîÄ¿ÊÇ PHP 4.3 мӵģº </simpara> + <itemizedlist> + <listitem> + <para> + <parameter>stream_type</parameter> (string) - Ò»¸öÃèÊöÁ÷µ×²ãʵÏֵıê×¢¡£ + </para> + </listitem> + <listitem> + <para> + <parameter>wrapper_type</parameter> (string) - + Ò»¸öÃèÊöÁ÷µÄ·Ö²ãЭÒé·âװʵÏֵıê×¢¡£¸ü¶à¹ØÓÚ·âװЭÒéµÄÐÅÏ¢¼û + <xref linkend="wrappers"/>¡£ + </para> + </listitem> + <listitem> + <para> + <parameter>wrapper_data</parameter> (mixed) - + µ±Ç°Á÷¸½¼ÓµÄ·âװЭÒéÊý¾Ý¡£¸ü¶à·âװЭÒé¼°ÆäÊý¾ÝµÄÐÅÏ¢¼û + <xref linkend="wrappers"/>¡£ + </para> + </listitem> + <listitem> + <para> + <parameter>filters</parameter> (array) - + °üº¬Óб»µþ¼ÓÔÚµ±Ç°Á÷µÄÈκιýÂËÆ÷ÃûµÄÊý×é¡£¹ýÂËÆ÷ĿǰûÓÐÎĵµ¡£ + </para> + </listitem> + </itemizedlist> <note> <para> - ±¾º¯ÊýÊÇ PHP 4.3.0 Òý½øµÄ¡£ + ±¾º¯ÊýÊÇ PHP 4.3 Òý½øµÄ£¬Ôڴ˰汾֮ǰ£¬¿ÉÒÔÓà <function>socket_get_status</function> + À´È¡µÃǰËĸöÏîÄ¿²¢ÇÒ<emphasis>½öÄÜÓÃÓÚ»ùÓÚ socket µÄÁ÷</emphasis>¡£ </para> + <para> + ÔÚ PHP 4.3 ¼°ÒÔºó°æ±¾ÖУ¬<function>socket_get_status</function> + ÊDZ¾º¯ÊýµÄ±ðÃû¡£ + </para> + </note> + <note> + <simpara> + ±¾º¯Êý²»ÄÜ×÷ÓÃÓÚͨ¹ý <link linkend="ref.sockets">Socket À©Õ¹¿â</link>´´½¨µÄÁ÷¡£ + </simpara> </note> </refsect1> </refentry>

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