Beispiel #1
0
<?php

function processList($list)
{
    $bits = explode("\n", $list);
    $nice = 0;
    foreach ($bits as $str) {
        if (isNice($str)) {
            $nice++;
        }
    }
    echo "Nice is {$nice}\n";
}
function isNice($str)
{
    $pairPattern = '/(..).*\\1/';
    $spacePattern = '/(.).\\1/';
    $success = preg_match($pairPattern, $str);
    if (!$success) {
        return false;
    }
    $success = preg_match($spacePattern, $str);
    return $success;
}
$list = "sszojmmrrkwuftyv\nisaljhemltsdzlum\nfujcyucsrxgatisb\nqiqqlmcgnhzparyg\noijbmduquhfactbc\njqzuvtggpdqcekgk\nzwqadogmpjmmxijf\nuilzxjythsqhwndh\ngtssqejjknzkkpvw\nwrggegukhhatygfi\nvhtcgqzerxonhsye\ntedlwzdjfppbmtdx\niuvrelxiapllaxbg\nfeybgiimfthtplui\nqxmmcnirvkzfrjwd\nvfarmltinsriqxpu\noanqfyqirkraesfq\nxilodxfuxphuiiii\nyukhnchvjkfwcbiq\nbdaibcbzeuxqplop\nivegnnpbiyxqsion\nybahkbzpditgwdgt\ndmebdomwabxgtctu\nibtvimgfaeonknoh\njsqraroxudetmfyw\ndqdbcwtpintfcvuz\ntiyphjunlxddenpj\nfgqwjgntxagidhah\nnwenhxmakxqkeehg\nzdoheaxqpcnlhnen\ntfetfqojqcdzlpbm\nqpnxkuldeiituggg\nxwttlbdwxohahwar\nhjkwzadmtrkegzye\nkoksqrqcfwcaxeof\nwulwmrptktliyxeq\ngyufbedqhhyqgqzj\ntxpunzodohikzlmj\njloqfuejfkemcrvu\namnflshcheuddqtc\npdvcsduggcogbiia\nyrioavgfmeafjpcz\nuyhbtmbutozzqfvq\nmwhgfwsgyuwcdzik\nauqylgxhmullxpaa\nlgelzivplaeoivzh\nuyvcepielfcmswoa\nqhirixgwkkccuzlp\nzoonniyosmkeejfg\niayfetpixkedyana\nictqeyzyqswdskiy\nejsgqteafvmorwxe\nlhaiqrlqqwfbrqdx\nydjyboqwhfpqfydc\ndwhttezyanrnbybv\nedgzkqeqkyojowvr\nrmjfdwsqamjqehdq\nozminkgnkwqctrxz\nbztjhxpjthchhfcd\nvrtioawyxkivrpiq\ndpbcsznkpkaaclyy\nvpoypksymdwttpvz\nhhdlruwclartkyap\nbqkrcbrksbzcggbo\njerbbbnxlwfvlaiw\ndwkasufidwjrjfbf\nkkfxtjhbnmqbmfwf\nvmnfziwqxmioukmj\nrqxvcultipkecdtu\nfhmfdibhtjzkiqsd\nhdpjbuzzbyafqrpd\nemszboysjuvwwvts\nmsyigmwcuybfiooq\ndruyksfnbluvnwoh\nfvgstvynnfbvxhsx\nbmzalvducnqtuune\nlzwkzfzttsvpllei\nolmplpvjamynfyfd\npadcwfkhystsvyfb\nwjhbvxkwtbfqdilb\nhruaqjwphonnterf\nbufjobjtvxtzjpmj\noiedrjvmlbtwyyuy\nsgiemafwfztwsyju\nnsoqqfudrtwszyqf\nvonbxquiiwxnazyl\nyvnmjxtptujwqudn\nrrnybqhvrcgwvrkq\ntaktoxzgotzxntfu\nquffzywzpxyaepxa\nrfvjebfiddcfgmwv\niaeozntougqwnzoh\nscdqyrhoqmljhoil\nbfmqticltmfhxwld\nbrbuktbyqlyfpsdl\noidnyhjkeqenjlhd\nkujsaiqojopvrygg\nvebzobmdbzvjnjtk\nuunoygzqjopwgmbg\npiljqxgicjzgifso\nikgptwcjzywswqnw\npujqsixoisvhdvwi\ntrtuxbgigogfsbbk\nmplstsqclhhdyaqk\ngzcwflvmstogdpvo\ntfjywbkmimyyqcjd\ngijutvhruqcsiznq\nibxkhjvzzxgavkha\nbtnxeqvznkxjsgmq\ntjgofgauxaelmjoq\nsokshvyhlkxerjrv\nltogbivktqmtezta\nuduwytzvqvfluyuf\nmsuckpthtgzhdxan\nfqmcglidvhvpirzr\ngwztkqpcwnutvfga\nbsjfgsrntdhlpqbx\nxloczbqybxmiopwt\norvevzyjliomkkgu\nmzjbhmfjjvaziget\ntlsdxuhwdmghdyjb\natoecyjhwmznaewi\npyxpyvvipbqibiox\najbfmpqqobfsmesj\nsiknbzefjblnohgd\neqfhgewbblwdfkmc\nopylbscrotckkrbk\nlbwxbofgjkzdxkle\nceixfjstaptdomvm\nhnkrqxifjmmjktie\naqykzeuzvvetoygd\nfouahjimfcisxima\nprkzhutbqsyrhjzx\nqqwliakathnsbzne\nsayhgqtlcqqidqhj\nygduolbysehdudra\nzricvxhdzznuxuce\nucvzakslykpgsixd\nudirhgcttmyspgsb\nyuwzppjzfsjhhdzi\ngtqergjiuwookwre\nxvxexbjyjkxovvwf\nmlpaqhnnkqxrmwmm\nezuqbrjozwuqafhb\nmcarusdthcbsonoq\nweeguqeheeiigrue\npngtfugozxofaqxv\ncopphvbjcmfspenv\njiyahihykjjkdaya\ngdqnmesvptuyrfwp\nvbdscfywqmfxbohh\ncrtrfuxyjypzubrg\nseihvevtxywxhflp\nfvvpmgttnapklwou\nqmqaqsajmqwhetpk\nzetxvrgjmblxvakr\nkpvwblrizaabmnhz\nmwpvvzaaicntrkcp\nclqyjiegtdsswqfm\nymrcnqgcpldgfwtm\nnzyqpdenetncgnwq\ncmkzevgacnmdkqro\nkzfdsnamjqbeirhi\nkpxrvgvvxapqlued\nrzskbnfobevzrtqu\nvjoahbfwtydugzap\nykbbldkoijlvicbl\nmfdmroiztsgjlasb\nquoigfyxwtwprmdr\nekxjqafwudgwfqjm\nobtvyjkiycxfcdpb\nlhoihfnbuqelthof\neydwzitgxryktddt\nrxsihfybacnpoyny\nbsncccxlplqgygtw\nrvmlaudsifnzhcqh\nhuxwsyjyebckcsnn\ngtuqzyihwhqvjtes\nzreeyomtngvztveq\nnwddzjingsarhkxb\nnuqxqtctpoldrlsh\nwkvnrwqgjooovhpf\nkwgueyiyffudtbyg\ntpkzapnjxefqnmew\nludwccvkihagvxal\nlfdtzhfadvabghna\nnjqmlsnrkcfhtvbb\ncajzbqleghhnlgap\nvmitdcozzvqvzatp\neelzefwqwjiywbcz\nuyztcuptfqvymjpi\naorhnrpkjqqtgnfo\nlfrxfdrduoeqmwwp\nvszpjvbctblplinh\nzexhadgpqfifcqrz\nueirfnshekpemqua\nqfremlntihbwabtb\nnwznunammfexltjc\nzkyieokaaogjehwt\nvlrxgkpclzeslqkq\nxrqrwfsuacywczhs\nolghlnfjdiwgdbqc\ndifnlxnedpqcsrdf\ndgpuhiisybjpidsj\nvlwmwrikmitmoxbt\nsazpcmcnviynoktm\npratafauetiknhln\nilgteekhzwlsfwcn\nywvwhrwhkaubvkbl\nqlaxivzwxyhvrxcf\nhbtlwjdriizqvjfb\nnrmsononytuwslsa\nmpxqgdthpoipyhjc\nmcdiwmiqeidwcglk\nvfbaeavmjjemfrmo\nqzcbzmisnynzibrc\nshzmpgxhehhcejhb\nwirtjadsqzydtyxd\nqjlrnjfokkqvnpue\ndxawdvjntlbxtuqc\nwttfmnrievfestog\neamjfvsjhvzzaobg\npbvfcwzjgxahlrag\nomvmjkqqnobvnzkn\nlcwmeibxhhlxnkzv\nuiaeroqfbvlazegs\ntwniyldyuonfyzqw\nwgjkmsbwgfotdabi\nhnomamxoxvrzvtew\nycrcfavikkrxxfgw\nisieyodknagzhaxy\nmgzdqwikzullzyco\nmumezgtxjrrejtrs\nnwmwjcgrqiwgfqel\nwjgxmebfmyjnxyyp\ndurpspyljdykvzxf\nzuslbrpooyetgafh\nkuzrhcjwbdouhyme\nwyxuvbciodscbvfm\nkbnpvuqwmxwfqtqe\nzddzercqogdpxmft\nsigrdchxtgavzzjh\nlznjolnorbuddgcs\nycnqabxlcajagwbt\nbnaudeaexahdgxsj\nrlnykxvoctfwanms\njngyetkoplrstfzt\ntdpxknwacksotdub\nyutqgssfoptvizgr\nlzmqnxeqjfnsxmsa\niqpgfsfmukovsdgu\nqywreehbidowtjyz\niozamtgusdctvnkw\nielmujhtmynlwcfd\nhzxnhtbnmmejlkyf\nftbslbzmiqkzebtd\nbcwdqgiiizmohack\ndqhfkzeddjzbdlxu\nmxopokqffisxosci\nvciatxhtuechbylk\nkhtkhcvelidjdena\nblatarwzfqcapkdt\nelamngegnczctcck\nxeicefdbwrxhuxuf\nsawvdhjoeahlgcdr\nkmdcimzsfkdfpnir\naxjayzqlosrduajb\nmfhzreuzzumvoggr\niqlbkbhrkptquldb\nxcvztvlshiefuhgb\npkvwyqmyoazocrio\najsxkdnerbmhyxaj\ntudibgsbnpnizvsi\ncxuiydkgdccrqvkh\ncyztpjesdzmbcpot\nnnazphxpanegwitx\nuphymczbmjalmsct\nyyxiwnlrogyzwqmg\ngmqwnahjvvdyhnfa\nutolskxpuoheugyl\nmseszdhyzoyavepd\nycqknvbuvcjfgmlc\nsknrxhxbfpvpeorn\nzqxqjetooqcodwml\nsesylkpvbndrdhsy\nfryuxvjnsvnjrxlw\nmfxusewqurscujnu\nmbitdjjtgzchvkfv\nozwlyxtaalxofovd\nwdqcduaykxbunpie\nrlnhykxiraileysk\nwgoqfrygttlamobg\nkflxzgxvcblkpsbz\ntmkisflhativzhde\nowsdrfgkaamogjzd\ngaupjkvkzavhfnes\nwknkurddcknbdleg\nlltviwincmbtduap\nqwzvspgbcksyzzmb\nydzzkumecryfjgnk\njzvmwgjutxoysaam\nicrwpyhxllbardkr\njdopyntshmvltrve\nafgkigxcuvmdbqou\nmfzzudntmvuyhjzt\nduxhgtwafcgrpihc\ntsnhrkvponudumeb\nsqtvnbeiigdzbjgv\neczmkqwvnsrracuo\nmhehsgqwiczaiaxv\nkaudmfvifovrimpd\nlupikgivechdbwfr\nmwaaysrndiutuiqx\naacuiiwgaannunmm\ntjqjbftaqitukwzp\nlrcqyskykbjpaekn\nlirrvofbcqpjzxmr\njurorvzpplyelfml\nqonbllojmloykjqe\nsllkzqujfnbauuqp\nauexjwsvphvikali\nusuelbssqmbrkxyc\nwyuokkfjexikptvv\nwmfedauwjgbrgytl\nsfwvtlzzebxzmuvw\nrdhqxuechjsjcvaf\nkpavhqkukugocsxu\novnjtumxowbxduts\nzgerpjufauptxgat\npevvnzjfwhjxdoxq\npmmfwxajgfziszcs\ndifmeqvaghuitjhs\nicpwjbzcmlcterwm\nngqpvhajttxuegyh\nmosjlqswdngwqsmi\nfrlvgpxrjolgodlu\neazwgrpcxjgoszeg\nbbtsthgkjrpkiiyk\ntjonoglufuvsvabe\nxhkbcrofytmbzrtk\nkqftfzdmpbxjynps\nkmeqpocbnikdtfyv\nqjjymgqxhnjwxxhp\ndmgicrhgbngdtmjt\nzdxrhdhbdutlawnc\nafvoekuhdboxghvx\nhiipezngkqcnihty\nbbmqgheidenweeov\nsuprgwxgxwfsgjnx\nadeagikyamgqphrj\nzzifqinoeqaorjxg\nadhgppljizpaxzld\nlvxyieypvvuqjiyc\nnljoakatwwwoovzn\nfcrkfxclcacshhmx\nownnxqtdhqbgthch\nlmfylrcdmdkgpwnj\nhlwjfbvlswbzpbjr\nmkofhdtljdetcyvp\nsynyxhifbetzarpo\nagnggugngadrcxoc\nuhttadmdmhidpyjw\nohfwjfhunalbubpr\npzkkkkwrlvxiuysn\nkmidbxmyzkjrwjhu\negtitdydwjxmajnw\ncivoeoiuwtwgbqqs\ndfptsguzfinqoslk\ntdfvkreormspprer\nzvnvbrmthatzztwi\nffkyddccrrfikjde\nhrrmraevdnztiwff\nqaeygykcpbtjwjbr\npurwhitkmrtybslh\nqzziznlswjaussel\ndfcxkvdpqccdqqxj\ntuotforulrrytgyn\ngmtgfofgucjywkev\nwkyoxudvdkbgpwhd\nqbvktvfvipftztnn\notckgmojziezmojb\ninxhvzbtgkjxflay\nqvxapbiatuudseno\nkrpvqosbesnjntut\noqeukkgjsfuqkjbb\nprcjnyymnqwqksiz\nvuortvjxgckresko\norqlyobvkuwgathr\nqnpyxlnazyfuijox\nzwlblfkoklqmqzkw\nhmwurwtpwnrcsanl\njzvxohuakopuzgpf\nsfcpnxrviphhvxmx\nqtwdeadudtqhbely\ndbmkmloasqphnlgj\nolylnjtkxgrubmtk\nnxsdbqjuvwrrdbpq\nwbabpirnpcsmpipw\nhjnkyiuxpqrlvims\nenzpntcjnxdpuqch\nvvvqhlstzcizyimn\ntriozhqndbttglhv\nfukvgteitwaagpzx\nuhcvukfbmrvskpen\ntizcyupztftzxdmt\nvtkpnbpdzsaluczz\nwodfoyhoekidxttm\notqocljrmwfqbxzu\nlinfbsnfvixlwykn\nvxsluutrwskslnye\nzbshygtwugixjvsi\nzdcqwxvwytmzhvoo\nwrseozkkcyctrmei\nfblgtvogvkpqzxiy\nopueqnuyngegbtnf\nqxbovietpacqqxok\nzacrdrrkohfygddn\ngbnnvjqmkdupwzpq\nqgrgmsxeotozvcak\nhnppukzvzfmlokid\ndzbheurndscrrtcl\nwbgdkadtszebbrcw\nfdmzppzphhpzyuiz\nbukomunhrjrypohj\nohodhelegxootqbj\nrsplgzarlrknqjyh\npunjjwpsxnhpzgvu\ndjdfahypfjvpvibm\nmlgrqsmhaozatsvy\nxwktrgyuhqiquxgn\nwvfaoolwtkbrisvf\nplttjdmguxjwmeqr\nzlvvbwvlhauyjykw\ncigwkbyjhmepikej\nmasmylenrusgtyxs\nhviqzufwyetyznze\nnzqfuhrooswxxhus\npdbdetaqcrqzzwxf\noehmvziiqwkzhzib\nicgpyrukiokmytoy\nooixfvwtiafnwkce\nrvnmgqggpjopkihs\nwywualssrmaqigqk\npdbvflnwfswsrirl\njeaezptokkccpbuj\nmbdwjntysntsaaby\nldlgcawkzcwuxzpz\nlwktbgrzswbsweht\necspepmzarzmgpjm\nqmfyvulkmkxjncai\nizftypvwngiukrns\nzgmnyjfeqffbooww\nnyrkhggnprhedows\nyykzzrjmlevgffah\nmavaemfxhlfejfki\ncmegmfjbkvpncqwf\nzxidlodrezztcrij\nfseasudpgvgnysjv\nfupcimjupywzpqzp\niqhgokavirrcvyys\nwjmkcareucnmfhui\nnftflsqnkgjaexhq\nmgklahzlcbapntgw\nkfbmeavfxtppnrxn\nnuhyvhknlufdynvn\nnviogjxbluwrcoec\ntyozixxxaqiuvoys\nkgwlvmvgtsvxojpr\nmoeektyhyonfdhrb\nkahvevmmfsmiiqex\nxcywnqzcdqtvhiwd\nfnievhiyltbvtvem\njlmndqufirwgtdxd\nmuypbfttoeelsnbs\nrypxzbnujitfwkou\nubmmjbznskildeoj\nofnmizdeicrmkjxp\nrekvectjbmdnfcib\nyohrojuvdexbctdh\ngwfnfdeibynzjmhz\njfznhfcqdwlpjull\nscrinzycfhwkmmso\nmskutzossrwoqqsi\nrygoebkzgyzushhr\njpjqiycflqkexemx\narbufysjqmgaapnl\ndbjerflevtgweeoj\nsnybnnjlmwjvhois\nfszuzplntraprmbj\nmkvaatolvuggikvg\nzpuzuqygoxesnuyc\nwnpxvmxvllxalulm\neivuuafkvudeouwy\nrvzckdyixetfuehr\nqgmnicdoqhveahyx\nmiawwngyymshjmpj\npvckyoncpqeqkbmx\nllninfenrfjqxurv\nkzbjnlgsqjfuzqtp\nrveqcmxomvpjcwte\nbzotkawzbopkosnx\nktqvpiribpypaymu\nwvlzkivbukhnvram\nuohntlcoguvjqqdo\najlsiksjrcnzepkt\nxsqatbldqcykwusd\nihbivgzrwpmowkop\nvfayesfojmibkjpb\nuaqbnijtrhvqxjtb\nhhovshsfmvkvymba\njerwmyxrfeyvxcgg\nhncafjwrlvdcupma\nqyvigggxfylbbrzt\nhiiixcyohmvnkpgk\nmmitpwopgxuftdfu\niaxderqpceboixoa\nzodfmjhuzhnsqfcb\nsthtcbadrclrazsi\nbkkkkcwegvypbrio\nwmpcofuvzemunlhj\ngqwebiifvqoeynro\njuupusqdsvxcpsgv\nrbhdfhthxelolyse\nkjimpwnjfrqlqhhz\nrcuigrjzarzpjgfq\nhtxcejfyzhydinks\nsxucpdxhvqjxxjwf\nomsznfcimbcwaxal\ngufmtdlhgrsvcosb\nbssshaqujtmluerz\nuukotwjkstgwijtr\nkbqkneobbrdogrxk\nljqopjcjmelgrakz\nrwtfnvnzryujwkfb\ndedjjbrndqnilbeh\nnzinsxnpptzagwlb\nlwqanydfirhnhkxy\nhrjuzfumbvfccxno\nokismsadkbseumnp\nsfkmiaiwlktxqvwa\nhauwpjjwowbunbjj\nnowkofejwvutcnui\nbqzzppwoslaeixro\nurpfgufwbtzenkpj\nxgeszvuqwxeykhef\nyxoldvkyuikwqyeq\nonbbhxrnmohzskgg\nqcikuxakrqeugpoa\nlnudcqbtyzhlpers\nnxduvwfrgzaailgl\nxniuwvxufzxjjrwz\nljwithcqmgvntjdj\nawkftfagrfzywkhs\nuedtpzxyubeveuek\nbhcqdwidbjkqqhzl\niyneqjdmlhowwzxx\nkvshzltcrrururty\nzgfpiwajegwezupo\ntkrvyanujjwmyyri\nercsefuihcmoaiep\nienjrxpmetinvbos\njnwfutjbgenlipzq\nbgohjmrptfuamzbz\nrtsyamajrhxbcncw\ntfjdssnmztvbnscs\nbgaychdlmchngqlp\nkfjljiobynhwfkjo\nowtdxzcpqleftbvn\nltjtimxwstvzwzjj\nwbrvjjjajuombokf\nzblpbpuaqbkvsxye\ngwgdtbpnlhyqspdi\nabipqjihjqfofmkx\nnlqymnuvjpvvgova\navngotmhodpoufzn\nqmdyivtzitnrjuae\nxfwjmqtqdljuerxi\ncsuellnlcyqaaamq\nslqyrcurcyuoxquo\ndcjmxyzbzpohzprl\nuqfnmjwniyqgsowb\nrbmxpqoblyxdocqc\nebjclrdbqjhladem\nainnfhxnsgwqnmyo\neyytjjwhvodtzquf\niabjgmbbhilrcyyp\npqfnehkivuelyccc\nxgjbyhfgmtseiimt\njwxyqhdbjiqqqeyy\ngxsbrncqkmvaryln\nvhjisxjkinaejytk\nseexagcdmaedpcvh\nlvudfgrcpjxzdpvd\nfxtegyrqjzhmqean\ndnoiseraqcoossmc\nnwrhmwwbykvwmgep\nudmzskejvizmtlce\nhbzvqhvudfdlegaa\ncghmlfqejbxewskv\nbntcmjqfwomtbwsb\nqezhowyopjdyhzng\ntodzsocdkgfxanbz\nzgjkssrjlwxuhwbk\neibzljqsieriyrzr\nwamxvzqyycrxotjp\nepzvfkispwqynadu\ndwlpfhtrafrxlyie\nqhgzujhgdruowoug\ngirstvkahaemmxvh\nbaitcrqmxhazyhbl\nxyanqcchbhkajdmc\ngfvjmmcgfhvgnfdq\ntdfdbslwncbnkzyz\njojuselkpmnnbcbb\nhatdslkgxtqpmavj\ndvelfeddvgjcyxkj\ngnsofhkfepgwltse\nmdngnobasfpewlno\nqssnbcyjgmkyuoga\nglvcmmjytmprqwvn\ngwrixumjbcdffsdl\nlozravlzvfqtsuiq\nsicaflbqdxbmdlch\ninwfjkyyqbwpmqlq\ncuvszfotxywuzhzi\nigfxyoaacoarlvay\nucjfhgdmnjvgvuni\nrvvkzjsytqgiposh\njduinhjjntrmqroz\nyparkxbgsfnueyll\nlyeqqeisxzfsqzuj\nwoncskbibjnumydm\nlltucklragtjmxtl\nubiyvmyhlesfxotj\nuecjseeicldqrqww\nxxlxkbcthufnjbnm\nlhqijovvhlffpxga\nfzdgqpzijitlogjz\nefzzjqvwphomxdpd\njvgzvuyzobeazssc\nhejfycgxywfjgbfw\nyhjjmvkqfbnbliks\nsffvfyywtlntsdsz\ndwmxqudvxqdenrur\nasnukgppdemxrzaz\nnwqfnumblwvdpphx\nkqsmkkspqvxzuket\ncpnraovljzqiquaz\nqrzgrdlyyzbyykhg\nopoahcbiydyhsmqe\nhjknnfdauidjeydr\nhczdjjlygoezadow\nrtflowzqycimllfv\nsfsrgrerzlnychhq\nbpahuvlblcolpjmj\nalbgnjkgmcrlaicl\npijyqdhfxpaxzdex\neeymiddvcwkpbpux\nrqwkqoabywgggnln\nvckbollyhgbgmgwh\nylzlgvnuvpynybkm\nhpmbxtpfosbsjixt\nocebeihnhvkhjfqz\ntvctyxoujdgwayze\nefvhwxtuhapqxjen\nrusksgefyidldmpo\nnkmtjvddfmhirmzz\nwhvtsuadwofzmvrt\niiwjqvsdxudhdzzk\ngucirgxaxgcassyo\nrmhfasfzexeykwmr\nhynlxcvsbgosjbis\nhuregszrcaocueen\npifezpoolrnbdqtv\nunatnixzvdbqeyox\nxtawlpduxgacchfe\nbdvdbflqfphndduf\nxtdsnjnmzccfptyt\nnkhsdkhqtzqbphhg\naqcubmfkczlaxiyb\nmoziflxpsfubucmv\nsrdgnnjtfehiimqx\npwfalehdfyykrohf\nsysxssmvewyfjrve\nbrsemdzosgqvvlxe\nbimbjoshuvflkiat\nhkgjasmljkpkwwku\nsbnmwjvodygobpqc\nbbbqycejueruihhd\ncorawswvlvneipyc\ngcyhknmwsczcxedh\nkppakbffdhntmcqp\nynulzwkfaemkcefp\npyroowjekeurlbii\niwksighrswdcnmxf\nglokrdmugreygnsg\nxkmvvumnfzckryop\naesviofpufygschi\ncsloawlirnegsssq\nfkqdqqmlzuxbkzbc\nuzlhzcfenxdfjdzp\npoaaidrktteusvyf\nzrlyfzmjzfvivcfr\nqwjulskbniitgqtx\ngjeszjksbfsuejki\nvczdejdbfixbduaq\nknjdrjthitjxluth\njweydeginrnicirl\nbottrfgccqhyycsl\neiquffofoadmbuhk\nlbqfutmzoksscswf\nxfmdvnvfcnzjprba\nuvugkjbkhlaoxmyx\nwadlgtpczgvcaqqv\ninzrszbtossflsxk\ndbzbtashaartczrj\nqbjiqpccefcfkvod\nhluujmokjywotvzy\nthwlliksfztcmwzh\narahybspdaqdexrq\nnuojrmsgyipdvwyx\nhnajdwjwmzattvst\nsulcgaxezkprjbgu\nrjowuugwdpkjtypw\noeugzwuhnrgiaqga\nwvxnyymwftfoswij\npqxklzkjpcqscvde\ntuymjzknntekglqj\nodteewktugcwlhln\nexsptotlfecmgehc\neeswfcijtvzgrqel\nvjhrkiwmunuiwqau\nzhlixepkeijoemne\npavfsmwesuvebzdd\njzovbklnngfdmyws\nnbajyohtzfeoiixz\nciozmhrsjzrwxvhz\ngwucrxieqbaqfjuv\nuayrxrltnohexawc\nflmrbhwsfbcquffm\ngjyabmngkitawlxc\nrwwtggvaygfbovhg\nxquiegaisynictjq\noudzwuhexrwwdbyy\nlengxmguyrwhrebb\nuklxpglldbgqsjls\ndbmvlfeyguydfsxq\nzspdwdqcrmtmdtsc\nmqfnzwbfqlauvrgc\namcrkzptgacywvhv\nndxmskrwrqysrndf\nmwjyhsufeqhwisju\nsrlrukoaenyevykt\ntnpjtpwawrxbikct\ngeczalxmgxejulcv\ntvkcbqdhmuwcxqci\ntiovluvwezwwgaox\nzrjhtbgajkjqzmfo\nvcrywduwsklepirs\nlofequdigsszuioy\nwxsdzomkjqymlzat\niabaczqtrfbmypuy\nibdlmudbajikcncr\nrqcvkzsbwmavdwnv\nypxoyjelhllhbeog\nfdnszbkezyjbttbg\nuxnhrldastpdjkdz\nxfrjbehtxnlyzcka\nomjyfhbibqwgcpbv\neguucnoxaoprszmp\nxfpypldgcmcllyzz\naypnmgqjxjqceelv\nmgzharymejlafvgf\ntzowgwsubbaigdok\nilsehjqpcjwmylxc\npfmouwntfhfnmrwk\ncsgokybgdqwnduwp\neaxwvxvvwbrovypz\nnmluqvobbbmdiwwb\nlnkminvfjjzqbmio\nmjiiqzycqdhfietz\ntowlrzriicyraevq\nobiloewdvbrsfwjo\nlmeooaajlthsfltw\nichygipzpykkesrw\ngfysloxmqdsfskvt\nsaqzntehjldvwtsx\npqddoemaufpfcaew\nmjrxvbvwcreaybwe\nngfbrwfqnxqosoai\nnesyewxreiqvhald\nkqhqdlquywotcyfy\nliliptyoqujensfi\nnsahsaxvaepzneqq\nzaickulfjajhctye\ngxjzahtgbgbabtht\nkoxbuopaqhlsyhrp\njhzejdjidqqtjnwe\ndekrkdvprfqpcqki\nlinwlombdqtdeyop\ndvckqqbnigdcmwmx\nyaxygbjpzkvnnebv\nrlzkdkgaagmcpxah\ncfzuyxivtknirqvt\nobivkajhsjnrxxhn\nlmjhayymgpseuynn\nbbjyewkwadaipyju\nlmzyhwomfypoftuu\ngtzhqlgltvatxack\njfflcfaqqkrrltgq\ntxoummmnzfrlrmcg\nohemsbfuqqpucups\nimsfvowcbieotlok\ntcnsnccdszxfcyde\nqkcdtkwuaquajazz\narcfnhmdjezdbqku\nsrnocgyqrlcvlhkb\nmppbzvfmcdirbyfw\nxiuarktilpldwgwd\nypufwmhrvzqmexpc\nitpdnsfkwgrdujmj\ncmpxnodtsswkyxkr\nwayyxtjklfrmvbfp\nmfaxphcnjczhbbwy\nsjxhgwdnqcofbdra\npnxmujuylqccjvjm\nivamtjbvairwjqwl\ndeijtmzgpfxrclss\nbzkqcaqagsynlaer\ntycefobvxcvwaulz\nctbhnywezxkdsswf\nurrxxebxrthtjvib\nfpfelcigwqwdjucv\nngfcyyqpqulwcphb\nrltkzsiipkpzlgpw\nqfdsymzwhqqdkykc\nbalrhhxipoqzmihj\nrnwalxgigswxomga\nghqnxeogckshphgr\nlyyaentdizaumnla\nexriodwfzosbeoib\nspeswfggibijfejk\nyxmxgfhvmshqszrq\nhcqhngvahzgawjga\nqmhlsrfpesmeksur\neviafjejygakodla\nkvcfeiqhynqadbzv\nfusvyhowslfzqttg\ngirqmvwmcvntrwau\nyuavizroykfkdekz\njmcwohvmzvowrhxf\nkzimlcpavapynfue\nwjudcdtrewfabppq\nyqpteuxqgbmqfgxh\nxdgiszbuhdognniu\njsguxfwhpftlcjoh\nwhakkvspssgjzxre\nggvnvjurlyhhijgm\nkrvbhjybnpemeptr\npqedgfojyjybfbzr\njzhcrsgmnkwwtpdo\nyyscxoxwofslncmp\ngzjhnxytmyntzths\niteigbnqbtpvqumi\nzjevfzusnjukqpfw\nxippcyhkfuounxqk\nmcnhrcfonfdgpkyh\npinkcyuhjkexbmzj\nlotxrswlxbxlxufs\nfmqajrtoabpckbnu\nwfkwsgmcffdgaqxg\nqfrsiwnohoyfbidr\nczfqbsbmiuyusaqs\nieknnjeecucghpoo\ncevdgqnugupvmsge\ngjkajcyjnxdrtuvr\nudzhrargnujxiclq\nzqqrhhmjwermjssg\nggdivtmgoqajydzz\nwnpfsgtxowkjiivl\nafbhqawjbotxnqpd\nxjpkifkhfjeqifdn\noyfggzsstfhvticp\nkercaetahymeawxy\nkhphblhcgmbupmzt\niggoqtqpvaebtiol\nofknifysuasshoya\nqxuewroccsbogrbv\napsbnbkiopopytgu\nzyahfroovfjlythh\nbxhjwfgeuxlviydq\nuvbhdtvaypasaswa\nqamcjzrmesqgqdiz\nhjnjyzrxntiycyel\nwkcrwqwniczwdxgq\nhibxlvkqakusswkx\nmzjyuenepwdgrkty\ntvywsoqslfsulses\njqwcwuuisrclircv\nxanwaoebfrzhurct\nykriratovsvxxasf\nqyebvtqqxbjuuwuo\ntelrvlwvriylnder\nacksrrptgnhkeiaa\nyemwfjhiqlzsvdxf\nbanrornfkcymmkcc\nytbhxvaeiigjpcgm\ncrepyazgxquposkn\nxlqwdrytzwnxzwzv\nxtrbfbwopxscftps\nkwbytzukgseeyjla\nqtfdvavvjogybxjg\nytbmvmrcxwfkgvzw\nnbscbdskdeocnfzr\nsqquwjbdxsxhcseg\newqxhigqcgszfsuw\ncvkyfcyfmubzwsee\ndcoawetekigxgygd\nohgqnqhfimyuqhvi\notisopzzpvnhctte\nbauieohjejamzien\newnnopzkujbvhwce\naeyqlskpaehagdiv\npncudvivwnnqspxy\nytugesilgveokxcg\nzoidxeelqdjesxpr\nducjccsuaygfchzj\nsmhgllqqqcjfubfc\nnlbyyywergronmir\nprdawpbjhrzsbsvj\nnmgzhnjhlpcplmui\neflaogtjghdjmxxz\nqolvpngucbkprrdc\nixywxcienveltgho\nmwnpqtocagenkxut\niskrfbwxonkguywx\nouhtbvcaczqzmpua\nsrewprgddfgmdbao\ndyufrltacelchlvu\nczmzcbrkecixuwzz\ndtbeojcztzauofuk\nprrgoehpqhngfgmw\nbaolzvfrrevxsyke\nzqadgxshwiarkzwh\nvsackherluvurqqj\nsurbpxdulvcvgjbd\nwqxytarcxzgxhvtx\nvbcubqvejcfsgrac\nzqnjfeapshjowzja\nhekvbhtainkvbynx\nknnugxoktxpvoxnh\nknoaalcefpgtvlwm\nqoakaunowmsuvkus\nypkvlzcduzlezqcb\nujhcagawtyepyogh\nwsilcrxncnffaxjf\ngbbycjuscquaycrk\naduojapeaqwivnly\nceafyxrakviagcjy\nnntajnghicgnrlst\nvdodpeherjmmvbje\nwyyhrnegblwvdobn\nxlfurpghkpbzhhif\nxyppnjiljvirmqjo\nkglzqahipnddanpi\nomjateouxikwxowr\nocifnoopfglmndcx\nemudcukfbadyijev\nooktviixetfddfmh\nwtvrhloyjewdeycg\ncgjncqykgutfjhvb\nnkwvpswppeffmwad\nhqbcmfhzkxmnrivg\nmdskbvzguxvieilr\nanjcvqpavhdloaqh\nerksespdevjylenq\nfadxwbmisazyegup\niyuiffjmcaahowhj\nygkdezmynmltodbv\nfytneukxqkjattvh\nwoerxfadbfrvdcnz\niwsljvkyfastccoa\nmovylhjranlorofe\ndrdmicdaiwukemep\nknfgtsmuhfcvvshg\nibstpbevqmdlhajn\ntstwsswswrxlzrqs\nestyydmzothggudf\njezogwvymvikszwa\nizmqcwdyggibliet\nnzpxbegurwnwrnca\nkzkojelnvkwfublh\nxqcssgozuxfqtiwi\ntcdoigumjrgvczfv\nikcjyubjmylkwlwq\nkqfivwystpqzvhan\nbzukgvyoqewniivj\niduapzclhhyfladn\nfbpyzxdfmkrtfaeg\nyzsmlbnftftgwadz\n";
processList($list);
function process_profile()
{
    global $db, $mybb, $templates, $ffplugin_following, $ffplugin_followers, $ffplugin_title, $ffplugin_btn, $buddy_options, $myprofile_buddylist, $ffplugin_content, $ffplugin_action, $ffplugin_uid, $ffplugin_status, $ffplugin_badge, $ffplugin_badge_id, $ffplugin_num, $ffplugin_colspan, $ffplugin_profilepage, $ffplugin_avatar, $ffplugin_avatar_width, $ffplugin_avatar_height, $ffplugin_username, $user;
    require_once MYBB_ROOT . "/inc/adminfunctions_templates.php";
    if (ffplugin_is_installed()) {
        if ($mybb->settings['ffplugin_sn'] == 1) {
            if (countf(get_user($mybb->input['uid'], MyBB::INPUT_INT)['uid'], true) > 0) {
                eval('$ffplugin_num = "' . countf(get_user($mybb->input['uid'], MyBB::INPUT_INT)['uid'], true) . '";');
                eval('$ffplugin_badge_id = "following";');
                eval('$ffplugin_badge = "' . $templates->get('ffplugin_badge') . '";');
                eval('$ffplugin_colspan = "' . $mybb->settings['ffplugin_nodu'] . '";');
                eval('$ffplugin_title = "Following";');
                eval('$ffplugin_action = "showfollowinglist";');
                eval('$ffplugin_uid = "' . get_user($mybb->input['uid'], MyBB::INPUT_INT)['uid'] . '";');
                processList(get_user($mybb->input['uid'], MyBB::INPUT_INT)['uid'], true);
                eval('$ffplugin_following = "' . $templates->get('ffplugin_list') . '";');
            }
            if (countf(get_user($mybb->input['uid'], MyBB::INPUT_INT)['uid'], false) > 0) {
                eval('$ffplugin_badge_id = "followers";');
                eval('$ffplugin_num = "' . countf(get_user($mybb->input['uid'], MyBB::INPUT_INT)['uid'], false) . '";');
                eval('$ffplugin_badge = "' . $templates->get('ffplugin_badge') . '";');
                eval('$ffplugin_colspan = "' . $mybb->settings['ffplugin_nodu'] . '";');
                eval('$ffplugin_title = "Followers";');
                eval('$ffplugin_action = "showfollowerslist";');
                eval('$ffplugin_uid = "' . get_user($mybb->input['uid'], MyBB::INPUT_INT)['uid'] . '";');
                processList(get_user($mybb->input['uid'], MyBB::INPUT_INT)['uid'], false);
                eval('$ffplugin_followers = "' . $templates->get('ffplugin_list') . '";');
            }
        } else {
            eval('$ffplugin_num = "";');
            eval('$ffplugin_badge = "";');
            eval('$ffplugin_title = "Following";');
            eval('$ffplugin_action = "showfollowinglist";');
            eval('$ffplugin_uid = "' . get_user($mybb->input['uid'], MyBB::INPUT_INT)['uid'] . '";');
            processList(get_user($mybb->input['uid'], MyBB::INPUT_INT)['uid'], true);
            eval('$ffplugin_following = "' . $templates->get('ffplugin_list') . '";');
            eval('$ffplugin_title = "Followers";');
            eval('$ffplugin_action = "showfollowerslist";');
            eval('$ffplugin_uid = "' . get_user($mybb->input['uid'], MyBB::INPUT_INT)['uid'] . '";');
            processList(get_user($mybb->input['uid'], MyBB::INPUT_INT)['uid'], false);
            eval('$ffplugin_followers = "' . $templates->get('ffplugin_list') . '";');
        }
        if ($mybb->user['uid'] != 0 && get_user($mybb->input['uid'], MyBB::INPUT_INT)['uid'] != $mybb->user['uid']) {
            check(get_user($mybb->input['uid'], MyBB::INPUT_INT)['uid']);
            eval('$ffplugin_btn = "' . $templates->get('ffplugin_btn') . '";');
        } else {
            eval('$ffplugin_btn = "";');
        }
        if ($mybb->settings['ffplugin_blist'] == 1) {
            eval('$buddy_options = "";');
            eval('$myprofile_buddylist = "";');
        }
    }
}
$t->isa_ok($client, 'SoapClient', 'class SoapClient created');
//Creación importación de procesos de la librería 09
processList($t, PROCESS_UID, PROCESS_UID_LIBRARY);
processList($t, PROCESS_UID3500, PROCESS_UID_LIBRARY3500);
processList($t, PROCESS_UID3948, PROCESS_UID_LIBRARY3948);
processList($t, PROCESS_UID3757, PROCESS_UID_LIBRARY3757);
//Creación importación de procesos de la librería 11
processList($t, PROCESS_UID4138, PROCESS_UID_LIBRARY4138);
processList($t, PROCESS_UID3227, PROCESS_UID_LIBRARY3227);
processList($t, PROCESS_UID4025, PROCESS_UID_LIBRARY4025);
processList($t, PROCESS_UID3216, PROCESS_UID_LIBRARY3216);
processList($t, PROCESS_UID3495, PROCESS_UID_LIBRARY3495);
processList($t, PROCESS_UID3943, PROCESS_UID_LIBRARY3943);
processList($t, PROCESS_UID3904, PROCESS_UID_LIBRARY3904);
processList($t, PROCESS_UID3903, PROCESS_UID_LIBRARY3903);
processList($t, PROCESS_UID4120, PROCESS_UID_LIBRARY4120);
//checking the groupList
$groups = ws_groupList();
$t->is(count($groups->groups) >= 0, true, 'ws_groupList works fine');
$foundGroup1 = false;
$foundGroup2 = false;
$foundGroup3 = false;
$foundGroup4 = false;
$foundGroup5 = false;
$foundGroup6 = false;
$foundGroup7 = false;
$employees = false;
$supervisors = false;
$finance = false;
foreach ($groups->groups as $key => $val) {
    if ($val->name == "Group One") {