|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-11-19 22:01 UTC] eschmid@php.net
[2001-11-20 04:13 UTC] hholzgra@php.net
[2001-12-06 14:43 UTC] philip@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 18:00:01 2025 UTC |
patch below regards alan Index: zlib.xml =================================================================== RCS file: /repository/phpdoc/en/functions/zlib.xml,v retrieving revision 1.19 diff -u -r1.19 zlib.xml --- zlib.xml 10 Nov 2001 21:49:42 -0000 1.19 +++ zlib.xml 20 Nov 2001 01:51:21 -0000 @@ -40,11 +40,11 @@ </para> <example> <title>Small Zlib Example</title> -<programlisting role="php"> -<?php +<programlisting role="php"><![CDATA[ +<?php $filename = tempnam ('/tmp', 'zlibtest').'.gz'; -print "<html>\n<head></head>\n<body>\n<pre>\n"; +print "<html>\n<head></head>\n<body>\n<pre>\n"; $s = "Only a test, test, test, test, test, test, test, test!\n"; // open file for writing with maximum compression @@ -72,10 +72,10 @@ echo "Error with zlib functions!"; } unlink($filename); -print "</pre>\n</h1></body>\n</html>\n"; +print "</pre>\n</h1></body>\n</html>\n"; ?> - </programlisting> + ]]></programlisting> </example> </sect1> </partintro>