Bug #15048: xml displayed in program listing in manual/en/migration.truefalse.php
| From: | pgl at instinct dot org | Date: | Tue, 15 Jan 2002 13:41:23 +0000 |
| Subject: | Bug #15048: xml displayed in program listing in manual/en/migration.truefalse.php | ||
| Groups: | php.dev php.doc | ||
| Request: | Send a blank email to php-dev+get-77130@lists.php.net to get a copy of this message | ||
From: pgl@instinct.org
Operating system: -
PHP version: 4.1.1
PHP Bug Type: Documentation problem
Bug description: xml displayed in program listing in manual/en/migration.truefalse.php
not sure if this is a website problem really, but this page:
http://www.php.net/manual/en/migration.truefalse.php
shows:
$fp = fopen($file, "r");
if ($fp == -1);
echo("Could not open $file for reading<br>\n");
endif;
]]|
</programlisting>
</example>
<example>
<title>Migration from 2.0: return values, new code</title>
<programlisting role="php">
<![CDATA[
$fp = @fopen($file, "r") or print("Could not open $file for
reading<br>\n");
as example d-9. I assume that's not meant to show the xml there.
--
Edit bug report at: http://bugs.php.net/?id=15048&edit=1