protected function PHPUnit_Util_PHP::settingsToParameters in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Util/PHP.php \PHPUnit_Util_PHP::settingsToParameters()
@since Method available since Release 4.0.0
Parameters
array $settings:
Return value
string
2 calls to PHPUnit_Util_PHP::settingsToParameters()
- PHPUnit_Util_PHP_Default::runJob in vendor/
phpunit/ phpunit/ src/ Util/ PHP/ Default.php - Runs a single job (PHP code) using a separate PHP process.
- PHPUnit_Util_PHP_Windows::runJob in vendor/
phpunit/ phpunit/ src/ Util/ PHP/ Windows.php - Reading from STDOUT or STDERR hangs forever on Windows if the output is too large.
File
- vendor/
phpunit/ phpunit/ src/ Util/ PHP.php, line 68
Class
- PHPUnit_Util_PHP
- Utility methods for PHP sub-processes.
Code
protected function settingsToParameters(array $settings) {
$buffer = '';
foreach ($settings as $setting) {
$buffer .= ' -d ' . $setting;
}
return $buffer;
}