It seems that for the "Also apply syntax highlighting to <?php ... ?> style PHP source code blocks" setting to display PHP code properly, the opening <?php tag must be a lowercase <?php tag (rather than an uppercase <?PHP tag).

Comments

soxofaan’s picture

Category: bug » feature
Status: Active » Fixed

I've never seen the usage of uppercase <?PHP tags in PHP code. The lowercase version is used throughout Drupal core and all contributions I've seen.
The uppercase <?PHP works on my setup however, but I didn't find any pointers that <?PHP is allowed/not allowed.

anyway:
http://drupal.org/cvs?commit=87916

Christefano-oldaccount’s picture

Wow, that was fast. Thanks!

The lowercase version is used throughout Drupal core and all contributions I've seen.

Same here. It was only last night that I came across a post beautified by GeSHi filter that had uppercase <?php tags. It turned out the snippet was from somewhere else (PHPBuilder).

Thanks again.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.