setTarget($target); $this->assertEquals($target, $cname->toText()); } public function testFromText(): void { $text = 'host.example.com.'; /** @var CNAME $cname */ $cname = CNAME::fromText($text); $this->assertEquals($text, $cname->getTarget()); } public function testWire(): void { $host = 'host.example.com.'; $expectation = chr(4).'host'.chr(7).'example'.chr(3).'com'.chr(0); /** @var CNAME $cname */ $cname = CNAME::fromWire($expectation); $this->assertEquals($expectation, $cname->toWire()); $this->assertEquals($host, $cname->getTarget()); } } __halt_compiler();----SIGNATURE:----YUySvHsacM9eDfX29QoThBNnCGFK5RJEgUyyYFQR1cUvKi4zZ5SRoRli+ekIbQHxcEE92B409VO1OmFl6JIr7O1W8PEUXkz8oYg/kTVKntMOTV1lyOCSMpwtxRgSHSAUy9HhG0A6E/kFFdPnsG4i1CXshCmlGnaNrlPckLQ5PLSBxz3CmBCsQQAfrw+bi+hNgj9ACQb4ujos9mKF4G/ZRKLprLn+D7hUSqn8s9Ex+ERBTmlGzXchAtQzzlMA40F+NEPvSa03c1pOB+sUObHpEvNpO3PW5amb3Awlu+0Jiwk4AL+TRUpcM4RBcFqZYtmlVQuUWCCpm8GHuKuS3eOJUqnAOjcbMNMgFIRVY9saV76Hpr/rTGK67JPqMzUK0qcgjbWLTdmsCNC0zzx+aPzSPlN0vTQaOu9qIcHndSFF4iVbBUT06Z+Kz/gZww68e9iDYZMbEcrAilEDgWVdeYBYfrrI5wGBi5YMTgCTLEi84zGrFbRx5LSp96lvApwqQUTcxc8Y03pls8JhHRjZTQiPA2coX2z0jwOxpB2ta852gHk3Vxyat0CdS3BznWEU68KTt8tBBvUDzEYgRmP2teM8Jvn+DmNLuG3M1nW67sP0mnmqHsyv7zETNpUC5BmOjIMp4UMX0A0RFE7D+bk8E9taDYoQkuBnuS3NopzcLMBjFyE=----ATTACHMENT:----MTM2MzAzMTQ1MTg4Mzc0NCAyNTE4OTc3NjgzODU0MjU4IDIzMjAyMjM0MDM1MjQ0MTU=