#575 syntax highlight for Php files.

TBD
closed
nobody
None
5
2013-02-25
2012-10-02
No

Could you add a new type of file such as c / c++, to recognize automatically keywords of Php files (.php) ?
There is no 'Php' in 'View - View As' menu.

Here are the Php keywords :

__halt_compiler abstract and array as
break callable case catch class
clone const continue declare default
die do echo else elseif
empty enddeclare endfor endforeach endif
endswitch endwhile eval exit extends final for foreach function global
goto
if implements include include_once
instanceof insteadof interface isset list
namespace new or print private
protected public require require_once return
static switch throw trait try
unset use var while xor

Discussion

  • Eran Ifrah
    Eran Ifrah
    2013-02-25

    • status: open --> closed
     
  • Eran Ifrah
    Eran Ifrah
    2013-02-25

    PHP is part of the "Html" "view as" (since it might contain mix PHP / JS / PHP etc)