didou           Wed Jul 16 13:15:04 2003 EDT

  Modified files:              
    /phpdoc/en/reference/info/functions php-sapi-name.xml 
                                        phpcredits.xml putenv.xml 
                                        zend-version.xml 
  Log:
  adding PHP tags in the examples
  
Index: phpdoc/en/reference/info/functions/php-sapi-name.xml
diff -u phpdoc/en/reference/info/functions/php-sapi-name.xml:1.3 
phpdoc/en/reference/info/functions/php-sapi-name.xml:1.4
--- phpdoc/en/reference/info/functions/php-sapi-name.xml:1.3    Mon Jun 16 15:33:51 
2003
+++ phpdoc/en/reference/info/functions/php-sapi-name.xml        Wed Jul 16 13:15:04 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <!-- splitted from ./en/functions/info.xml, last change in rev 1.25 -->
   <refentry id="function.php-sapi-name">
    <refnamediv>
@@ -25,11 +25,13 @@
       <title><function>php_sapi_name</function> example</title>
       <programlisting role="php">
 <![CDATA[
+<?php
 $sapi_type = php_sapi_name();
 if ($sapi_type == "cgi")
     print "You are using CGI PHP\n";
 else
     print "You are not using CGI PHP\n";
+?>
 ]]>
       </programlisting>
      </example>
Index: phpdoc/en/reference/info/functions/phpcredits.xml
diff -u phpdoc/en/reference/info/functions/phpcredits.xml:1.3 
phpdoc/en/reference/info/functions/phpcredits.xml:1.4
--- phpdoc/en/reference/info/functions/phpcredits.xml:1.3       Mon Jun 16 15:33:51 
2003
+++ phpdoc/en/reference/info/functions/phpcredits.xml   Wed Jul 16 13:15:04 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <!-- splitted from ./en/functions/info.xml, last change in rev 1.18 -->
   <refentry id="function.phpcredits">
    <refnamediv>
@@ -132,8 +132,8 @@
      </table>
     </para>
     <para>
-     See also: <function>phpinfo</function>,
-     <function>phpversion</function>, and
+     See also <function>phpinfo</function>,
+     <function>phpversion</function> and
      <function>php_logo_guid</function>.
     </para>
    </refsect1>
Index: phpdoc/en/reference/info/functions/putenv.xml
diff -u phpdoc/en/reference/info/functions/putenv.xml:1.3 
phpdoc/en/reference/info/functions/putenv.xml:1.4
--- phpdoc/en/reference/info/functions/putenv.xml:1.3   Mon Jun 16 15:33:51 2003
+++ phpdoc/en/reference/info/functions/putenv.xml       Wed Jul 16 13:15:04 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <!-- splitted from ./en/functions/info.xml, last change in rev 1.2 -->
   <refentry id="function.putenv">
    <refnamediv>
@@ -46,7 +46,9 @@
       <title>Setting an environment variable</title>
       <programlisting role="php">
 <![CDATA[
+<?php
 putenv ("UNIQID=$uniqid");
+?>
 ]]>
       </programlisting>
      </example>
Index: phpdoc/en/reference/info/functions/zend-version.xml
diff -u phpdoc/en/reference/info/functions/zend-version.xml:1.3 
phpdoc/en/reference/info/functions/zend-version.xml:1.4
--- phpdoc/en/reference/info/functions/zend-version.xml:1.3     Mon Jun 16 15:33:51 
2003
+++ phpdoc/en/reference/info/functions/zend-version.xml Wed Jul 16 13:15:04 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <!-- splitted from ./en/functions/info.xml, last change in rev 1.11 -->
   <refentry id="function.zend-version">
    <refnamediv>
@@ -21,8 +21,10 @@
       <title><function>zend_version</function> example</title>
       <programlisting role="php">
 <![CDATA[
+<?php
 // prints e.g. 'Zend engine version: 1.0.4'
 echo "Zend engine version: " . zend_version();
+?>
 ]]>
       </programlisting>
      </example>



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

Reply via email to