W3cubDocs

/Symfony 4.1

PhpExecutableFinder

class PhpExecutableFinder

An executable finder specifically designed for the PHP executable.

Methods

__construct()
string|false find(bool $includeArgs = true)

Finds The PHP executable.

array findArguments()

Finds the PHP executable arguments.

Details

__construct()

string|false find(bool $includeArgs = true)

Finds The PHP executable.

Parameters

bool $includeArgs Whether or not include command arguments

Return Value

string|false The PHP executable path or false if it cannot be found

array findArguments()

Finds the PHP executable arguments.

Return Value

array The PHP executable arguments

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Process/PhpExecutableFinder.html