static function cli_write($str)
    {
        if (gettype($str) != 'string') {
            return false;
        }

        $stdout = fopen('php://stdout', 'w');

        return fwrite($stdout, $str);
    }
static function cli_write($str)
    {
        if (gettype($str) != 'string') {
            return false;
        }

        $stdout = fopen('php://stdout', 'w');

        return fwrite($stdout, $str);
    }
static function cli_write ( $ str ) { if ( gettype ( $ str ) != 'string' ) { return false ; } $ stdout = fopen ( 'php://stdout' , 'w' ) ; return fwrite ( $ stdout , $ str ) ; }
write a string to cli

@param string $str The string will be write to cli

@return boolean
write a string to cli