php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #15048 xml displayed in program listing in manual/en/migration.truefalse.php
Submitted: 2002-01-15 08:41 UTC Modified: 2002-01-15 08:56 UTC
From: pgl at instinct dot org Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.1.1 OS: -
Private report: No CVE-ID: None
 [2002-01-15 08:41 UTC] pgl at instinct dot org
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-15 08:56 UTC] hholzgra@php.net
fixed in CVS, thanks for the report
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jun 28 09:01:28 2024 UTC