You are here

public function PhpExecutableFinder::findArguments in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/process/PhpExecutableFinder.php \Symfony\Component\Process\PhpExecutableFinder::findArguments()

Finds the PHP executable arguments.

Return value

array The PHP executable arguments

1 call to PhpExecutableFinder::findArguments()
PhpExecutableFinder::find in vendor/symfony/process/PhpExecutableFinder.php
Finds The PHP executable.

File

vendor/symfony/process/PhpExecutableFinder.php, line 75

Class

PhpExecutableFinder
An executable finder specifically designed for the PHP executable.

Namespace

Symfony\Component\Process

Code

public function findArguments() {
  $arguments = array();

  // HHVM support
  if (defined('HHVM_VERSION')) {
    $arguments[] = '--php';
  }
  return $arguments;
}