php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #73222
Patch apcuiterator.construct revision 2016-10-02 15:06 UTC by walt at waltsorensen dot com

Patch apcuiterator.construct for Documentation problem Bug #73222

Patch version 2016-10-02 15:06 UTC

Return to Bug #73222 | Download this patch
Patch Revisions:

Developer: walt@waltsorensen.com

--- en/reference/apcu/apcuiterator/construct.xml
+++ en/reference/apcu/apcuiterator/construct.xml
@@ -12,9 +12,9 @@
   <methodsynopsis>
    <modifier>public</modifier> <methodname>APCUIterator::__construct</methodname>
    <methodparam choice="opt"><type>mixed</type><parameter>search</parameter><initializer>null</initializer></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>format</parameter><initializer>APC_ITER_ALL</initializer></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>format</parameter><initializer>APCU_ITER_ALL</initializer></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>chunk_size</parameter><initializer>100</initializer></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>list</parameter><initializer>APC_LIST_ACTIVE</initializer></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>list</parameter><initializer>APCU_LIST_ACTIVE</initializer></methodparam>
   </methodsynopsis>
   <para>
    Constructs an <classname>APCUIterator</classname> <type>object</type>.
@@ -29,7 +29,7 @@
     <listitem>
      <para>
       A <link linkend="book.pcre">PCRE</link> regular expression that
-      matches against APC key names, either as a <type>string</type> for
+      matches against APCu key names, either as a <type>string</type> for
       a single regular expression, or as an <type>array</type> of regular
       expressions. Or, optionally pass in &null; to skip the search.
      </para>
@@ -40,7 +40,7 @@
     <listitem>
      <para>
       The desired format, as configured with one or more of the
-      <link linkend="apc.constants">APC_ITER_*</link> constants.
+      <link linkend="apcu.constants">APCU_ITER_*</link> constants.
      </para>
     </listitem>
    </varlistentry>
@@ -57,8 +57,8 @@
     <term><parameter>list</parameter></term>
     <listitem>
      <para>
-      The type to list. Either pass in <constant>APC_LIST_ACTIVE</constant>
-      or <constant>APC_LIST_DELETED</constant>.
+      The type to list. Either pass in <constant>APCU_LIST_ACTIVE</constant>
+      or <constant>APCU_LIST_DELETED</constant>.
      </para>
     </listitem>
    </varlistentry>
@@ -95,8 +95,8 @@
  <refsect1 role="seealso">
   &reftitle.seealso;
   <simplelist>
-   <member><function>apc_exists</function></member>
-   <member><function>apc_cache_info</function></member>
+   <member><function>apcu_exists</function></member>
+   <member><function>apcu_cache_info</function></member>
   </simplelist>
  </refsect1>
 
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 15:00:02 2026 UTC