vrana           Tue Apr 24 03:54:47 2007 UTC

  Modified files:              
    /phpdoc/en/reference/apc    ini.xml 
  Log:
  apc.rfc1867 example
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/apc/ini.xml?r1=1.9&r2=1.10&diff_format=u
Index: phpdoc/en/reference/apc/ini.xml
diff -u phpdoc/en/reference/apc/ini.xml:1.9 phpdoc/en/reference/apc/ini.xml:1.10
--- phpdoc/en/reference/apc/ini.xml:1.9 Sat Apr 21 04:46:03 2007
+++ phpdoc/en/reference/apc/ini.xml     Tue Apr 24 03:54:47 2007
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
 <section id="apc.configuration">
  &reftitle.runtime;
  &extension.runtime;
@@ -548,6 +548,34 @@
       new uploads that happen while a previous one is still going will disable
       the tracking for the previous.
      </para>
+     <para>
+      <example>
+       <title>An apc.rfc1867 example</title>
+       <programlisting role="php">
+   <![CDATA[
+<?php
+print_r(apc_fetch("upload_$_POST[APC_UPLOAD_PROGRESS]"));
+?>
+]]>
+       </programlisting>
+       &example.outputs.similar;
+       <screen>
+<![CDATA[
+Array
+(
+    [total] => 1142543
+    [current] => 1142543
+    [rate] => 1828068.8
+    [filename] => test
+    [name] => file
+    [temp_filename] => /tmp/php8F
+    [cancel_upload] => 0
+    [done] => 1
+)
+]]>
+       </screen>
+      </example>
+     </para>
     </listitem>
    </varlistentry>
    

Reply via email to