|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
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\</b> on line <b>354</b><br>

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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-05 17:55 UTC]
I think this error comes from Zend.
 [2002-02-05 18:25 UTC]
Fixed in CVS already and not a ZE problem.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Dec 01 11:01:27 2023 UTC