protected function openStream(/*# string */ $path)
    {
        if (is_string($path)) {
            if (false !== strpos($path, '://')) {
                $path = 'file://' . $path;
            }
            return fopen($path, 'a');
        }
        return $path;
    }
protected function openStream(/*# string */ $path)
    {
        if (is_string($path)) {
            if (false !== strpos($path, '://')) {
                $path = 'file://' . $path;
            }
            return fopen($path, 'a');
        }
        return $path;
    }
protected function openStream ( /*# string */ $ path ) { if ( is_string ( $ path ) ) { if ( false !== strpos ( $ path , '://' ) ) { $ path = 'file://' . $ path ; } return fopen ( $ path , 'a' ) ; } return $ path ; }
Open stream for writing

@param  string|resource $path
@return resource|false
@access protected
Open stream for writing