public static function mkdirs($pathname, $mode = 0755)
    {
        is_dir(dirname($pathname)) || self::mkdirs(dirname($pathname), $mode);
        return is_dir($pathname) || @mkdir($pathname, $mode); // @codingStandardsIgnoreLine
    }
public static function mkdirs($pathname, $mode = 0755)
    {
        is_dir(dirname($pathname)) || self::mkdirs(dirname($pathname), $mode);
        return is_dir($pathname) || @mkdir($pathname, $mode); // @codingStandardsIgnoreLine
    }
public static function mkdirs ( $ pathname , $ mode = 0755 ) { is_dir ( dirname ( $ pathname ) ) || self :: mkdirs ( dirname ( $ pathname ) , $ mode ) ; return is_dir ( $ pathname ) || @ mkdir ( $ pathname , $ mode ) ; // @codingStandardsIgnoreLine }
recursively create a long directory path

@param  string   $pathname
@param  int      $mode
@return boolean
recursively create a long directory path