3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = '\n\n\nThe Free Encyclopedia\n\n\n\n\n\n\n\n\n\n\n\n\nEnglish\n5&nbsp;209&nbsp;000+ articles\n\n\n\n\n\nРусский\n1&nbsp;332&nbsp;000+ статей\n\n\n\n\n\n日本語\n1&nbsp;025&nbsp;000+ 記事\n\n\n\n\n\nEspañol\n1&nbsp;273&nbsp;000+ artículos\n\n\n\n\n\nDeutsch\n1&nbsp;965&nbsp;000+ Artikel\n\n\n\n\n\nFrançais\n1&nbsp;779&nbsp;000+ articles\n\n\n\n\n\nItaliano\n1&nbsp;293&nbsp;000+ voci\n\n\n\n\n\nPortuguês\n930&nbsp;000+ artigos\n\n\n\n\n\n中文\n892&nbsp;000+ 條目\n\n\n\n\n\nPolski\n1&nbsp;178&nbsp;000+ haseł\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nالعربية\nAzərbaycanca\nБългарски\nBân-lâm-gú / Hō-ló-oē\nБеларуская (Акадэмічная)\nCatalà\nČeština\nDansk\nDeutsch\nEesti\nΕλληνικά\nEnglish\nEspañol\nEsperanto\nEuskara\nفارسی\nFrançais\nGalego\n한국어\nՀայերեն\nहिन्दी\nHrvatski\nBahasa Indonesia\nItaliano\nעברית\nქართული\nLatina\nLietuvių\nMagyar\nBahasa Melayu\nBahaso Minangkabau\nNederlands\n日本語\nNorsk (Bokmål)\nNorsk (Nynorsk)\nНохчийн\nOʻzbekcha / Ўзбекча\nPolski\nPortuguês\nҚазақша / Qazaqşa / قازاقشا\nRomână\nРусский\nSimple English\nSinugboanong Binisaya\nSlovenčina\nSlovenščina\nСрпски / Srpski\nSrpskohrvatski / Српскохрватски\nSuomi\nSvenska\nภาษาไทย\nTürkçe\nУкраїнська\nاردو\nTiếng Việt\nVolapük\nWinaray\n中文\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n Read in your language \n\n\n\n\n\n\n\n\n\n1&nbsp;000&nbsp;000+\n\n\n\n\n\nDeutsch\nEnglish\nEspañol\nFrançais\nItaliano\nNederlands\n日本語\nPolski\nРусский\nSinugboanong Binisaya\nSvenska\nTiếng Việt\nWinaray\n\n\n\n\n\n100&nbsp;000+\n\n\n\n\n\nالعربية\nAzərbaycanca\nБългарски\nBân-lâm-gú / Hō-ló-oē\nБеларуская (Акадэмічная)\nCatalà\nČeština\nDansk\nEesti\nΕλληνικά\nEsperanto\nEuskara\nفارسی\nGalego\n한국어\nՀայերեն\nहिन्दी\nHrvatski\nBahasa Indonesia\nעברית\nქართული\nLatina\nLietuvių\nMagyar\nBahasa Melayu\nBahaso Minangkabau\nNorskBokmålNynorsk\nНохчийн\nOʻzbekcha / Ўзбекча\nPortuguês\nҚазақша / Qazaqşa / قازاقشا\nRomână\nSimple English\nSlovenčina\nSlovenščina\nСрпски / Srpski\nSrpskohrvatski / Српскохрватски\nSuomi\nภาษาไทย\nTürkçe\nУкраїнська\nاردو\nVolapük\n中文\n\n\n\n\n\n10&nbsp;000+\n\n\n\n\n\nAfrikaans\nAlemannisch\nአማርኛ\nAragonés\nAsturianu\nবাংলা\nBasa Banyumasan\nБашҡортса\nБеларуская (Тарашкевіца)\nবিষ্ণুপ্রিয়া মণিপুরী\nBoarisch\nBosanski\nBrezhoneg\nЧӑвашла\nCymraeg\nFøroyskt\nFrysk\nGaeilge\nGàidhlig\nગુજરાતી\nHornjoserbsce\nIdo\nInterlingua\nИрон æвзаг\nÍslenska\nBasa Jawa\nಕನ್ನಡ\nKreyòl Ayisyen\nKurdî / كوردی\nکوردیی ناوەندی\nКыргызча\nКырык Мары\nLatviešu\nLëtzebuergesch\nLimburgs\nLumbaart\nМакедонски\nMalagasy\nമലയാളം\nमराठी\nمصرى\nمازِرونی\nМонгол\nမြန်မာဘာသာ\nNāhuatlahtōlli\nनेपाल भाषा\nनेपाली\nNnapulitano\nOccitan\nଓଡି଼ଆ\nਪੰਜਾਬੀ (ਗੁਰਮੁਖੀ)\nپنجابی (شاہ مکھی)\nPiemontèis\nPlattdüütsch\nRuna Simi\nСаха Тыла\nScots\nShqip\nSicilianu\nසිංහල\nBasa Sunda\nKiswahili\nTagalog\nதமிழ்\nТатарча / Tatarça\nతెలుగు\nТоҷикӣ\nᨅᨔ ᨕᨙᨁᨗ / Basa Ugi\nVèneto\nWalon\nייִדיש\nYorùbá\n粵語\nŽemaitėška\n\n\n\n\n\n1&nbsp;000+\n\n\n\n\n\nBahsa Acèh\nАдыгэбзэ\nÆnglisc\nArmãneashce\nArpitan\nܐܬܘܪܝܐ\nAvañe’ẽ\nАвар\nAymar\nBahasa Banjar\nभोजपुरी\nBikol Central\nབོད་ཡིག\nБуряад\nChavacano de Zamboanga\nCorsu\nCuengh\nDeitsch\nދިވެހިބަސް\nDiné Bizaad\nDolnoserbski\nEmigliàn–Rumagnòl\nЭрзянь\nEstremeñu\nFiji Hindi\nFurlan\nGaelg\nGagauz\nGĩkũyũ\nگیلکی\n贛語\nHak-kâ-fa / 客家話\nХальмг\nHausa / هَوُسَا\nʻŌlelo Hawaiʻi\nIgbo\nIlokano\nInterlingue\nKalaallisut\nKapampangan\nKaszëbsczi\nKernewek\nភាសាខ្មែរ\nKinyarwanda\nКоми\nKongo\nकोंकणी / Konknni\nພາສາລາວ\nDzhudezmo / לאדינו\nЛакку\nЛезги\nLíguru\nLingála\nlojban\nلۊری شومالی\nLuganda\nमैथिली\nMalti\n文言\nReo Mā’ohi\nMāori\nმარგალური\nMìng-dĕ̤ng-ngṳ̄\nMirandés\nМокшень\nDorerin Naoero\nNedersaksisch\nNordfriisk\nNouormand / Normaund\nNovial\nОлык Марий\nঅসমীযা়\nपाऴि\nPangasinán\nPapiamentu\nپښتو\nПерем Коми\nPfälzisch\nPicard\nКъарачай–Малкъар\nQaraqalpaqsha\nQırımtatarca\nRipoarisch\nRumantsch\nРусиньскый Язык\nSámegiella\nसंस्कृतम्\nSardu\nSeeltersk\nSesotho sa Leboa\nChiShona\nسنڌي\nŚlůnski\nSoomaaliga\nSranantongo\nTaqbaylit\nTarandíne\nTetun\nTok Pisin\nfaka Tonga\nتۆرکجه\nTürkmençe\nТыва дыл\nУдмурт\nئۇيغۇرچه\nVepsän\nVõro\nWest-Vlams\nWolof\n吳語\nZazaki\nZeêuws\n\n\n\n\n\n100+\n\n\n\n\n\nAkan\nАҧсуа\nBamanankan\nBislama\nChamoru\nChichewa\nEʋegbe\nFulfulde\n𐌲𐌿𐍄𐌹𐍃𐌺\nᐃᓄᒃᑎᑐᑦ / Inuktitut\nIñupiak\nكشميري\nLatgaļu\nМолдовеняскэ\nNa Vosa Vaka-Viti\nNēhiyawēwin / ᓀᐦᐃᔭᐍᐏᐣ\nNorfuk / Pitkern\nAfaan Oromoo\nΠοντιακά\nརྫོང་ཁ\nRomani\nKirundi\nGagana Sāmoa\nSängö\nSesotho\nSetswana\nСловѣ́ньскъ / ⰔⰎⰑⰂⰡⰐⰠⰔⰍⰟ\nSiSwati\nትግርኛ\nᏣᎳᎩ\nTsėhesenėstsestotse\nTshivenḓa\nXitsonga\nchiTumbuka\nTwi\nisiXhosa\nisiZulu\n\n\n\n\n\nOther languages\nWeitere Sprachen\nAutres langues\nKompletna lista języków\n他の言語\nOtros idiomas\n其他語言\nДругие языки\nAliaj lingvoj\n다른 언어\nNgôn ngữ khác\n\n\n\n\n\n\n\n\n\n\n\nWikipedia is hosted by the Wikimedia Foundation, a non-profit organization that also hosts a range of other projects.\n\nTerms of Use \nPrivacy Policy\n\n\n\n\n\n\n\n\n\n\n\nCommons\nFreely usable photos &amp; more\n\n\n \n\n\n\n\n\nWikivoyage\nFree travel guide\n\n\n \n\n\n\n\n\nWiktionary\nFree dictionary\n\n\n \n\n\n\n\n\nWikibooks\nFree textbooks\n\n\n \n\n\n\n\n\nWikinews\nFree news source\n\n\n \n\n\n\n\n\nWikidata\nFree knowledge base\n\n\n \n\n\n\n\n\nWikiversity\nFree course materials\n\n\n \n\n\n\n\n\nWikiquote\nFree quote compendium\n\n\n \n\n\n\n\n\nMediaWiki\nFree &amp; open wiki application\n\n\n \n\n\n\n\n\nWikisource\nFree library\n\n\n \n\n\n\n\n\nWikispecies\nFree species directory\n\n\n \n\n\n\n\n\nMeta-Wiki\nCommunity coordination &amp; documentation\n\n\n\n\n\nThis page is available under the Creative Commons Attribution-ShareAlike License.\n\n\n\n\n\n\n\n\n\n\n\n\n'; print htmlspecialchars($str);
Output for 7.1.0
\n\n\nThe Free Encyclopedia\n\n\n\n\n\n\n\n\n\n\n\n\nEnglish\n5&amp;nbsp;209&amp;nbsp;000+ articles\n\n\n\n\n\nРусский\n1&amp;nbsp;332&amp;nbsp;000+ статей\n\n\n\n\n\n日本語\n1&amp;nbsp;025&amp;nbsp;000+ 記事\n\n\n\n\n\nEspañol\n1&amp;nbsp;273&amp;nbsp;000+ artículos\n\n\n\n\n\nDeutsch\n1&amp;nbsp;965&amp;nbsp;000+ Artikel\n\n\n\n\n\nFrançais\n1&amp;nbsp;779&amp;nbsp;000+ articles\n\n\n\n\n\nItaliano\n1&amp;nbsp;293&amp;nbsp;000+ voci\n\n\n\n\n\nPortuguês\n930&amp;nbsp;000+ artigos\n\n\n\n\n\n中文\n892&amp;nbsp;000+ 條目\n\n\n\n\n\nPolski\n1&amp;nbsp;178&amp;nbsp;000+ haseł\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nالعربية\nAzərbaycanca\nБългарски\nBân-lâm-gú / Hō-ló-oē\nБеларуская (Акадэмічная)\nCatalà\nČeština\nDansk\nDeutsch\nEesti\nΕλληνικά\nEnglish\nEspañol\nEsperanto\nEuskara\nفارسی\nFrançais\nGalego\n한국어\nՀայերեն\nहिन्दी\nHrvatski\nBahasa Indonesia\nItaliano\nעברית\nქართული\nLatina\nLietuvių\nMagyar\nBahasa Melayu\nBahaso Minangkabau\nNederlands\n日本語\nNorsk (Bokmål)\nNorsk (Nynorsk)\nНохчийн\nOʻzbekcha / Ўзбекча\nPolski\nPortuguês\nҚазақша / Qazaqşa / قازاقشا\nRomână\nРусский\nSimple English\nSinugboanong Binisaya\nSlovenčina\nSlovenščina\nСрпски / Srpski\nSrpskohrvatski / Српскохрватски\nSuomi\nSvenska\nภาษาไทย\nTürkçe\nУкраїнська\nاردو\nTiếng Việt\nVolapük\nWinaray\n中文\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n Read in your language \n\n\n\n\n\n\n\n\n\n1&amp;nbsp;000&amp;nbsp;000+\n\n\n\n\n\nDeutsch\nEnglish\nEspañol\nFrançais\nItaliano\nNederlands\n日本語\nPolski\nРусский\nSinugboanong Binisaya\nSvenska\nTiếng Việt\nWinaray\n\n\n\n\n\n100&amp;nbsp;000+\n\n\n\n\n\nالعربية\nAzərbaycanca\nБългарски\nBân-lâm-gú / Hō-ló-oē\nБеларуская (Акадэмічная)\nCatalà\nČeština\nDansk\nEesti\nΕλληνικά\nEsperanto\nEuskara\nفارسی\nGalego\n한국어\nՀայերեն\nहिन्दी\nHrvatski\nBahasa Indonesia\nעברית\nქართული\nLatina\nLietuvių\nMagyar\nBahasa Melayu\nBahaso Minangkabau\nNorskBokmålNynorsk\nНохчийн\nOʻzbekcha / Ўзбекча\nPortuguês\nҚазақша / Qazaqşa / قازاقشا\nRomână\nSimple English\nSlovenčina\nSlovenščina\nСрпски / Srpski\nSrpskohrvatski / Српскохрватски\nSuomi\nภาษาไทย\nTürkçe\nУкраїнська\nاردو\nVolapük\n中文\n\n\n\n\n\n10&amp;nbsp;000+\n\n\n\n\n\nAfrikaans\nAlemannisch\nአማርኛ\nAragonés\nAsturianu\nবাংলা\nBasa Banyumasan\nБашҡортса\nБеларуская (Тарашкевіца)\nবিষ্ণুপ্রিয়া মণিপুরী\nBoarisch\nBosanski\nBrezhoneg\nЧӑвашла\nCymraeg\nFøroyskt\nFrysk\nGaeilge\nGàidhlig\nગુજરાતી\nHornjoserbsce\nIdo\nInterlingua\nИрон æвзаг\nÍslenska\nBasa Jawa\nಕನ್ನಡ\nKreyòl Ayisyen\nKurdî / كوردی\nکوردیی ناوەندی\nКыргызча\nКырык Мары\nLatviešu\nLëtzebuergesch\nLimburgs\nLumbaart\nМакедонски\nMalagasy\nമലയാളം\nमराठी\nمصرى\nمازِرونی\nМонгол\nမြန်မာဘာသာ\nNāhuatlahtōlli\nनेपाल भाषा\nनेपाली\nNnapulitano\nOccitan\nଓଡି଼ଆ\nਪੰਜਾਬੀ (ਗੁਰਮੁਖੀ)\nپنجابی (شاہ مکھی)\nPiemontèis\nPlattdüütsch\nRuna Simi\nСаха Тыла\nScots\nShqip\nSicilianu\nසිංහල\nBasa Sunda\nKiswahili\nTagalog\nதமிழ்\nТатарча / Tatarça\nతెలుగు\nТоҷикӣ\nᨅᨔ ᨕᨙᨁᨗ / Basa Ugi\nVèneto\nWalon\nייִדיש\nYorùbá\n粵語\nŽemaitėška\n\n\n\n\n\n1&amp;nbsp;000+\n\n\n\n\n\nBahsa Acèh\nАдыгэбзэ\nÆnglisc\nArmãneashce\nArpitan\nܐܬܘܪܝܐ\nAvañe’ẽ\nАвар\nAymar\nBahasa Banjar\nभोजपुरी\nBikol Central\nབོད་ཡིག\nБуряад\nChavacano de Zamboanga\nCorsu\nCuengh\nDeitsch\nދިވެހިބަސް\nDiné Bizaad\nDolnoserbski\nEmigliàn–Rumagnòl\nЭрзянь\nEstremeñu\nFiji Hindi\nFurlan\nGaelg\nGagauz\nGĩkũyũ\nگیلکی\n贛語\nHak-kâ-fa / 客家話\nХальмг\nHausa / هَوُسَا\nʻŌlelo Hawaiʻi\nIgbo\nIlokano\nInterlingue\nKalaallisut\nKapampangan\nKaszëbsczi\nKernewek\nភាសាខ្មែរ\nKinyarwanda\nКоми\nKongo\nकोंकणी / Konknni\nພາສາລາວ\nDzhudezmo / לאדינו\nЛакку\nЛезги\nLíguru\nLingála\nlojban\nلۊری شومالی\nLuganda\nमैथिली\nMalti\n文言\nReo Mā’ohi\nMāori\nმარგალური\nMìng-dĕ̤ng-ngṳ̄\nMirandés\nМокшень\nDorerin Naoero\nNedersaksisch\nNordfriisk\nNouormand / Normaund\nNovial\nОлык Марий\nঅসমীযা়\nपाऴि\nPangasinán\nPapiamentu\nپښتو\nПерем Коми\nPfälzisch\nPicard\nКъарачай–Малкъар\nQaraqalpaqsha\nQırımtatarca\nRipoarisch\nRumantsch\nРусиньскый Язык\nSámegiella\nसंस्कृतम्\nSardu\nSeeltersk\nSesotho sa Leboa\nChiShona\nسنڌي\nŚlůnski\nSoomaaliga\nSranantongo\nTaqbaylit\nTarandíne\nTetun\nTok Pisin\nfaka Tonga\nتۆرکجه\nTürkmençe\nТыва дыл\nУдмурт\nئۇيغۇرچه\nVepsän\nVõro\nWest-Vlams\nWolof\n吳語\nZazaki\nZeêuws\n\n\n\n\n\n100+\n\n\n\n\n\nAkan\nАҧсуа\nBamanankan\nBislama\nChamoru\nChichewa\nEʋegbe\nFulfulde\n𐌲𐌿𐍄𐌹𐍃𐌺\nᐃᓄᒃᑎᑐᑦ / Inuktitut\nIñupiak\nكشميري\nLatgaļu\nМолдовеняскэ\nNa Vosa Vaka-Viti\nNēhiyawēwin / ᓀᐦᐃᔭᐍᐏᐣ\nNorfuk / Pitkern\nAfaan Oromoo\nΠοντιακά\nརྫོང་ཁ\nRomani\nKirundi\nGagana Sāmoa\nSängö\nSesotho\nSetswana\nСловѣ́ньскъ / ⰔⰎⰑⰂⰡⰐⰠⰔⰍⰟ\nSiSwati\nትግርኛ\nᏣᎳᎩ\nTsėhesenėstsestotse\nTshivenḓa\nXitsonga\nchiTumbuka\nTwi\nisiXhosa\nisiZulu\n\n\n\n\n\nOther languages\nWeitere Sprachen\nAutres langues\nKompletna lista języków\n他の言語\nOtros idiomas\n其他語言\nДругие языки\nAliaj lingvoj\n다른 언어\nNgôn ngữ khác\n\n\n\n\n\n\n\n\n\n\n\nWikipedia is hosted by the Wikimedia Foundation, a non-profit organization that also hosts a range of other projects.\n\nTerms of Use \nPrivacy Policy\n\n\n\n\n\n\n\n\n\n\n\nCommons\nFreely usable photos &amp;amp; more\n\n\n \n\n\n\n\n\nWikivoyage\nFree travel guide\n\n\n \n\n\n\n\n\nWiktionary\nFree dictionary\n\n\n \n\n\n\n\n\nWikibooks\nFree textbooks\n\n\n \n\n\n\n\n\nWikinews\nFree news source\n\n\n \n\n\n\n\n\nWikidata\nFree knowledge base\n\n\n \n\n\n\n\n\nWikiversity\nFree course materials\n\n\n \n\n\n\n\n\nWikiquote\nFree quote compendium\n\n\n \n\n\n\n\n\nMediaWiki\nFree &amp;amp; open wiki application\n\n\n \n\n\n\n\n\nWikisource\nFree library\n\n\n \n\n\n\n\n\nWikispecies\nFree species directory\n\n\n \n\n\n\n\n\nMeta-Wiki\nCommunity coordination &amp;amp; documentation\n\n\n\n\n\nThis page is available under the Creative Commons Attribution-ShareAlike License.\n\n\n\n\n\n\n\n\n\n\n\n\n