1
0
mirror of https://github.com/danog/dns.git synced 2024-11-30 04:29:06 +01:00
dns/test/bootstrap.php
Bob Weinand ebb5fb510c Switch to a new API to enable getting not only the first entry and not only A/AAAA records
This now can do queries to dns servers and you'll get the list of raw records in an array
2015-09-08 17:27:33 +02:00

12 lines
321 B
PHP

<?php
error_reporting(E_ALL);
require __DIR__.'/../vendor/autoload.php';
if (ini_get("opcache.enable") == true &&
ini_get("opcache.save_comments") == false) {
echo "Cannot run tests. OPCache is enabled and is stripping comments, which are required by PHPUnit to provide data for the tests.\n";
exit(-1);
}