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
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: 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

Pull Requests

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: Fri Dec 27 19:01:28 2024 UTC