Lines Matching refs:option
18 [ 'option' => FTP_TIMEOUT_SEC, 'value' => 0 ],
19 [ 'option' => FTP_TIMEOUT_SEC, 'value' => '0' ],
20 [ 'option' => FTP_USEPASVADDRESS, 'value' => ['1'] ],
21 [ 'option' => FTP_AUTOSEEK, 'value' => 'true' ],
22 [ 'option' => FOO_BAR, 'value' => 1 ],
24 foreach ($options as $option) try {
25 var_dump(ftp_set_option($ftp, $option['option'], $option['value']));
32 …ption: ftp_set_option(): Argument #3 ($value) must be greater than 0 for the FTP_TIMEOUT_SEC option
33 …set_option(): Argument #3 ($value) must be of type int for the FTP_TIMEOUT_SEC option, string given
34 …_option(): Argument #3 ($value) must be of type bool for the FTP_USEPASVADDRESS option, array given
35 Exception: ftp_set_option(): Argument #3 ($value) must be of type bool for the FTP_AUTOSEEK option,…
36 Exception: ftp_set_option(): Argument #2 ($option) must be one of FTP_TIMEOUT_SEC, FTP_AUTOSEEK, or…