svn: /phpdoc/en/trunk/reference/apc/apciterator/ construct.xml
| From: | Jakub Vrana | Date: | Tue, 28 Feb 2012 10:48:44 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/apc/apciterator/ construct.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-9695@lists.php.net to get a copy of this message | ||
vrana Tue, 28 Feb 2012 10:48:44 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=323620
Log:
Fix example
Changed paths:
U phpdoc/en/trunk/reference/apc/apciterator/construct.xml
Modified: phpdoc/en/trunk/reference/apc/apciterator/construct.xml
===================================================================
--- phpdoc/en/trunk/reference/apc/apciterator/construct.xml 2012-02-28 10:44:27 UTC (rev 323619)
+++ phpdoc/en/trunk/reference/apc/apciterator/construct.xml 2012-02-28 10:48:44 UTC (rev 323620)
@@ -91,7 +91,7 @@
<programlisting role="php">
<![CDATA[
<?php
-foreach (new APCIterator('/^counter\./') as $counter) {
+foreach (new APCIterator('user', '/^counter\./') as $counter) {
echo "$counter[key]: $counter[value]\n";
apc_dec($counter['key'], $counter['value']);
}