putenv('PATH='.$path);
}
- /**
- * @requires PHP 5.4
- */
public function testFind()
{
if (ini_get('open_basedir')) {
$this->assertEquals($expected, $result);
}
- /**
- * @requires PHP 5.4
- */
public function testFindWithExtraDirs()
{
if (ini_get('open_basedir')) {
$this->assertSamePath(PHP_BINARY, $result);
}
- /**
- * @requires PHP 5.4
- */
public function testFindWithOpenBaseDir()
{
if ('\\' === DIRECTORY_SEPARATOR) {
$this->assertSamePath(PHP_BINARY, $result);
}
- /**
- * @requires PHP 5.4
- */
public function testFindProcessInOpenBasedir()
{
if (ini_get('open_basedir')) {