public function testHttpRequestFopen($url, $method, $return_only_status, $expected)
{
if (!ini_get('allow_url_fopen')) {
$this->markTestSkipped('allow_url_fopen not supported');
}
$result = PMA\libraries\Util::httpRequestFopen($url, $method, $return_only_status);
$this->validateHttp($result, $expected);
}