public static function stdout($text, $raw = false)
    {
        if ($raw) {
            return fwrite(STDOUT, $text);
        } elseif (extension_loaded('posix') && posix_isatty(STDOUT)) {
            return fwrite(STDOUT, static::colorize($text));
        } else {
            return fwrite(STDOUT, static::decolorize($text));
        }
    }
public static function stdout($text, $raw = false)
    {
        if ($raw) {
            return fwrite(STDOUT, $text);
        } elseif (extension_loaded('posix') && posix_isatty(STDOUT)) {
            return fwrite(STDOUT, static::colorize($text));
        } else {
            return fwrite(STDOUT, static::decolorize($text));
        }
    }
public static function stdout ( $ text , $ raw = false ) { if ( $ raw ) { return fwrite ( STDOUT , $ text ) ; } elseif ( extension_loaded ( 'posix' ) && posix_isatty ( STDOUT ) ) { return fwrite ( STDOUT , static :: colorize ( $ text ) ) ; } else { return fwrite ( STDOUT , static :: decolorize ( $ text ) ) ; } }
Prints text to STDOUT.

@param string $text String to write to STDOUT
@param bool   $raw  Write string as-is; defaults to false

@return int|false Number of bytes printed or false on error
Prints text to STDOUT .