goba            Thu Aug  2 07:53:38 2001 EDT

  Modified files:              
    /phpdoc/en/language oop.xml 
  Log:
  Corrected perlish file write (echo??) and a typo in text
  
  
Index: phpdoc/en/language/oop.xml
diff -u phpdoc/en/language/oop.xml:1.17 phpdoc/en/language/oop.xml:1.18
--- phpdoc/en/language/oop.xml:1.17     Sat Jul  7 17:27:20 2001
+++ phpdoc/en/language/oop.xml  Thu Aug  2 07:53:38 2001
@@ -576,7 +576,7 @@
   $s = serialize($a);
   // store $s somewhere where page2.php can find it.
   $fp = fopen("store", "w");
-  echo $s;
+  fputs($fp, $s);
   fclose($fp);
 
 page2.php:
@@ -612,7 +612,7 @@
   </para>
   
   <para>
-   So if the in the example above $a became part of a session by
+   So if in the example above $a became part of a session by
    running <literal>session_register("a")</literal>, you should
    include the file <literal>classa.inc</literal> on all of your
    pages, not only page1.php and page2.php.


Reply via email to