Export (0) Print
Expand All

IntelliSense for PHP overview

Microsoft Expression Web provides you with IntelliSense for PHP: Hypertext Preprocessor (PHP) to streamline the process of authoring PHP when you work directly in the source code of a PHP page. IntelliSense for PHP is available inside a PHP script block, including between the <?php and ?>, <? and ?>, and <script language="php"> and </script> tags.

PHP IntelliSense enables you to quickly select a function or a variable from a list as you type. In addition, PHP IntelliSense provides tooltips for PHP parameters.

For example, if you press CTRL+L after an opening PHP script block tag, IntelliSense displays an alphabetical list of functions. If you type $_ inside a PHP script block, IntelliSense displays an alphabetical list of global variables. If you select a variable from the menu (['']), IntelliSense adds single quotes inside a pair of brackets, and then places the cursor between the single quotes.

If you type a PHP function and then press CTRL+SHIFT+SPACEBAR, IntelliSense provides information about the parameters associated with that function. For example, if you type date and then press CTRL+SHIFT+SPACEBAR, the following tooltip appears:

date(string $format, [int $timestamp])

The tooltip indicates that both $format and $timestamp are parameters associated with the date() function, and that format returns a string, and timestamp returns integers.

Community Additions

ADD
Show:
© 2014 Microsoft