User forums > General (but related to Code::Blocks)

Codeblocks:: PHP ??

<< < (2/2)

takeshimiya:

--- Quote from: thomas on February 11, 2006, 10:40:41 pm ---Basically every text editor is good enough to develop php if you make a few preparations. If you want syntax styling, you'll have to make a lexer though (bluntly said, PHP is C++ with a few keywords left out and with a $ in front of variables, so there is not that much to do, luckily. Ok, seriously... it is of course a bit more different, but you got the idea :lol:). It should not take you too long to get a working lexer together.

--- End quote ---

Actually it's even easier because Scintilla includes support for PHP.
The only problem is that I don't see how can I do some things with the C::B, for things like PHP/ASP/VBScript/JavaScript embedded in HTML (Scintilla can handle those kind of things).
SciTE supports that, by putting all the related things in one lexer: xml, html, php, etc in only one lexer.

Navigation

[0] Message Index

[*] Previous page

Go to full version