svn: /phpdoc/zh/trunk/reference/filesystem/functions/ realpath-cache-get.xml realpath-cache-size.xml

From: Date: Sat, 08 Oct 2016 15:51:39 +0000
Subject: svn: /phpdoc/zh/trunk/reference/filesystem/functions/ realpath-cache-get.xml realpath-cache-size.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-4708@lists.php.net to get a copy of this message
bear Sat, 08 Oct 2016 15:51:39 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=340398 Log: Chinese translation for realpath_cache_get and realpath_cache_size. Changed paths: A phpdoc/zh/trunk/reference/filesystem/functions/realpath-cache-get.xml A phpdoc/zh/trunk/reference/filesystem/functions/realpath-cache-size.xml Added: phpdoc/zh/trunk/reference/filesystem/functions/realpath-cache-get.xml =================================================================== --- phpdoc/zh/trunk/reference/filesystem/functions/realpath-cache-get.xml (rev 0) +++ phpdoc/zh/trunk/reference/filesystem/functions/realpath-cache-get.xml 2016-10-08 15:51:39 UTC (rev 340398) @@ -0,0 +1,105 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: $ --> +<!-- EN-Revision: 322131 Maintainer: bear Status: ready --> +<!-- Reviewed: no --> + +<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.realpath-cache-get"> + <refnamediv> + <refname>realpath_cache_get</refname> + <refpurpose>获取真实目录缓存的详情</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>array</type><methodname>realpath_cache_get</methodname> + <void/> + </methodsynopsis> + <para> + 获得真实路径缓存的详情。 + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + 返回真实路径缓存详情的数组。键是原始路径以及值为具体信息数组,含有该解析的路径,过期时间以及其他的更多选项。 + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>realpath_cache_get</function> example</title> + <programlisting role="php"> +<![CDATA[ +<?php +var_dump(realpath_cache_get()); +?> +]]> + </programlisting> + &example.outputs.similar; + <screen> +<![CDATA[ +array(2) { + ["/test"]=> + array(4) { + ["key"]=> + int(123456789) + ["is_dir"]=> + bool(true) + ["realpath"]=> + string(5) "/test" + ["expires"]=> + int(1260318939) + } + ["/test/test.php"]=> + array(4) { + ["key"]=> + int(987654321) + ["is_dir"]=> + bool(false) + ["realpath"]=> + string(12) "/root/test.php" + ["expires"]=> + int(1260318939) + } +} +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>realpath_cache_size</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"~/.phpdoc/manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Added: phpdoc/zh/trunk/reference/filesystem/functions/realpath-cache-size.xml =================================================================== --- phpdoc/zh/trunk/reference/filesystem/functions/realpath-cache-size.xml (rev 0) +++ phpdoc/zh/trunk/reference/filesystem/functions/realpath-cache-size.xml 2016-10-08 15:51:39 UTC (rev 340398) @@ -0,0 +1,86 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: $ --> +<!-- EN-Revision: 331297 Maintainer: bear Status: ready --> +<!-- Reviewed: no --> + +<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.realpath-cache-size"> + <refnamediv> + <refname>realpath_cache_size</refname> + <refpurpose>获取真实路径缓冲区的大小</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>int</type><methodname>realpath_cache_size</methodname> + <void/> + </methodsynopsis> + <para> + 获取真实路径缓存区大小在内存中的使用量。 + + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + 返回真实路径缓存区使用内存的用量。 + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>realpath_cache_size</function> example</title> + <programlisting role="php"> +<![CDATA[ +<?php +var_dump(realpath_cache_size()); +?> +]]> + </programlisting> + &example.outputs.similar; + <screen> +<![CDATA[ +int(412) +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>realpath_cache_get</function></member> + <member> + <link linkend="ini.realpath-cache-size">realpath_cache_size</link> 方法的配置选项 + </member> + </simplelist> + </para> + </refsect1> + +</refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"~/.phpdoc/manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +-->

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