[PHP-DOC] cvs: phpdoc /en/reference/zlib/functions gzopen.xml gzread.xml

2003-07-16 Thread Mehdi Achour
didou   Wed Jul 16 13:25:02 2003 EDT

  Modified files:  
/phpdoc/en/reference/zlib/functions gzopen.xml gzread.xml 
  Log:
  adding PHP tags in the examples
  
Index: phpdoc/en/reference/zlib/functions/gzopen.xml
diff -u phpdoc/en/reference/zlib/functions/gzopen.xml:1.3 
phpdoc/en/reference/zlib/functions/gzopen.xml:1.4
--- phpdoc/en/reference/zlib/functions/gzopen.xml:1.3   Sun Aug 25 12:51:47 2002
+++ phpdoc/en/reference/zlib/functions/gzopen.xml   Wed Jul 16 13:25:02 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
 !-- splitted from ./en/functions/zlib.xml, last change in rev 1.2 --
   refentry id=function.gzopen
refnamediv
@@ -46,7 +46,9 @@
   titlefunctiongzopen/function Example/title
   programlisting role=php
 ![CDATA[
+?php
 $fp = gzopen (/tmp/file.gz, r);
+?
 ]]
   /programlisting
  /example
Index: phpdoc/en/reference/zlib/functions/gzread.xml
diff -u phpdoc/en/reference/zlib/functions/gzread.xml:1.3 
phpdoc/en/reference/zlib/functions/gzread.xml:1.4
--- phpdoc/en/reference/zlib/functions/gzread.xml:1.3   Sun Aug 25 12:52:39 2002
+++ phpdoc/en/reference/zlib/functions/gzread.xml   Wed Jul 16 13:25:02 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.3 $ --
+!-- $Revision: 1.4 $ --
 !-- splitted from ./en/functions/zlib.xml, last change in rev 1.2 --
   refentry id=function.gzread
refnamediv
@@ -21,17 +21,20 @@
  or EOF is reached, whichever comes first.
 /simpara
 para
-informalexample
+ example
+  titlefunctiongzread/function example/title
   programlisting role=php
 ![CDATA[
+?php
 // get contents of a gz-file into a string
 $filename = /usr/local/something.txt.gz;
 $zd = gzopen ($filename, r);
 $contents = gzread ($zd, 1);
 gzclose ($zd);
+?
 ]]
   /programlisting
- /informalexample
+ /example
 /para
 simpara
  See also functiongzwrite/function, functiongzopen/function,



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



[PHP-DOC] cvs: phpdoc /en/reference/zlib/functions gzopen.xml

2002-08-25 Thread Friedhelm Betz

betzSun Aug 25 12:51:47 2002 EDT

  Modified files:  
/phpdoc/en/reference/zlib/functions gzopen.xml 
  Log:
  return type correction
  
  
Index: phpdoc/en/reference/zlib/functions/gzopen.xml
diff -u phpdoc/en/reference/zlib/functions/gzopen.xml:1.2 
phpdoc/en/reference/zlib/functions/gzopen.xml:1.3
--- phpdoc/en/reference/zlib/functions/gzopen.xml:1.2   Wed Apr 17 02:45:33 2002
+++ phpdoc/en/reference/zlib/functions/gzopen.xml   Sun Aug 25 12:51:47 2002
 -1,5 +1,5 
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.2 $ --
+!-- $Revision: 1.3 $ --
 !-- splitted from ./en/functions/zlib.xml, last change in rev 1.2 --
   refentry id=function.gzopen
refnamediv
 -9,7 +9,7 
refsect1
 titleDescription/title
  methodsynopsis
-  typeint/typemethodnamegzopen/methodname
+  typeresource/typemethodnamegzopen/methodname
   methodparamtypestring/typeparameterfilename/parameter/methodparam
   methodparamtypestring/typeparametermode/parameter/methodparam
   methodparam 
choice=opttypeint/typeparameteruse_include_path/parameter/methodparam



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