4 comments
Comment actions Permalink

Correction: echo strings are showing black (with slightly-green background), die strings are showing green (with no background); I want echo strings to show green at least.

0
Comment actions Permalink

Hi there,

You really need to show whole line not just part of it.

The only idea that comes into my mind right now is that it is a Language Injection fragment in use in echo'ed string.

0
Comment actions Permalink

The color is the same across each line, and the whole 2nd line is shown, so I could shorten the first line and you'd see the whole line, but that doesn't change which colors you see, so maybe you need to blow up the image to see the colors better:

http://i.imgur.com/KxyK5LM.png

Every echo string shows black text on a green background, even if it's just normal text with nothing special in it, and every die string (not talking about special things like vars) shows green text on white (actually light-blue) background; the problem is A. they're not consistent even though they're just both strings, and B. I want strings in echo and die to show as green text on white background.

0
Comment actions Permalink

Hello Dave,

Please check the color scheme in File | Settings | Editor | Colors & Fonts | PHP. Try to switch it to the default.

If possible, provide a code sample where the issue could be reproduced with.

For me, sample code:

<?php

echo 'test';
die('killing');

does not reproduce the described behavior - both echo and die strings are showing in green.

0

Please sign in to leave a comment.