<?php
$foo = '+++ Statistics Dump +++ (1499195839)
++ Incoming Requests ++
552 QUERY
++ Incoming Queries ++
546 A
1 NS
5 AAAA
++ Outgoing Queries ++
[View: default]
1350 A
53 NS
446 AAAA
544 DS
35 DNSKEY
[View: _bind]
++ Name Server Statistics ++
552 IPv4 requests received
1 requests with EDNS(0) received
550 responses sent
1 responses with EDNS(0) sent
300 queries resulted in successful answer
541 queries resulted in non authoritative answer
6 queries resulted in nxrrset
9 queries resulted in SERVFAIL
235 queries resulted in NXDOMAIN
385 queries caused recursion
2 duplicate queries received
++ Zone Maintenance Statistics ++
++ Resolver Statistics ++
[Common]';
$retornou = $matches[1];
print_r($retornou); //Exibe todos numeros que pegou } else {
echo 'Nada encontrado';
}
PD9waHAKJGZvbyA9ICcrKysgU3RhdGlzdGljcyBEdW1wICsrKyAoMTQ5OTE5NTgzOSkKKysgSW5jb21pbmcgUmVxdWVzdHMgKysKICAgICAgICAgICAgICAgICA1NTIgUVVFUlkKKysgSW5jb21pbmcgUXVlcmllcyArKwogICAgICAgICAgICAgICAgIDU0NiBBCiAgICAgICAgICAgICAgICAgICAxIE5TCiAgICAgICAgICAgICAgICAgICA1IEFBQUEKKysgT3V0Z29pbmcgUXVlcmllcyArKwpbVmlldzogZGVmYXVsdF0KICAgICAgICAgICAgICAgIDEzNTAgQQogICAgICAgICAgICAgICAgICA1MyBOUwogICAgICAgICAgICAgICAgIDQ0NiBBQUFBCiAgICAgICAgICAgICAgICAgNTQ0IERTCiAgICAgICAgICAgICAgICAgIDM1IEROU0tFWQpbVmlldzogX2JpbmRdCisrIE5hbWUgU2VydmVyIFN0YXRpc3RpY3MgKysKICAgICAgICAgICAgICAgICA1NTIgSVB2NCByZXF1ZXN0cyByZWNlaXZlZAogICAgICAgICAgICAgICAgICAgMSByZXF1ZXN0cyB3aXRoIEVETlMoMCkgcmVjZWl2ZWQKICAgICAgICAgICAgICAgICA1NTAgcmVzcG9uc2VzIHNlbnQKICAgICAgICAgICAgICAgICAgIDE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