Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1339 PHP print not working as expected.

open
nobody
5
2012-11-13
2008-04-08
Anonymous
No

Hi,
I posted this in the Help forums, but found that there's a bug reporter - so I'll post it here instead:

When I used the following PHP example code:
print <<<END
Test $text for $stuff
END;

Everything after the END; becomes grayed. Is this a bug or is there a way to prevent this from happening?

Discussion

  • Logged In: NO

    Alright, so the print thing is somewhat fixed. Somewhat because now this will gray out the whole thing after the E;:

    <?php
    print <<<E
    Four scores and seven years
    E;
    ?>