php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15394 Printed errors have <br> tags, not <br />
Submitted: 2002-02-05 17:50 UTC Modified: 2002-02-05 18:25 UTC
From: mjohnson3 at guardian dot com Assigned:
Status: Closed Package: Output Control
PHP Version: 4.1.1 OS: Windows (all?)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mjohnson3 at guardian dot com
New email:
PHP Version: OS:

 

 [2002-02-05 17:50 UTC] mjohnson3 at guardian dot com
When PHP generates an in page error, the <br /> tag is not formatted properly.

Specifically, I called trigger_error('text', E_USER_WARNING) and got

<font color='ff0000'><br>
<b>Warning</b>:  text in <b>e:\webbase\scripts\php\nimises.inc</b> on line <b>354</b><br>
</font>

This was reported for 4.0.6 but appears to be back.  I am running the precompiled Windows binary, PHP 4.1.1.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-05 17:55 UTC] yohgaki@php.net
I think this error comes from Zend.
 [2002-02-05 18:25 UTC] mfischer@php.net
Fixed in CVS already and not a ZE problem.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 11:01:30 2024 UTC