W3cubDocs

/Symfony 2.7

Symfony\Component\Process\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

public __construct()

public 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

public array findArguments()

Finds the PHP executable arguments.

Return Value

array The PHP executable arguments

© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/Process/PhpExecutableFinder.html