From aec331bf3bcf6ffacec40b748f0c50f8aca0c07b Mon Sep 17 00:00:00 2001 From: Martin Cech Date: Wed, 24 Jun 2015 11:03:35 -0400 Subject: [PATCH] fix php example formatting --- README.md | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index c5840c5..102ab97 100644 --- a/README.md +++ b/README.md @@ -10,16 +10,14 @@ Example Usage PHP ```php function is_temp_mail($mail) { - - $list = file_get_contents ('disposable_email_blacklist.conf'); - $mail_domains_ko = explode("\n", $list); - - foreach($mail_domains_ko as $ko_mail) { - list(,$mail_domain) = explode('@',$mail); - if(strcasecmp($mail_domain, $ko_mail) == 0){ - return true; - } + $list = file_get_contents ('disposable_email_blacklist.conf'); + $mail_domains_ko = explode("\n", $list); + foreach($mail_domains_ko as $ko_mail) { + list(,$mail_domain) = explode('@',$mail); + if(strcasecmp($mail_domain, $ko_mail) == 0){ + return true; } + } return false; } ```