cvs: phpdoc-zh /reference/filesystem/functions basename.xml chgrp.xml chown.xml clearstatcache.xml delete.xml disk-free-space.xml

From: Date: Mon, 19 Sep 2005 16:26:31 +0000
Subject: cvs: phpdoc-zh /reference/filesystem/functions basename.xml chgrp.xml chown.xml clearstatcache.xml delete.xml disk-free-space.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-2666@lists.php.net to get a copy of this message
dallas Mon Sep 19 12:26:31 2005 EDT Modified files: /phpdoc-zh/reference/filesystem/functions basename.xml chgrp.xml chown.xml clearstatcache.xml delete.xml disk-free-space.xml Log: WS fix.

http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/basename.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-zh/reference/filesystem/functions/basename.xml diff -u phpdoc-zh/reference/filesystem/functions/basename.xml:1.4 phpdoc-zh/reference/filesystem/functions/basename.xml:1.5 --- phpdoc-zh/reference/filesystem/functions/basename.xml:1.4 Mon Aug 8 12:40:01 2005 +++ phpdoc-zh/reference/filesystem/functions/basename.xml Mon Sep 19 12:26:29 2005 @@ -1,31 +1,31 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> -<!-- $Author: yincheng $ --> +<!-- $Revision: 1.5 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.6 Maintainer: dallas Status: ready --> - <refentry id="function.basename"> - <refnamediv> - <refname>basename</refname> - <refpurpose>·µ»ØÂ·¾¶ÖеÄÎļþÃû²¿·Ö</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>string</type><methodname>basename</methodname> - <methodparam><type>string</type><parameter>path</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>suffix</parameter></methodparam> - </methodsynopsis> - <para> - ¸ø³öÒ»¸ö°üº¬ÓÐÖ¸ÏòÒ»¸öÎļþµÄȫ·¾¶µÄ×Ö·û´®£¬±¾º¯Êý·µ»Ø»ù±¾µÄÎļþÃû¡£Èç¹ûÎļþÃûÊÇÒÔ - <parameter>suffix</parameter> ½áÊøµÄ£¬ÄÇÕâÒ»²¿·ÖÒ²»á±»È¥µô¡£ - </para> - <para> - ÔÚ Windows - ÖУ¬Ð±Ïߣ¨<literal>/</literal>£©ºÍ·´Ð±Ïߣ¨<literal>\</literal>£©¶¼¿ÉÒÔÓÃ×÷Ŀ¼·Ö¸ô·û¡£ÔÚÆäËü»·¾³ÏÂÊÇбÏߣ¨<literal>/</literal>£©¡£ - </para> - <para> - <example> - <title><function>basename</function> Àý×Ó</title> - <programlisting role="php"> +<refentry id="function.basename"> + <refnamediv> + <refname>basename</refname> + <refpurpose>·µ»ØÂ·¾¶ÖеÄÎļþÃû²¿·Ö</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>string</type><methodname>basename</methodname> + <methodparam><type>string</type><parameter>path</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>suffix</parameter></methodparam> + </methodsynopsis> + <para> + ¸ø³öÒ»¸ö°üº¬ÓÐÖ¸ÏòÒ»¸öÎļþµÄȫ·¾¶µÄ×Ö·û´®£¬±¾º¯Êý·µ»Ø»ù±¾µÄÎļþÃû¡£Èç¹ûÎļþÃûÊÇÒÔ + <parameter>suffix</parameter> ½áÊøµÄ£¬ÄÇÕâÒ»²¿·ÖÒ²»á±»È¥µô¡£ + </para> + <para> + ÔÚ Windows + ÖУ¬Ð±Ïߣ¨<literal>/</literal>£©ºÍ·´Ð±Ïߣ¨<literal>\</literal>£©¶¼¿ÉÒÔÓÃ×÷Ŀ¼·Ö¸ô·û¡£ÔÚÆäËü»·¾³ÏÂÊÇбÏߣ¨<literal>/</literal>£©¡£ + </para> + <para> + <example> + <title><function>basename</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php $path = "/home/httpd/html/index.php"; @@ -33,19 +33,19 @@ $file = basename($path,".php"); // $file is set to "index" ?> ]]> - </programlisting> - </example> - </para> - <note> - <para> - <parameter>suffix</parameter> ²ÎÊýÊÇ PHP 4.1.0 мӵġ£ - </para> - </note> - <para> - ²Î¼û <function>dirname</function>¡£ - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <note> + <para> + <parameter>suffix</parameter> ²ÎÊýÊÇ PHP 4.1.0 мӵġ£ + </para> + </note> + <para> + ²Î¼û <function>dirname</function>¡£ + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/chgrp.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-zh/reference/filesystem/functions/chgrp.xml diff -u phpdoc-zh/reference/filesystem/functions/chgrp.xml:1.4 phpdoc-zh/reference/filesystem/functions/chgrp.xml:1.5 --- phpdoc-zh/reference/filesystem/functions/chgrp.xml:1.4 Tue Aug 16 10:26:04 2005 +++ phpdoc-zh/reference/filesystem/functions/chgrp.xml Mon Sep 19 12:26:29 2005 @@ -1,34 +1,34 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.5 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.6 Maintainer: dallas Status: ready --> - <refentry id="function.chgrp"> - <refnamediv> - <refname>chgrp</refname> - <refpurpose>¸Ä±äÎļþËùÊôµÄ×é</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>bool</type><methodname>chgrp</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - <methodparam><type>mixed</type><parameter>group</parameter></methodparam> - </methodsynopsis> - <para> - ³¢ÊÔ½«Îļþ <parameter>filename</parameter> ËùÊôµÄ×é¸Ä³É - <parameter>group</parameter>£¨Í¨¹ý×éÃû»ò×é ID - Ö¸¶¨£©¡£Ö»Óг¬¼¶Óû§¿ÉÒÔÈÎÒâÐÞ¸ÄÎļþµÄ×飬ÆäËüÓû§¿ÉÄÜÖ»Äܽ«ÎļþµÄ×é¸Ä³É¸ÃÓû§×Ô¼ºËùÔÚµÄ×é¡£ - </para> - <para> - &return.success; - </para> - &note.no-remote; - &note.sm.uidcheck; - <para> - ²Î¼û <function>chown</function> ºÍ <function>chmod</function>¡£ - </para> - </refsect1> - </refentry> +<refentry id="function.chgrp"> + <refnamediv> + <refname>chgrp</refname> + <refpurpose>¸Ä±äÎļþËùÊôµÄ×é</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>bool</type><methodname>chgrp</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + <methodparam><type>mixed</type><parameter>group</parameter></methodparam> + </methodsynopsis> + <para> + ³¢ÊÔ½«Îļþ <parameter>filename</parameter> ËùÊôµÄ×é¸Ä³É + <parameter>group</parameter>£¨Í¨¹ý×éÃû»ò×é ID + Ö¸¶¨£©¡£Ö»Óг¬¼¶Óû§¿ÉÒÔÈÎÒâÐÞ¸ÄÎļþµÄ×飬ÆäËüÓû§¿ÉÄÜÖ»Äܽ«ÎļþµÄ×é¸Ä³É¸ÃÓû§×Ô¼ºËùÔÚµÄ×é¡£ + </para> + <para> + &return.success; + </para> + &note.no-remote; + &note.sm.uidcheck; + <para> + ²Î¼û <function>chown</function> ºÍ <function>chmod</function>¡£ + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/chown.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/chown.xml diff -u phpdoc-zh/reference/filesystem/functions/chown.xml:1.5 phpdoc-zh/reference/filesystem/functions/chown.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/chown.xml:1.5 Fri Jul 15 13:17:27 2005 +++ phpdoc-zh/reference/filesystem/functions/chown.xml Mon Sep 19 12:26:29 2005 @@ -1,33 +1,33 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: yincheng $ --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.7 Maintainer: dallas Status: ready --> - <refentry id="function.chown"> - <refnamediv> - <refname>chown</refname> - <refpurpose>¸Ä±äÎļþµÄËùÓÐÕß</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>bool</type><methodname>chown</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - <methodparam><type>mixed</type><parameter>user</parameter></methodparam> - </methodsynopsis> - <para> - ³¢ÊÔ½«Îļþ <parameter>filename</parameter> µÄËùÓÐÕ߸ijÉÓû§ - <parameter>user</parameter>£¨ÓÉÓû§Ãû»òÓû§ ID Ö¸¶¨£©¡£Ö»Óг¬¼¶Óû§¿ÉÒԸıäÎļþµÄËùÓÐÕß¡£ - </para> - <para> - &return.success; - </para> - &note.no-remote; - &note.sm.uidcheck; - <para> - ²Î¼û <function>chmod</function>¡£ - </para> - </refsect1> - </refentry> +<refentry id="function.chown"> + <refnamediv> + <refname>chown</refname> + <refpurpose>¸Ä±äÎļþµÄËùÓÐÕß</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>bool</type><methodname>chown</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + <methodparam><type>mixed</type><parameter>user</parameter></methodparam> + </methodsynopsis> + <para> + ³¢ÊÔ½«Îļþ <parameter>filename</parameter> µÄËùÓÐÕ߸ijÉÓû§ + <parameter>user</parameter>£¨ÓÉÓû§Ãû»òÓû§ ID Ö¸¶¨£©¡£Ö»Óг¬¼¶Óû§¿ÉÒԸıäÎļþµÄËùÓÐÕß¡£ + </para> + <para> + &return.success; + </para> + &note.no-remote; + &note.sm.uidcheck; + <para> + ²Î¼û <function>chmod</function>¡£ + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/clearstatcache.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-zh/reference/filesystem/functions/clearstatcache.xml diff -u phpdoc-zh/reference/filesystem/functions/clearstatcache.xml:1.3 phpdoc-zh/reference/filesystem/functions/clearstatcache.xml:1.4 --- phpdoc-zh/reference/filesystem/functions/clearstatcache.xml:1.3 Tue Aug 16 10:16:14 2005 +++ phpdoc-zh/reference/filesystem/functions/clearstatcache.xml Mon Sep 19 12:26:29 2005 @@ -1,43 +1,43 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.3 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.4 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.8 Maintainer: dallas Status: ready --> - <refentry id="function.clearstatcache"> - <refnamediv> - <refname>clearstatcache</refname> - <refpurpose>Çå³ýÎļþ״̬»º´æ</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>void</type><methodname>clearstatcache</methodname> - <void/> - </methodsynopsis> - <para> - µ±Ê¹Óà <function>stat</function>£¬<function>lstat</function> - »òÕßÈκÎÁÐÔÚÊÜÓ°Ï캯Êý±í£¨¼ûÏÂÃæ£©Öеĺ¯Êýʱ£¬PHP - ½«»º´æÕâЩº¯ÊýµÄ·µ»ØÐÅÏ¢ÒÔÌṩ¸ü¿ìµÄÐÔÄÜ¡£È»¶øÔÚijЩÇé¿öÏ£¬Äã¿ÉÄÜÏëÇå³ý±»»º´æµÄÐÅÏ¢¡£ÀýÈçÈç¹ûÔÚÒ»¸ö½Å±¾Öжà´Î¼ì²éͬһ¸öÎļþ£¬¶ø¸ÃÎļþÔڴ˽ű¾Ö´ÐÐÆÚ¼äÓб»É¾³ý»òÐ޸ĵÄΣÏÕʱ£¬ÄãÐèÒªÇå³ýÎļþ״̬»º´æ¡£ÕâÖÖÇé¿öÏ£¬¿ÉÒÔÓà - <function>clearstatcache</function> º¯ÊýÀ´Çå³ý±» - PHP »º´æµÄ¸ÃÎļþÐÅÏ¢¡£ - </para> - <para> - ±ØÐë×¢ÒâµÄÊÇ£¬¶ÔÓÚ²»´æÔÚµÄÎļþ£¬PHP ²¢²»»á»º´æÆäÐÅÏ¢¡£ËùÒÔÈç¹ûµ÷Óà - <function>file_exists</function> À´¼ì²é²»´æÔÚµÄÎļþ£¬ÔÚ¸ÃÎļþûÓб»´´½¨Ö®Ç°£¬Ëü¶¼»á·µ»Ø - &false;¡£Èç¹û¸ÃÎļþ±»´´½¨ÁË£¬¾ÍËãÒÔºó±»É¾³ý£¬Ëü¶¼»á·µ»Ø &true; - </para> - <note> - <para> - ±¾º¯Êý»º´æÌض¨ÎļþÃûµÄÐÅÏ¢£¬Òò´ËÖ»ÔÚ¶Ôͬһ¸öÎļþÃû½øÐжà´Î²Ù×÷²¢ÇÒÐèÒª¸ÃÎļþÐÅÏ¢²»±»»º´æÊ±²ÅÐèÒªµ÷Óà - <function>clearstatcache</function>¡£ - </para> - </note> - <para> - ÊÜÓ°ÏìµÄº¯Êý°üÀ¨ - <function>stat</function>£¬<function>lstat</function>£¬<function>file_exists</function>£¬<function>is_writable</function>£¬<function>is_readable</function>£¬<function>is_executable</function>£¬<function>is_file</function>£¬<function>is_dir</function>£¬<function>is_link</function>£¬<function>filectime</function>£¬<function>fileatime</function>£¬<function>filemtime</function>£¬<function>fileinode</function>£¬<function>filegroup</function>£¬<function>fileowner</function>£¬<function>filesize</function>£¬<function>filetype</function> - ºÍ <function>fileperms</function>¡£ - </para> - </refsect1> - </refentry> +<refentry id="function.clearstatcache"> + <refnamediv> + <refname>clearstatcache</refname> + <refpurpose>Çå³ýÎļþ״̬»º´æ</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>void</type><methodname>clearstatcache</methodname> + <void/> + </methodsynopsis> + <para> + µ±Ê¹Óà <function>stat</function>£¬<function>lstat</function> + »òÕßÈκÎÁÐÔÚÊÜÓ°Ï캯Êý±í£¨¼ûÏÂÃæ£©Öеĺ¯Êýʱ£¬PHP + ½«»º´æÕâЩº¯ÊýµÄ·µ»ØÐÅÏ¢ÒÔÌṩ¸ü¿ìµÄÐÔÄÜ¡£È»¶øÔÚijЩÇé¿öÏ£¬Äã¿ÉÄÜÏëÇå³ý±»»º´æµÄÐÅÏ¢¡£ÀýÈçÈç¹ûÔÚÒ»¸ö½Å±¾Öжà´Î¼ì²éͬһ¸öÎļþ£¬¶ø¸ÃÎļþÔڴ˽ű¾Ö´ÐÐÆÚ¼äÓб»É¾³ý»òÐ޸ĵÄΣÏÕʱ£¬ÄãÐèÒªÇå³ýÎļþ״̬»º´æ¡£ÕâÖÖÇé¿öÏ£¬¿ÉÒÔÓà + <function>clearstatcache</function> º¯ÊýÀ´Çå³ý±» + PHP »º´æµÄ¸ÃÎļþÐÅÏ¢¡£ + </para> + <para> + ±ØÐë×¢ÒâµÄÊÇ£¬¶ÔÓÚ²»´æÔÚµÄÎļþ£¬PHP ²¢²»»á»º´æÆäÐÅÏ¢¡£ËùÒÔÈç¹ûµ÷Óà + <function>file_exists</function> À´¼ì²é²»´æÔÚµÄÎļþ£¬ÔÚ¸ÃÎļþûÓб»´´½¨Ö®Ç°£¬Ëü¶¼»á·µ»Ø + &false;¡£Èç¹û¸ÃÎļþ±»´´½¨ÁË£¬¾ÍËãÒÔºó±»É¾³ý£¬Ëü¶¼»á·µ»Ø &true; + </para> + <note> + <para> + ±¾º¯Êý»º´æÌض¨ÎļþÃûµÄÐÅÏ¢£¬Òò´ËÖ»ÔÚ¶Ôͬһ¸öÎļþÃû½øÐжà´Î²Ù×÷²¢ÇÒÐèÒª¸ÃÎļþÐÅÏ¢²»±»»º´æÊ±²ÅÐèÒªµ÷Óà + <function>clearstatcache</function>¡£ + </para> + </note> + <para> + ÊÜÓ°ÏìµÄº¯Êý°üÀ¨ + <function>stat</function>£¬<function>lstat</function>£¬<function>file_exists</function>£¬<function>is_writable</function>£¬<function>is_readable</function>£¬<function>is_executable</function>£¬<function>is_file</function>£¬<function>is_dir</function>£¬<function>is_link</function>£¬<function>filectime</function>£¬<function>fileatime</function>£¬<function>filemtime</function>£¬<function>fileinode</function>£¬<function>filegroup</function>£¬<function>fileowner</function>£¬<function>filesize</function>£¬<function>filetype</function> + ºÍ <function>fileperms</function>¡£ + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/delete.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-zh/reference/filesystem/functions/delete.xml diff -u phpdoc-zh/reference/filesystem/functions/delete.xml:1.6 phpdoc-zh/reference/filesystem/functions/delete.xml:1.7 --- phpdoc-zh/reference/filesystem/functions/delete.xml:1.6 Fri Jul 15 13:17:27 2005 +++ phpdoc-zh/reference/filesystem/functions/delete.xml Mon Sep 19 12:26:29 2005 @@ -1,28 +1,28 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.6 $ --> -<!-- $Author: yincheng $ --> +<!-- $Revision: 1.7 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.4 Maintainer: dallas Status: ready --> - <refentry id="function.delete"> - <refnamediv> - <refname>delete</refname> - <refpurpose>²Î¼û <function>unlink</function> »ò <function>unset</function></refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>void</type><methodname>delete</methodname> - <methodparam><type>string</type><parameter>file</parameter></methodparam> - </methodsynopsis> - <para> - ÕâÊǸöÐé¹¹µÄÊÖ²áÌõÄ¿À´¸øÄÇЩ±¾À´ÊÇÕÒ <function>unlink</function> »òÕß - <function>unset</function> µÄÈËÌṩһЩÓÐÓõÄÐÅÏ¢¡£ - </para> - <para> - ²Î¼û <function>unlink</function> À´É¾³ýÎļþ£¬<function>unset</function> - À´É¾³ý±äÁ¿¡£ - </para> - </refsect1> - </refentry> +<refentry id="function.delete"> + <refnamediv> + <refname>delete</refname> + <refpurpose>²Î¼û <function>unlink</function> »ò <function>unset</function></refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>void</type><methodname>delete</methodname> + <methodparam><type>string</type><parameter>file</parameter></methodparam> + </methodsynopsis> + <para> + ÕâÊǸöÐé¹¹µÄÊÖ²áÌõÄ¿À´¸øÄÇЩ±¾À´ÊÇÕÒ <function>unlink</function> »òÕß + <function>unset</function> µÄÈËÌṩһЩÓÐÓõÄÐÅÏ¢¡£ + </para> + <para> + ²Î¼û <function>unlink</function> À´É¾³ýÎļþ£¬<function>unset</function> + À´É¾³ý±äÁ¿¡£ + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/disk-free-space.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-zh/reference/filesystem/functions/disk-free-space.xml diff -u phpdoc-zh/reference/filesystem/functions/disk-free-space.xml:1.4 phpdoc-zh/reference/filesystem/functions/disk-free-space.xml:1.5 --- phpdoc-zh/reference/filesystem/functions/disk-free-space.xml:1.4 Fri Jul 15 13:17:27 2005 +++ phpdoc-zh/reference/filesystem/functions/disk-free-space.xml Mon Sep 19 12:26:29 2005 @@ -1,25 +1,25 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> -<!-- $Author: yincheng $ --> +<!-- $Revision: 1.5 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.4 Maintainer: dallas Status: ready --> - <refentry id="function.disk-free-space"> - <refnamediv> - <refname>disk_free_space</refname> - <refpurpose>·µ»ØÄ¿Â¼ÖеĿÉÓÿռä</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>float</type><methodname>disk_free_space</methodname> - <methodparam><type>string</type><parameter>directory</parameter></methodparam> - </methodsynopsis> - <para> - ¸ø³öÒ»¸ö°üº¬ÓÐÒ»¸öĿ¼µÄ×Ö·û´®£¬±¾º¯Êý½«¸ù¾ÝÏàÓ¦µÄÎļþϵͳ»ò´ÅÅÌ·ÖÇø·µ»Ø¿ÉÓõÄ×Ö½ÚÊý¡£ - </para> - <para> - <example> - <title><function>disk_free_space</function> Àý×Ó</title> - <programlisting role="php"> +<refentry id="function.disk-free-space"> + <refnamediv> + <refname>disk_free_space</refname> + <refpurpose>·µ»ØÄ¿Â¼ÖеĿÉÓÿռä</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>float</type><methodname>disk_free_space</methodname> + <methodparam><type>string</type><parameter>directory</parameter></methodparam> + </methodsynopsis> + <para> + ¸ø³öÒ»¸ö°üº¬ÓÐÒ»¸öĿ¼µÄ×Ö·û´®£¬±¾º¯Êý½«¸ù¾ÝÏàÓ¦µÄÎļþϵͳ»ò´ÅÅÌ·ÖÇø·µ»Ø¿ÉÓõÄ×Ö½ÚÊý¡£ + </para> + <para> + <example> + <title><function>disk_free_space</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php // $df °üº¬¸ùĿ¼Ï¿ÉÓõÄ×Ö½ÚÊý @@ -29,15 +29,15 @@ disk_free_space("D:"); ?> ]]> - </programlisting> - </example> - </para> - &note.no-remote; - <simpara> - ²Î¼û <function>disk_total_space</function>¡£ - </simpara> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + &note.no-remote; + <simpara> + ²Î¼û <function>disk_total_space</function>¡£ + </simpara> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables:
« previous php.doc.zh (#2666) next »