playground:playground

This is an old revision of the document!


PlayGround

<?php
phpinfo();
?>
<?xml version="1.0" encoding="utf-8"?>
 
<refentry xml:id="function.apc-add" xmlns="http://docbook.org/ns/docbook">
 <refnamediv>
  <refname>apc_add</refname>
  <refpurpose>
   Cache a variable in the data store
  </refpurpose>
 </refnamediv>
 
 <refsect1 role="description">
  <title>Description</title>
  <methodsynopsis>
   <type>bool</type><methodname>apc_add</methodname>
   <methodparam><type>string</type><parameter>key</parameter></methodparam>
   <methodparam><type>mixed</type><parameter>var</parameter></methodparam>
   <methodparam choice="opt"><type>int</type><parameter>ttl</parameter></methodparam>
  </methodsynopsis>
  <para>
   Caches a variable in the data store, only if it's not already stored.
  </para>
 </refsect1>
 
</refentry>
playground/playground.1204748178.txt.gz · Last modified: 2017/09/22 13:28 (external edit)