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

Mathias Brodala info at noctus.net
Sun Mar 11 13:40:26 CET 2007


Hello Sean.

sean finney, 11.03.2007 12:16:
> sorry for the delay in response... if you're still having this problem
> could you please send a small example script where the problem is made
> clear?

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']);
> 
> ?>

The result:

<http://download.noctus.net/gallery/caps/php_highlight_wrong_bg.png>

Although the background was set to dark grey it still is being showed as white.


Regards, Mathias

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

-- 
debian/rules



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20070311/2a5a3677/signature.pgp


More information about the pkg-php-maint mailing list