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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 03:01:28 2024 UTC