public function getDefaultOutput() { if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') { return 'NUL'; } else { return '/dev/null'; } }