<?php
$text = "Мыло раз victory1@gmail.com
мыло два failure13@yahoo.com
agent@007.example.com
";
$regexp = "/[a-z0-9_+.-]+@[a-z.-]+/i";
for ($i = 0; $i < $count; $i++) {
echo $emails[0][$i] . "\n";
}
PD9waHAKJHRleHQgPSAi0JzRi9C70L4g0YDQsNC3IHZpY3RvcnkxQGdtYWlsLmNvbQrQvNGL0LvQviDQtNCy0LAgZmFpbHVyZTEzQHlhaG9vLmNvbQphZ2VudEAwMDcuZXhhbXBsZS5jb20KIjsKJHJlZ2V4cCA9ICIvW2EtejAtOV8rLi1dK0BbYS16Li1dKy9pIjsKJGVtYWlscyA9IGFycmF5KCk7CiRjb3VudCA9IHByZWdfbWF0Y2hfYWxsKCRyZWdleHAsICR0ZXh0LCAkZW1haWxzKTsKZm9yICgkaSA9IDA7ICRpIDwgJGNvdW50OyAkaSsrKSB7CgllY2hvICRlbWFpbHNbMF1bJGldIC4gIlxuIjsKfQo=