<?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)); } }