ftp_pwd

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Returns the current directory name
<?php ftp_pwd(FTP\Connection $ftp): string|false
<?php         $connection = $reflectionProperty->getValue($adapter);

        unset($reflection);



        $this->assertTrue(false !== ftp_pwd($connection));

        unset($adapter);

        static::clearFilesystemAdapterCache();

        $this->assertFalse(@ftp_pwd($connection));
<?php         $this->assertTrue(false !== ftp_pwd($connection));

        unset($adapter);

        static::clearFilesystemAdapterCache();

        $this->assertFalse(@ftp_pwd($connection));

    }

}