You are here: Home » Editor » PHP

Php management works fine, because HAPedit can catch compilation return codes.

Ctrl+F9 returns compilation error in php pages if you have the php engine installed.
Remark: you can compile php code without using a server but directly using php.exe (See: Option "php direct").

Syntax highlighting of php/html is one of the main features, but as for html, code completion is also available, to propose completion of functions or php variables as you type. Futhermore, editor popups code hint (php parameters of php functions).
See: syntax highlighting php/html, code completion for html tags, php functions and php variables.

'Brace-matching' highlights blocks '{}', '[]' and '()' while typing code. Shift+Ctrl+K highligths all block. Alt+Up and Alt+Down move cursor to extremities of the block.

With the cursor positioned on a php function (eg: echo, mysql_connect), Ctrl+F1 displays the page of php manual that describes function. You do this on-line or off-line if you download the manual (chm/echm format is recommanded but 'Many HTML files' format is still supported).

In the 'Page' menu, the function 'Insert file', allows you to add a 'require' directive (or 'include') with selected file name.

Alt+F2 Display window with code explorer.
Shift+Ctrl+B inserts the "<? ?>" tag.
Shift+Ctrl+C converts out selected text.
Shift+Ctrl+P escapes double-quotes in a string (that converts " to \").

In strings, e.g. '<? echo("...', you can access all html functions. This means that you can use the HAPedit interface to edit/insert html tags into strings. See: Insert tag <img>.

See also: HTML, ASP, Editor, More!

 August 2017 Powered by php top of the page 
Site map | Choose language | Contact
– Version 3.09.2009 –