Skip to content

Instantly share code, notes, and snippets.

@code-poel
Last active August 29, 2015 14:08
Show Gist options
  • Save code-poel/a56b0a605882fff6bade to your computer and use it in GitHub Desktop.
Save code-poel/a56b0a605882fff6bade to your computer and use it in GitHub Desktop.
PhpExecutableFinder
<?php
public function find($includeArgs = true)
{
// ...
$dirs = array(PHP_BINDIR);
// ...
return $this->executableFinder->find('php', false, $dirs);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment