Skip to content

Instantly share code, notes, and snippets.

@nickvergessen
Created March 18, 2012 10:12
Show Gist options
  • Save nickvergessen/2070332 to your computer and use it in GitHub Desktop.
Save nickvergessen/2070332 to your computer and use it in GitHub Desktop.
static public function setUpBeforeClass()
{
$hostname = 'ftp.debian.org.';
self::$ipv4 = gethostbyname($hostname);
if (self::$ipv4 == $hostname)
{
self::markTestSkipped("Got no A record back from DNS query for $hostname");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment