private function ConsoleOutput::isRunningOS400 in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Output/ConsoleOutput.php \Symfony\Component\Console\Output\ConsoleOutput::isRunningOS400()
Checks if current executing environment is IBM iSeries (OS400), which doesn't properly convert character-encodings between ASCII to EBCDIC.
Return value
bool
2 calls to ConsoleOutput::isRunningOS400()
- ConsoleOutput::hasStderrSupport in vendor/
symfony/ console/ Output/ ConsoleOutput.php - Returns true if current environment supports writing console output to STDERR.
- ConsoleOutput::hasStdoutSupport in vendor/
symfony/ console/ Output/ ConsoleOutput.php - Returns true if current environment supports writing console output to STDOUT.
File
- vendor/
symfony/ console/ Output/ ConsoleOutput.php, line 126
Class
- ConsoleOutput
- ConsoleOutput is the default class for all CLI output. It uses STDOUT.
Namespace
Symfony\Component\Console\OutputCode
private function isRunningOS400() {
$checks = array(
function_exists('php_uname') ? php_uname('s') : '',
getenv('OSTYPE'),
PHP_OS,
);
return false !== stristr(implode(';', $checks), 'OS400');
}