Error handler for stream_socket_client()
Parameters
$errno
intrequired- Error number (e.g. E_WARNING)
$errstr
stringrequired- Error message
Source
}
/**
* Error handler for stream_socket_client()
*
* @param int $errno Error number (e.g. E_WARNING)
* @param string $errstr Error message
*/
public function connect_error_handler($errno, $errstr) {
// Double-check we can handle it
User Contributed Notes
You must log in before being able to contribute a note or feedback.