Menu

php syntax highlighting / language definition

Anonymous
2008-05-16
2012-11-13
  • Anonymous

    Anonymous - 2008-05-16

    Hi,

    The way our php system works is that there are cached and non-cached blocks of php denoted by [? ?] for cached and <? ?> for normal. I need to have PHP syntax highlighting to recognise [? ?] brackets.

    How or where can I do this?

    Happy to change source code and recompile if that is the only way..

    Chris

     
    • Anonymous

      Anonymous - 2008-06-11

      Yes it is very weird but unforunately there is no way around it in this particular system (a CMS that stores templates in a database!?)

      Does anyone have any suggestions for getting PHP to recognise [? ?] as valid PHP brackets?

       
    • William YZ Yang

      William YZ Yang - 2008-05-21

      Using [? ... ?] What kinda of wired system is that.

       
MongoDB Logo MongoDB