php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #195 Colour syntax display skips line in source
Submitted: 1998-03-25 08:25 UTC Modified: 1998-03-25 14:07 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: david at uws dot edu dot au Assigned:
Status: Closed Package: Other
PHP Version: 3.0b6 OS: Debian GNU/Linux 1.3
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: david at uws dot edu dot au
New email:
PHP Version: OS:

 

 [1998-03-25 08:25 UTC] david at uws dot edu dot au
In a construct such as:

  <?PHP

     phpinfo();

  ?>

when using the built-in source browser (.phps) the first
blank line is ignored, such that the output becomes:

  <?PHP
     phpinfo();

  ?>

I don't know if this is a simple cosmetic bug, or a sign of
something more ominous below the surface.

This was tested with Apache 1.2.5 with PHP3.0b6 as an Apache
server module, with support for MySQL compiled in (nothing
else - other than the standard stuff like gdbm picked up
by the autoconfig).  There was no php3.ini file.

This same behaviour was seen for more complicated PHP apps
in HTML pages as well.  All viewed with Netscape Navigator 4.04
under Linux.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-03-25 14:07 UTC] zeev
Fixed, it had nothing underlying it, just a simple
bug :)
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Dec 08 16:05:52 2022 UTC