/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/Process/Tests/Fixtures/open_basedir.php
23 строки
553 B
Christian Flothmann
run tests with PHPUnit 12.1 on PHP >= 8.3
04 авг 2025, 23:39
04 авг 2025, 23:39
934d11b
Код
Авторство
О чём код?
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ require_once __DIR__.'/../../ExecutableFinder.php'; use Symfony\Component\Process\ExecutableFinder; putenv('PATH='.dirname(PHP_BINARY)); function getPhpBinaryName(): string { return basename(PHP_BINARY, '\\' === DIRECTORY_SEPARATOR ? '.exe' : ''); } echo (new ExecutableFinder())->find(getPhpBinaryName());