Bug#405338: [php-maint] Bug#405338: php5: ini setting 'highlight.bg' being ignored

sean finney seanius at debian.org
Sun Mar 11 14:35:33 CET 2007


hi mathias,

On Sun, 2007-03-11 at 13:40 +0100, Mathias Brodala wrote:
> The problem can be reproduced easily. First the section from the php.ini:
> 
> > ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
> > ; <span style="color: ???????"> would work.
> > highlight.string  = #FFA0A0
> > highlight.comment = #87CEEB
> > highlight.keyword = #CD5C5C
> > highlight.bg      = #333333
> > highlight.default = #98FB98
> > highlight.html    = #ffffff
> 
> The script:
> 
> > <?php
> > 
> > # Comment
> > highlight_file($_SERVER['SCRIPT_FILENAME']);
> > 
> > ?>

thanks for the concise result, and i can confirm the problem, it doesn't
seem the highlight.bg is used at all.  it is indeed read from the
php.ini file (phpinfo() confirms this), but it's not used in the actual
code in question.  poking around in the source code i don't find any
references to highlight.bg apart from the ini file and some test cases.
i'll forward this upstream and see what they think.

> PS: Why did I receive a mail delivery failure for this mail from the Mail
> Delivery System?

i hear from folks on irc that the bts is having some issues this
afternoon, maybe it's just temporary...



	sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20070311/116b787a/attachment.pgp


More information about the pkg-php-maint mailing list