From: [EMAIL PROTECTED]
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