curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE)
Among them, true outputs the execution result, false means no output
One of the differences between fsockopen and curl_setopt requests is that the former is blocking, that is, when there is no response from the server, the program will still be executed, while curl can make multiple requests at the same time, which is non-blocking.