3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $emails = ["Lauraaghajanian@hotmail.com","ronniezstar@hotmail.com","emily.v.allcock@gmail.com","alli7allen@gmail.com","belinda_allen76@hotmail.com","felicityamos@live.com.au","r.cremasco@hotmail.com","jennifer_andrews@live.com.au","nicolendan@iprimus.com.au","helene.dawson@hotmail.com","carly-anne.eluna@hotmail.com","andrian15@hotmail.com","jessica.argaet@gmail.com","laurenjane90@hotmail.com","caseyksau@hotmail.com","sara@ylett.com","kathy.bradey@gmail.com","melissa-cherie234@hotmail.com","ritaelena2000@yahoo.com.au","rachelbannerman@gmail.com","dianabao28@yahoo.com","eloise.baracco@gmail.com","naribarends@yahoo.com.au","barlow_92@hotmail.com","supersarmcneill@yahoo.co.uk","nbeamish@oakhill.nsw.edu.au","sweet_ride5@yahoo.com.au","stephanie.bedford@bigpond.com","test.bedford@bigpond.com","aimie_bellosillo@yahoo.com","sexy981@hotmail.com","liv4yeshua@gmail.com","bek1989@hotmail.com","laura_best1@hotmail.com","dbiddlecombe@live.com","Rhii_Blonde@hotmail.com","j.blazevic@hotmail.com","shekhar.bodda@gmail.com","tracey_bolger@hotmail.com","nicole.bond1992@gmail.com","jessicabootes2@gmail.com","nicolroxanne@gmail.com","fooddevelopmentsolutions@gmail.com","ejmbrett@gmail.com","lmbring@optusnet.com.au","allisonmbrown16@gmail.com","katie_fearn@hotmail.com","nixxy.brown@gmail.com","tarabrown16594@hotmail.com","shaylie.ab@gmail.com","teighan.browne@hotmail.com","im.juh.saying@gmail.com","georgia_buchanan@live.com.au","sarah_rose.xx@hotmail.com","jbuckley24@gmail.com","courtneys_dance_96@hotmail.com","hillman_lauren@hotmail.com","sarah_burgess33@hotmail.com","lburridge94@hotmail.com","ruby.burrows@hotmail.com","mmmbutler@yahoo.com","natashabutler@iinet.net","veronica.buttarello@edgewell.com","jessicamaybye@gmail.com","carmela_c_@hotmail.com","nichi.c@bigpond.com","briannalcampbell@gmail.com","mandlyleec@hotmail.com","xiujuan_cao@yahoo.com","dalenorrisos@yahoo.com.au","scarrington8905@gmail.com","emily.carter@y7mail.com","stephaniecaruana95@hotmail.com","angeline2398@gmail.com","nadine.castor25@gmail.com","nicky_chadwick@hotmail.com","jordon.chambers96@outlook.com","beatricea.chan@hotmail.com","tinkerbell_forever_94@hotmail.com","mcha9651@hotmail.com","mich_chievous@hotmail.com","deb@inspiredphysio.com.au","charmedforever2001@hotmail.com","schen2711@gmail.com","sarah-nicole-96@hotmail.com","r57cheung@gmail.com","crystal.latsyrc@hotmail.com","sarahchlala@bigpond.com","rachelchung3@hotmail.com","fiercept@hotmail.com","rosieclay@yahoo.com.au","rcclegg@hotmail.com","missminxie78@gmail.com","cassiecolless@optusnet.com.au","nikki_0807@hotmail.com","zoecol95@gmail.com","emmaconnell90@gmail.com","Comstable_carly@hotmail.com","jesscornish24@hotmail.com","elanacoundrelis@gmail.com","myeishamaree@live.com","kate-76@myway.com","fac1211@bigpond.com","emily.daniel1996@gmail.com","rosedaridis58@gmail.com","eve_rox93@hotmail.com","ally.sek@hotmail.com.au","ashleigh.davies92@gmail.com","dehaan88@hotmail.com","belinda.de@hotmail.com","rosepullen@gmail.com","eliana91au@hotmail.com","sldeathridge@gmail.com","sarahanddondi@gmail.com","amyvdelaney@gmail.com","z3463708@student.unsw.edu.au","siib-@hotmail.com","tiggeriffic43@gmail.com","dickfam01@ozemail.com.au","candysuede@hotmail.com","melanie-dodd@live.com.au","kellydoggett@live.com.au","jen_dooley@yahoo.com.au","hayleydoran@hotmail.com","anna.kate.dougherty@hotmail.com","purple_monster_oops@hotmail.com","black.parchmen@gmail.com","samara.driscoll@gmail.com","natashadrozdoff@gmail.com","m.duplessis@student.unsw.edu.au","jonandjac@bigpond.com","emily_dunn@live.com.au","tifnieeke@hotmail.com","laurenelizabeth.farquhar@gmail.com","bronte.ellams@hotmail.com","E.carolyn3@gmail.com","ace_rarity_girl@hotmail.com","jescandor@hotmail.com","deahnelisae@gmail.com","Elaura@live.com.au","apfahy@hotmail.com","craig_40@bigpond.net.au","louisemolino@gmail.com","ksf303@gmail.com","bek.ferguson@hotmail.com","fernando.nadishani@gmail.com","anjaliroelink@yahoo.com.au","cflusk@hotmail.com","emmaforeman5@gmail.com","Natasha.s.fraser@gmail.com","Tamar@waynefraser.com.au","laurafreelander@gmail.com","alleira@internode.on.net","kasey.gallagher@live.com.au","ej.gallaway@hotmail.com","gaofangping@gmail.com","greenhill610@hotmail.com","lana901@gmail.com","natg@gmail.col","angela-g@bigpond.net.au","katiezangari@hotmail.com","becgibson@gmail.com","katie.t.giles@hotmail.com","tba@tba.com.au","jacquig@mac.com","ann-maree_goode@hotmail.com","amber.gorrell@bigpond.com","sophgosling@gmail.com","cammie_grady@hotmail.com","TBA@TBA.com.au","daynagropp@gmail.com","christina_gu2002@yahoo.com","isuri@hotmail.com","rebeca.0301@hotmail.com","rukshan_06@hotmail.com","guzman.kimivana@gmail.com","tamara_haddow@hotmail.com","rebeccapatricia@outlook.com","maria_hamidi@hotmail.com","Lisa.april@hotmail.com","leyhttuanat@hotmail.com","julie_xp@hotmail.com","Maretta.hanbury@michaelhill.com.au","khancock@live.com.au","paharley@bigpond.net.au","flick32@hotmail.com","chris7594@hotmail.com","katie_lee91@hotmail.com","megannx711@hotmail.com","jess.hastings@hotmail.com","aleoopla@gmail.com","Debbie.hatumale@gmail.com","hellorichelle80@gmail.com","tammy9henry@gmail.com","jaydenhenson333@gmail.com","llheyne@bigpond.com","alilea97@gmail.com","stephanie.marissa88@gmail.com","helen.k.ho@hotmail.com","vholland@parra.catholic.edu.au","kimmyhorwood@gmail.com","laurahoskins91@live.com.au","doris.hsiao@yahoo.com","shuan.hu274@gmail.com","Claire_Hudson@Hotmail.com","melissa.t.hunt@hotmail.com","ph.poppyhunter@gmail.com","mj_hurley87@hotmail.com","michelle_huynh93@hotmail.com","sheree@iggleden.com","gemma.inglott@hotmail.com","Megan.ireland91@gmail.com","hannah_mh11@hotmail.com","danielle.iselin@outlook.com","aimz82@yahoo.com","emma.l.jarman@hotmail.com","tmaj22@hotmail.com","kelly.jeng@icloud.com","Faithjessel@gmail.com","jiadan8784@gmail.com","nancyjianz@hotmail.com","franlene29@yahoo.com","gcjfp8@gmail.com","zoe_talentz@yahoo.com.au","germained@optusnet.com.au","prettylacefrill@y7mail.com","laura.kernahan@hotmail.com","gkid0104@uni.sydney.edu.au","alyssa.mosely@hotmail.com","gina.kirchner@bigpond.com","cheryloyis@gmail.com","ursula.regina.kopinski@gmail.com","nkresojevic@outlook.com","sai_krishy@hotmail.com","niamhkyriacou@aapt.net.au","kafren89@hotmail.com","s.lammert@hotmail.com","rachel_launders@hotmail.com","t.rochelle@live.com","jane.lear@hotmail.com","Leealysia@ymail.com","catherineleesolomon@yahoo.com","dodgeballjase@hotmail.com","jiwonkim75@msn.com","ywreneelee@gmail.com","tegan_lee22@hotmail.com","emiliepotus@gmail.com","laurenleffler@hotmail.com","kateelewis@bigpond.com","sista_giggly@hotmail.com","lim.monique@gmail.com","vanessa.ey.lim@gmail.com","livielu@tpg.com.au","sherrylouis91@gmail.com","thefrazzledlink@gmail.com","ebonyrose2495@hotmail.com.au","sheralee.mackintosh@gmail.com","elenore555@yahoo.com","chelsea.antony@gmail.com","alisonmaniego@gmail.com","p_mannepalli@yahoo.com","charlottewalter@me.com","reneemarchant@hotmail.com","ml_marinovic@hotmail.com","caroline.martinknowles@gmail.com","marikam2211@gmail.com","charleyrosemason@gmail.com","sej_is@hotmail.com","sanaamathur@gmail.com","lyzy_bear@hotmail.com","Melanie_speechie@hotmail.com","irene_mcbride@live.com.au","simmy182@hotmail.com","bjm29377@gmail.com","fmcormak@gmail.com","georgiamcd93@gmail.com","mcgeorge.emily@gmail.com","niamhmcgivney@yahoo.com.au","nina.mckenzie@hotmail.com","cobielea1@hotmail.com","karisesawyers@me.com","allymcroberts@gmail.com","clanc11@hotmail.com","clancymcwaters@gmail.com","kazplus1@gmail.com","livmolino12@gmail.com","kate.moodley@hotmail.com","Celeste.Morales01@gmail.com","mattcara@iinet.net.au","mika.moriyama.11@gmail.com","d.morrison92@hotmail.com","jeyre83@gmail.com","laura.lc.murphy@gmail.com","rebeccaegmurray@gmail.com","rebeccaeegmurray@gmail.com","flaviamusico@hotmail.com","jodellenaidoo85@gmail.com","narzstella@gmail.com","charlotte.nelson23@gmail.com","ericanewell@hotmail.com","kelly-ann.dalrymple@det.nsw.edu.au","sarah.p.newlove@gmail.com","jessnewmarch@gmail.com","elouisenb@gmail.com","jessicang_6@hotmail.com","tiffng94@gmail.com","aishanguyen_@hotmail.com","tutuperform@gmail.com","k_noble@live.com.au","naomi.dance@hotmail.com","caseyoglesby__@hotmail.com","nicoleioglesby@gmail.com","arlene.orlina@gmail.com","emilie.pacella@gmail.com","emily.page@live.com","olivia_palomo@hotmail.com","wallysallace2000@yahoo.com.au","wenna_kate@hotmail.com","sarah.pearce@flightcentre.com.au","feepearson@hotmail.com","maz@Optus.com","smap_00@hotmail.com","a.pericles90@gmail.com","bec.pickford@outlook.com","carlapicolli@hotmail.com","cherylpieres27@gmail.com","podrugovic@tpg.com.au","courtney.pond@hotmail.com","sue_porter21@hotmail.com","kpoulain@live.com.au","jessica.l.poulton@hotmail.com","vepowell@outlook.com","monique.power.facebook@gmail.com","Chantelleprobst1@gmail.com","ar_prophet@hotmail.com","nicole_prosper@hotmail.com","praveena.rajeswaran@gmail.com","lotusrana123@gmail.com","caitlinr204@gmail.com","milerayz@hotmail.com","liv.ricci@me.com","peitalouise@outlook.com","Tegan.richards2@gmail.com","chloejr2205@gmail.com","melissaristivojevic@hotmail.com","Suerobb761@yahoo.com.au","amanda_louise_r@live.com","annarobertson90@gmail.com","lauren-007@live.com.au","mal_has@yahoo.com","nique24au@gmail.com","ashleigh913roe@gmail.com","bronwynroe@hotmail.com","rolph1947@optusnet.com.au","michellesromano@yahoo.com","vittrae@gmail.com","kr_14_dance@hotmail.com","swhs512@gmail.com","vqubrosi@hotmail.com","maltese_babe_2nv@hotmail.com","lisasanders89@hotmail.com","nikki.saunders7@hotmail.com","Melschier@optusnet.com.au","rebecca.schilt@gmail.com","pascotellaro@gmail.com","ally.sek@hotmail.com","Sp_026@hotmail.com","cseymour@ebetgroup.com","za_shapero@hotmail.com","rachaels92@live.com","julie.sharpe1@det.nsw.edu.au","sharp_kat@hotmail.com","jadiispadii@hotmail.com","dijonjazziiee@yahoo.com.au","jena.s@hotmail.com","tina.espts@gmail.com","ilze.anna.simpson@gmail.com","becsimp@hotmail.com","Gursharan_12@hotmail.com","jennifer.single@me.com","courts_x_x@hotmail.com","gracey_heart@hotmail.com","laurenemsmith@gmail.com","sarahsumusu@gmail.com","lily-smolinski@hotmail.com","Vanessasmyth@yahoo.com.au","karenjsolomons@gmail.com","mayasolway@tpg.com.au","geniesongagape@gmail.com","bsoorani@gmail.com","jason_soto_92@hotmail.com","emmamspencer77@gmail.com","sspiers4@its.jnj.com","alison.spiteri@hotmail.com","judith.sposari@live.com.au","christen.squire@rhac.nsw.edu.au","rino406@hotmail.com","nomes_94@hotmail.com","astev1@bigpond.com","danzr0001@hotmail.com","edana.stoch@gmail.com","christina.riashi@hotmail.com","jadeastyles@gmail.com","pirate_diva@hotmail.com","lightofsun5@hotmail.com","trisha.sunthankar@gmail.com","francescasurace@hotmail.com","zoe_minns@hotmail.com","kiersten.s@live.com.au","jmerkel@internode.on.net","t@t.com.au","Jmerkel@internode.on.net","carmen_t715@hotmail.com","Janice.tan92@gmail.com","carmenmtang@hotmail.com","melody_tavakoli@yahoo.com","Lou_43@hotmail.com","ay.jay04@hotmail.com","herhq383@hotmail.com","yami38@hotmail.com","belinda.templeman@outlook.com","test@test.com","mklafaber@bigpond.com","rohannathurgood@hotmail.com","tiwari18259@gmail.com","sairz_84@hotmail.com","allison.tong@sydney.edu.au","melissatrapolini@gmail.com","vanessa.travis@hotmail.com","Rochellecturner@gmail.com","kristina_ulich@hotmail.com","dollygirl232@gmail.com","uvero.chantelle@outlook.com","ileneuy@gmail.com","chantal_vandermerwe79@hotmail.com","drmel@tpg.com.au","alienav@hotmail.com","tessvickery@hotmail.com","holly.m.vincent@hotmail.com","himmy444@hotmail.com","pcvlahogiannis@gmail.com","natashaz975@gmail.com","Carlie.s@me.com","ash.walker07@hotmail.com","gillianwalker@live.com","nataliewalker36@hotmail.com","bullpup100@yahoo.com.au","ashleighwalsh96@gmail.com","yi.wang31@students.mq.edu.au","rachel.ward@uon.edu.au","clair.warner@outlook.com","priincezz93@hotmail.com","sarah@sarahwayland.com.au","miss_vee90@hotmail.com","i_am_found@hitmail.com","dwhite.20123871@gmail.com","Lucy.wiggan@hotmail.com","amanda.wihare@hotmail.com","Sdwilso1@aapt.net.au","bronwyn.c.wood@gmail.com","bridie619@hotmail.com","adeleworsley@hotmail.com","allybennett@hotmail.com","sail-aweigh@bigpond.com","wjymoon@hotmail.com","yuxi191@hotmail.com","himayayameogo@yahoo.ca","ellen@gremmohomes.com.au","bellaye.syd@gmail.com","ye.hazel@gmail.com","bianna.yew@hotmail.com","emy.yoneda@hotmail.com","lizyoung1980@gmail.com","rmyoung23@hotmail.com","crystal_10e@hotmail.com","s_zarola@hotmail.com","julie_zha2002@yahoo.com","lanlan1206@hotmail.com","Amiezheng87@gmail.com","jesseeeka@hotmail.com","ritzminii@hotmail.com","banana_face82@hotmail.com","chezwatts@hotmail.com"]; $hash = []; foreach ($emails as $email) { if (!filter_var($email, FILTER_VALIDATE_EMAIL)) { echo $email; } $hash[strtolower($email)] = true; } echo count($hash);
based on sVL6J
Output for 5.5.0 - 7.3.0rc6
481