File manager - Edit - /home/autoph/public_html/connectv1/vendor/aman00323/emailchecker/src/Helpers/Helper.php
Back
<?php namespace Aman\EmailVerifier\Helpers; class Helper { public const directory = __DIR__ . "/../../resources/domains/"; public static function deepCheck(String $domain) { $startingCharacter = strtolower(substr($domain, 0, 1)); if (preg_match("/^[a-zA-Z0-9]+$/", $startingCharacter) == 1) { $data = json_decode(file_get_contents(Self::directory . $startingCharacter . ".json"), true); for ($i = 0; $i < count($data); $i++) { if (preg_match("/(" . $data[$i] . ")/i", $domain)) { return true; } } return false; } else { return false; } } }
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings