How to find PHP function documentation in the IDE: PHPStorm and WebStorm: Hover the cursor and press Ctrl Q. Eclipse: Right-click the function and select Open Definition. Visual Studio Code: Install the PHP IntelliSense extension, hover the cursor and press F1.
How to find PHP function documentation in an IDE
Finding PHP function documentation in a modern IDE is very simple. Here's how to find documentation in popular IDEs:
PHPStorm and WebStorm
Ctrl
Q
(Mac: Cmd
Q
) hotkey. Eclipse
Visual Studio Code
F1
key. Practical case
Consider the following PHP code:
$result = array_filter($array, 'is_int');
To find documentation for the array_filter()
function, Please follow these steps:
array_filter()
name and press Ctrl
Q
. array_filter()
and select "Open Definition". array_filter()
and press F1
. At this point, you will see detailed documentation about the array_filter()
function, including its signature, description, parameters, and return value.
The above is the detailed content of How to find PHP function documentation in the IDE. For more information, please follow other related articles on the PHP Chinese website!