didou           Wed Jul 16 13:21:38 2003 EDT

  Modified files:              
    /phpdoc/en/reference/stream/functions       stream-select.xml 
                                                stream-set-write-buffer.xml 
                                                stream-wrapper-register.xml 
  Log:
  adding PHP tags in the examples
  
Index: phpdoc/en/reference/stream/functions/stream-select.xml
diff -u phpdoc/en/reference/stream/functions/stream-select.xml:1.4 
phpdoc/en/reference/stream/functions/stream-select.xml:1.5
--- phpdoc/en/reference/stream/functions/stream-select.xml:1.4  Sun Jun 22 07:25:57 
2003
+++ phpdoc/en/reference/stream/functions/stream-select.xml      Wed Jul 16 13:21:38 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
   <refentry id="function.stream-select">
    <refnamediv>
     <refname>stream_select</refname>
@@ -122,7 +122,9 @@
       temporary variable:
       <programlisting role="php">
 <![CDATA[
+<?php
 stream_select($r, $w, $e = NULL, 0);
+?>
 ]]>
      </programlisting>
      </para>
@@ -134,9 +136,11 @@
      comparison with <literal>==</literal> would evaluate to &true;:
      <programlisting role="php">
 <![CDATA[
+<?php
 if (false === stream_select($r, $w, $e = NULL, 0)) {
     echo "stream_select() failed\n";
 }
+?>
 ]]>
      </programlisting>
      </para>
Index: phpdoc/en/reference/stream/functions/stream-set-write-buffer.xml
diff -u phpdoc/en/reference/stream/functions/stream-set-write-buffer.xml:1.1 
phpdoc/en/reference/stream/functions/stream-set-write-buffer.xml:1.2
--- phpdoc/en/reference/stream/functions/stream-set-write-buffer.xml:1.1        Thu 
Jan  2 21:41:14 2003
+++ phpdoc/en/reference/stream/functions/stream-set-write-buffer.xml    Wed Jul 16 
13:21:38 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
 <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
   <refentry id="function.stream-set-write-buffer">
    <refnamediv>
@@ -37,12 +37,14 @@
       <title><function>stream_set_write_buffer</function> example</title>
       <programlisting role="php">
 <![CDATA[
+<?php
 $fp = fopen($file, "w");
 if ($fp) {
   stream_set_write_buffer($fp, 0);
   fputs($fp, $output);
   fclose($fp);
 }
+?>
 ]]>
       </programlisting>
      </example>
Index: phpdoc/en/reference/stream/functions/stream-wrapper-register.xml
diff -u phpdoc/en/reference/stream/functions/stream-wrapper-register.xml:1.3 
phpdoc/en/reference/stream/functions/stream-wrapper-register.xml:1.4
--- phpdoc/en/reference/stream/functions/stream-wrapper-register.xml:1.3        Sat 
Jun 21 23:38:08 2003
+++ phpdoc/en/reference/stream/functions/stream-wrapper-register.xml    Wed Jul 16 
13:21:38 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
   <refentry id="function.stream-wrapper-register">
    <refnamediv>
     <refname>stream_wrapper_register</refname>
@@ -298,6 +298,8 @@
       <title>A Stream for reading/writing global variables</title>
       <programlisting role="php">
 <![CDATA[
+<?php
+
 class VariableStream {
     var $position;
     var $varname;
@@ -391,6 +393,7 @@
 fclose($fp);
 var_dump($myvar);
 
+?>
 ]]>
       </programlisting>
      </example>



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to