<?php ftp_set_option(FTP\Connection $ftp, int $option, int|bool $value): bool
<?php function ftp_set_option(...$arguments) { if ( ! is_mocked('ftp_set_option')) { return \ftp_set_option(...$arguments); } return return_mocked_value('ftp_set_option');
<?php return; } if ( ! ftp_set_option($connection, FTP_USEPASVADDRESS, ! $ignorePassiveAddress)) { throw UnableToSetFtpOption::whileSettingOption('FTP_USEPASVADDRESS'); } }