<?php
$testes = ['255.255.255.255', '0.0.0.0', '255.0.255.0', '0.255.0.255', '0.255.255.0', '128.0.0.0', '0.255.128.0'];
foreach($testes as $teste){
echo 'Testando: ' . $teste;
echo "\n";
echo "\n";
echo "\n";
}
PD9waHAKCiR0ZXN0ZXMgPSBbJzI1NS4yNTUuMjU1LjI1NScsICcwLjAuMC4wJywgJzI1NS4wLjI1NS4wJywgJzAuMjU1LjAuMjU1JywgJzAuMjU1LjI1NS4wJywgJzEyOC4wLjAuMCcsICcwLjI1NS4xMjguMCddOwoKZm9yZWFjaCgkdGVzdGVzIGFzICR0ZXN0ZSl7CgllY2hvICdUZXN0YW5kbzogJyAuICR0ZXN0ZTsKCWVjaG8gIlxuIjsKCWVjaG8gJ1Jlc3VsdGFkbzogJyAuIHNwcmludGYoJyUwMzJiJywgaXAybG9uZygkdGVzdGUpKTsKCWVjaG8gIlxuIjsKCWVjaG8gIlxuIjsKfQ==