Tokenize dns zone files and that's all, folks.
composer require ltd-beget/dns-zone-tokenizer
<?php
use LTDBeget\dns\Tokenizer;
require(__DIR__ . '/vendor/autoload.php');
$config_path = realpath(__DIR__."/zone/exampleZone"); // path to your dns zone file
$plain_config = file_get_contents($config_path);
$tokenized = Tokenizer::tokenize($plain_config); // that's all, folks. All is done =)
$ ./vendor/bin/phpdox
$ wget https://phar.phpunit.de/phpunit.phar
$ php phpunit.phar --coverage-html coverage
$ php phpunit.phar --coverage-clover coverage.xml
released under the MIT License. See the bundled LICENSE file for details.