call to 0 with "https://httpbin.org/post" was unsuccessful.
error code: 7
error message: Couldn't connect to server: Failed to connect to 127.0.0.1 port 999: Connection refused
call to 0 with "https://httpbin.org/post" completed.
call to 1 with "https://httpbin.org/get" was unsuccessful.
error code: 7
error message: Couldn't connect to server: Failed to connect to 127.0.0.1 port 999: Connection refused
call to 1 with "https://httpbin.org/get" completed.
call to 2 with "https://httpbin.org/html" was unsuccessful.
error code: 7
error message: Couldn't connect to server: Failed to connect to 127.0.0.1 port 999: Connection refused
call to 2 with "https://httpbin.org/html" completed.
if (isset($iskomoe[0])){
echo htmlspecialchars($iskomoe[0]." => ".$i." ".str_replace($_POST['search'], "", $source_data[$iskomoe[0]])) . "<br>";
}
if (!isset($doubles[str_replace($_POST['search'], "", $source_data[$i])])){
Пример из /examples/ тоже сработал, вернул ошибки с участием 127.0.0.1:999, процитированные выше.
Правда proxy везде был один, потому что он указывается один раз через $multi_curl->addProxy(), и тотальный для всех запросов. Различаются только целевые сайты, до которых нужно достучаться через указанный proxy. Задать разные proxy для разных запросов - это надо писать свой класс.
Вам проще сделать тупо connect() на каждый proxy, и послать SOCKS5-запрос. Прилетит или корректный ответ, или какой-нибудь облом. Конечно прийдётся помучаться с вожделенной многопоточностью...