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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: pgl at instinct dot org
New email:
PHP Version: OS:

 

 [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

Pull Requests

History

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