[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/apcu/functions/_apcu-key-info.xml?=
From: Bole_Chen <avenger () php ! net>
Date: 2020-11-30 9:07:01
Message-ID: svn-avenger-1606727221-351781-1741261718 () svn ! php ! net
[Download RAW message or body]
avenger Mon, 30 Nov 2020 09:07:01 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=351781
Log:
add mission function doc.
@ref https://github.com/krakjoe/apcu/issues/342
Changed paths:
A phpdoc/en/trunk/reference/apcu/functions/apcu-key-info.xml
Added: phpdoc/en/trunk/reference/apcu/functions/apcu-key-info.xml
===================================================================
--- phpdoc/en/trunk/reference/apcu/functions/apcu-key-info.xml (rev 0)
+++ phpdoc/en/trunk/reference/apcu/functions/apcu-key-info.xml 2020-11-30 09:07:01 UTC (rev 351781)
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<refentry xml:id="function.apcu-key-info" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+ <refname>apcu_key_info</refname>
+ <refpurpose>
+ Get detailed information about the cache key
+ </refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>array</type><methodname>apcu_key_info</methodname>
+ <methodparam><type>string</type><parameter>key</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Get detailed information about the cache key
+ </para>
+ </refsect1>
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>key</parameter></term>
+ <listitem>
+ <para>
+ Get detailed information about the cache key
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </refsect1>
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ null or array info
+ </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title>A <function>apcu_key_info</function> example</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+apcu_add('a','b');
+var_dump(apcu_key_info('a'));
+?>
+]]>
+ </programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
+array(7) {
+ ["hits"]=>
+ int(0)
+ ["access_time"]=>
+ int(1606701783)
+ ["mtime"]=>
+ int(1606701783)
+ ["creation_time"]=>
+ int(1606701783)
+ ["deletion_time"]=>
+ int(0)
+ ["ttl"]=>
+ int(0)
+ ["refs"]=>
+ int(0)
+}
+]]>
+ </screen>
+ </example>
+ </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><function>apcu_store</function></member>
+ <member><function>apcu_fetch</function></member>
+ <member><function>apcu_delete</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
+-->
\ No newline at end of file
Property changes on: phpdoc/en/trunk/reference/apcu/functions/apcu-key-info.xml
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
\ No newline at end of property
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic