예제 #1
0
 public function skip()
 {
     parent::skip();
     $sock = @fsockopen('localhost', 3128, $errno, $errstr, 15);
     $this->skipIf($sock === FALSE, 'unable to connect to localhost:3128 ' . $errstr);
     if ($sock) {
         fclose($sock);
     }
 }