cellog          Sun Jan 28 05:37:51 2007 UTC

  Modified files:              
    /phpdoc/en/reference/phar/functions Phar-commitWrite.xml 
  Log:
  fix doc example screen output
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/phar/functions/Phar-commitWrite.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc/en/reference/phar/functions/Phar-commitWrite.xml
diff -u phpdoc/en/reference/phar/functions/Phar-commitWrite.xml:1.2 
phpdoc/en/reference/phar/functions/Phar-commitWrite.xml:1.3
--- phpdoc/en/reference/phar/functions/Phar-commitWrite.xml:1.2 Sun Jan 28 
05:36:47 2007
+++ phpdoc/en/reference/phar/functions/Phar-commitWrite.xml     Sun Jan 28 
05:37:51 2007
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
 <refentry id="function.Phar-commitWrite">
  <refnamediv>
   <refname>Phar-&gt;commitWrite</refname>
@@ -69,12 +69,12 @@
 <![CDATA[
 string(24) "<?php __HALT_COMPILER();"
 string(186) "<?php
-function __autoload()
+function __autoload($class)
 {
-    include 'phar://' . str_replace('_', '/', );
+    include 'phar://' . str_replace('_', '/', $class);
 }
-Phar::mapPhar('brandnewphar.phar');
-include 'phar://brandnewphar.phar/startup.php';
+Phar::mapPhar('myphar.phar');
+include 'phar://myphar.phar/startup.php';
 __HALT_COMPILER();
 ?>"
 ]]>

Reply via email to