Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Makes directory
<?php mkdir(    string $directory,    int $permissions = 0777,    bool $recursive = false,    ?resource $context = null): bool
<?php         $resource = $zip->open($filePath);



        if (!file_exists($unzipPath)) {

            mkdir($unzipPath, 0755, true);

        }



        if ($resource !== true) {
<?php         $resource = $zip->open($filePath);



        if (!file_exists($unzipPath)) {

            mkdir($unzipPath, 0755, true);

        }



        if ($resource !== true) {
<?php         $resource = $zip->open($filePath);



        if (!file_exists($unzipPath)) {

            mkdir($unzipPath, 0755, true);

        }



        if ($resource !== true) {
<?php         }



        if (! is_dir(dirname(self::SOCKET))) {

            mkdir(dirname(self::SOCKET));

        }