/** * Set this to true and output will be sent to STDERR * * @static * @param boolean */ static function setStderr($bool) { if ($bool) { self::$stderr = true; } else { self::$stderr = false; } }