git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323618 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2012-02-28 10:43:37 +00:00
parent 151af2ada0
commit b8291b6040

View file

@ -83,6 +83,25 @@
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>APCIterator::__construct</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
foreach (new APCIterator('/^counter\./') as $counter) {
echo "$counter[key]: $counter[value]\n";
apc_dec($counter['key'], $counter['value']);
}
?>
]]>
</programlisting>
</example>
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<simplelist>