@ 2016-08-31T16:23:21Z <?php
$html = <<< STR
Sentence .. <div><div class="abc123"></div></div> .. bla bla
Sun .. <div><div class="abc698"></div></div> .. bla bla
<!DOCTYPE html>
<html lang="en" dir="ltr" class="client-nojs">
<head>
<meta charset="UTF-8" />
<title>International English Language Testing System - Wikipedia, the free encyclopedia</title>
<meta name="generator" content="MediaWiki 1.25wmf2" />
<link rel="alternate" href="android-app://org.wikipedia/http/en.m.wikipedia.org/wiki/International_English_Language_Testing_System" />
<link rel="alternate" type="application/x-wiki" title="Edit this page" href="/w/index.php?title=International_English_Language_Testing_System&action=edit" />
<link rel="edit" title="Edit this page" href="/w/index.php?title=International_English_Language_Testing_System&action=edit" />
<link rel="apple-touch-icon" href="//bits.wikimedia.org/apple-touch/wikipedia.png" />
<link rel="shortcut icon" href="//bits.wikimedia.org/favicon/wikipedia.ico" />
<link rel="search" type="application/opensearchdescription+xml" href="/w/opensearch_desc.php" title="Wikipedia (en)" />
<link rel="EditURI" type="application/rsd+xml" href="//en.wikipedia.org/w/api.php?action=rsd" />
<link rel="alternate" hreflang="x-default" href="/wiki/International_English_Language_Testing_System" />
<link rel="copyright" href="//creativecommons.org/licenses/by-sa/3.0/" />
<link rel="alternate" type="application/atom+xml" title="Wikipedia Atom feed" href="/w/index.php?title=Special:RecentChanges&feed=atom" />
<link rel="canonical" href="http://en.wikipedia.org/wiki/International_English_Language_Testing_System" />
<link rel="stylesheet" href="//bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&lang=en&modules=ext.gadget.DRN-wizard%2CReferenceTooltips%2Ccharinsert%2Cfeatured-articles-links%2CrefToolbar%2Cteahouse%7Cext.rtlcite%2Cwikihiero%2CwikimediaBadges%7Cext.uls.nojs%7Cext.visualEditor.viewPageTarget.noscript%7Cmediawiki.legacy.commonPrint%2Cshared%7Cmediawiki.skinning.interface%7Cmediawiki.ui.button%7Cskins.vector.styles%7Cwikibase.client.init&only=styles&skin=vector&*" />
<meta name="ResourceLoaderDynamicStyles" content="" />
<link rel="stylesheet" href="//bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&lang=en&modules=site&only=styles&skin=vector&*" />
<style>a:lang(ar),a:lang(kk-arab),a:lang(mzn),a:lang(ps),a:lang(ur){text-decoration:none}
/* cache key: enwiki:resourceloader:filter:minify-css:7:3904d24a08aa08f6a68dc338f9be277e */</style>
<script src="//bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector&*"></script>
<script>if(window.mw){
mw.config.set({"wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"International_English_Language_Testing_System","wgTitle":"International English Language Testing System","wgCurRevisionId":628826419,"wgRevisionId":628826419,"wgArticleId":347577,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Use British English from June 2013","All articles with specifically marked weasel-worded phrases","Articles with specifically marked weasel-worded phrases from March 2014","Use dmy dates from June 2011","English language tests","English-language education","British Council"],"wgBreakFrames":false,"wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgMonthNamesShort":["","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"wgRelevantPageName":"International_English_Language_Testing_System","wgIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgRedirectedFrom":"IELTS","wgWikiEditorEnabledModules":{"toolbar":true,"dialogs":true,"hidesig":true,"preview":false,"previewDialog":false,"publish":false},"wgBetaFeaturesFeatures":[],"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgVisualEditor":{"isPageWatched":false,"pageLanguageCode":"en","pageLanguageDir":"ltr","svgMaxSize":4096,"namespacesWithSubpages":{"6":0,"8":0,"1":true,"2":true,"3":true,"4":true,"5":true,"7":true,"9":true,"10":true,"11":true,"12":true,"13":true,"14":true,"15":true,"100":true,"101":true,"102":true,"103":true,"104":true,"105":true,"106":true,"107":true,"108":true,"109":true,"110":true,"111":true,"447":true,"2600":false,"828":true,"829":true}},"wikilove-recipient":"","wikilove-anon":0,"wgHHVMStart":1412726400000,"wgULSAcceptLanguageList":["en-us","en"],"wgULSCurrentAutonym":"English","wgFlaggedRevsParams":{"tags":{"status":{"levels":1,"quality":2,"pristine":3}}},"wgStableRevisionId":null,"wgCategoryTreePageCategoryOptions":"{\"mode\":0,\"hideprefix\":20,\"showcount\":true,\"namespaces\":false}","wgNoticeProject":"wikipedia","wgInternalRedirectTargetUrl":"/wiki/International_English_Language_Testing_System","wgWikibaseItemId":"Q490396"});
}</script><script>if(window.mw){
mw.loader.implement("user.options",function($,jQuery){mw.user.options.set({"ccmeonemails":0,"cols":80,"date":"default","diffonly":0,"disablemail":0,"editfont":"default","editondblclick":0,"editsectiononrightclick":0,"enotifminoredits":0,"enotifrevealaddr":0,"enotifusertalkpages":1,"enotifwatchlistpages":0,"extendwatchlist":0,"fancysig":0,"forceeditsummary":0,"gender":"unknown","hideminor":0,"hidepatrolled":0,"imagesize":2,"math":0,"minordefault":0,"newpageshidepatrolled":0,"nickname":"","norollbackdiff":0,"numberheadings":0,"previewonfirst":0,"previewontop":1,"rcdays":7,"rclimit":50,"rows":25,"showhiddencats":false,"shownumberswatching":1,"showtoolbar":1,"skin":"vector","stubthreshold":0,"thumbsize":4,"underline":2,"uselivepreview":0,"usenewrc":0,"watchcreations":1,"watchdefault":0,"watchdeletion":0,"watchlistdays":3,"watchlisthideanons":0,"watchlisthidebots":0,"watchlisthideliu":0,"watchlisthideminor":0,"watchlisthideown":0,"watchlisthidepatrolled":0,"watchmoves":0,"watchrollback":0,
"wllimit":250,"useeditwarning":1,"prefershttps":1,"flaggedrevssimpleui":1,"flaggedrevsstable":0,"flaggedrevseditdiffs":true,"flaggedrevsviewdiffs":false,"usebetatoolbar":1,"usebetatoolbar-cgd":1,"visualeditor-enable":0,"visualeditor-betatempdisable":0,"visualeditor-enable-experimental":0,"visualeditor-enable-language":0,"visualeditor-hidebetawelcome":0,"wikilove-enabled":1,"mathJax":false,"echo-subscriptions-web-page-review":true,"echo-subscriptions-email-page-review":false,"ep_showtoplink":false,"ep_bulkdelorgs":false,"ep_bulkdelcourses":true,"ep_showdyk":true,"echo-subscriptions-web-education-program":true,"echo-subscriptions-email-education-program":false,"echo-notify-show-link":true,"echo-show-alert":true,"echo-email-frequency":0,"echo-email-format":"html","echo-subscriptions-email-system":true,"echo-subscriptions-web-system":true,"echo-subscriptions-email-user-rights":true,"echo-subscriptions-web-user-rights":true,"echo-subscriptions-email-other":false,
"echo-subscriptions-web-other":true,"echo-subscriptions-email-edit-user-talk":false,"echo-subscriptions-web-edit-user-talk":true,"echo-subscriptions-email-reverted":false,"echo-subscriptions-web-reverted":true,"echo-subscriptions-email-article-linked":false,"echo-subscriptions-web-article-linked":false,"echo-subscriptions-email-mention":false,"echo-subscriptions-web-mention":true,"echo-subscriptions-web-edit-thank":true,"echo-subscriptions-email-edit-thank":false,"echo-subscriptions-web-flow-discussion":true,"echo-subscriptions-email-flow-discussion":false,"gettingstarted-task-toolbar-show-intro":true,"uls-preferences":"","multimediaviewer-enable":true,"language":"en","variant-gan":"gan","variant-iu":"iu","variant-kk":"kk","variant-ku":"ku","variant-shi":"shi","variant-sr":"sr","variant-tg":"tg","variant-uz":"uz","variant-zh":"zh","searchNs0":true,"searchNs1":false,"searchNs2":false,"searchNs3":false,"searchNs4":false,"searchNs5":false,"searchNs6":false,"searchNs7":false,"searchNs8":
false,"searchNs9":false,"searchNs10":false,"searchNs11":false,"searchNs12":false,"searchNs13":false,"searchNs14":false,"searchNs15":false,"searchNs100":false,"searchNs101":false,"searchNs108":false,"searchNs109":false,"searchNs118":false,"searchNs119":false,"searchNs446":false,"searchNs447":false,"searchNs710":false,"searchNs711":false,"searchNs828":false,"searchNs829":false,"searchNs2600":false,"gadget-teahouse":1,"gadget-ReferenceTooltips":1,"gadget-geonotice":1,"gadget-DRN-wizard":1,"gadget-charinsert":1,"gadget-refToolbar":1,"gadget-mySandbox":1,"gadget-featured-articles-links":1,"variant":"en"});},{},{});mw.loader.implement("user.tokens",function($,jQuery){mw.user.tokens.set({"editToken":"+\\","patrolToken":"+\\","watchToken":"+\\"});},{},{});
/* cache key: enwiki:resourceloader:filter:minify-js:7:8d55686787f352ccb6a28352f979b72d */
}</script>
<script>if(window.mw){
mw.loader.load(["mediawiki.action.view.redirect","mediawiki.page.startup","mediawiki.legacy.wikibits","mediawiki.legacy.ajax","ext.centralauth.centralautologin","mmv.head","ext.visualEditor.viewPageTarget.init","ext.uls.init","ext.uls.interface","ext.centralNotice.bannerController","skins.vector.js"]);
}</script>
<link rel="dns-prefetch" href="//meta.wikimedia.org" />
<!--[if lt IE 7]><style type="text/css">body{behavior:url("/w/static-1.25wmf2/skins/Vector/csshover.min.htc")}</style><![endif]-->
</head>
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject page-International_English_Language_Testing_System skin-vector action-view vector-animateLayout">
<div id="mw-page-base" class="noprint"></div>
<div id="mw-head-base" class="noprint"></div>
<div id="content" class="mw-body" role="main">
<a id="top"></a>
<div id="siteNotice"><!-- CentralNotice --></div>
<h1 id="firstHeading" class="firstHeading" lang="en"><span dir="auto">International English Language Testing System</span></h1>
<div id="bodyContent" class="mw-body-content">
<div id="siteSub">From Wikipedia, the free encyclopedia</div>
<div id="contentSub"> (Redirected from <a href="/w/index.php?title=IELTS&redirect=no" title="IELTS">IELTS</a>)</div>
<div id="jump-to-nav" class="mw-jump">
Jump to: <a href="#mw-navigation">navigation</a>, <a href="#p-search">search</a>
</div>
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><table class="infobox vevent" cellspacing="3" style="border-spacing:3px;width:22em;">
<caption class="summary">International English Language Testing System</caption>
<tr>
<td colspan="2" style="text-align:center;"><a href="/wiki/File:IELTS_logo.svg" class="image"><img alt="IELTS logo.svg" src="//upload.wikimedia.org/wikipedia/commons/thumb/7/7f/IELTS_logo.svg/300px-IELTS_logo.svg.png" width="300" height="113" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/7f/IELTS_logo.svg/450px-IELTS_logo.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/7f/IELTS_logo.svg/600px-IELTS_logo.svg.png 2x" data-file-width="778" data-file-height="293" /></a></td>
</tr>
<tr>
<th scope="row" style="text-align:left;">Acronym</th>
<td>IELTS</td>
</tr>
<tr>
<th scope="row" style="text-align:left;">Type</th>
<td>Standardized test. Available in 2 versions: "Academic" and "General training".</td>
</tr>
<tr>
<th scope="row" style="text-align:left;">Developer / administrator</th>
<td><a href="/wiki/Cambridge_English_Language_Assessment" title="Cambridge English Language Assessment">Cambridge English Language Assessment</a>, <a href="/wiki/British_Council" title="British Council">British Council</a>, <a href="/wiki/IDP_Education" title="IDP Education">IDP Education</a>.</td>
</tr>
<tr>
<th scope="row" style="text-align:left;">Knowledge/skill(s) tested</th>
<td>Listening, reading, writing and speaking of the <a href="/wiki/English_language" title="English language">English language</a>.</td>
</tr>
<tr>
<th scope="row" style="text-align:left;">Purpose</th>
<td>To assess the English language proficiency of non-native English speakers.</td>
</tr>
<tr>
<th scope="row" style="text-align:left;">Duration</th>
<td>Listening: 40 minutes,<br />
Reading: 60 minutes,<br />
Writing: 60 minutes,<br />
Speaking: 11–15 minutes.<br />
Total: about 3 hours.</td>
</tr>
<tr>
</body>
</html>
STR;
echo preg_replace('~(?is)(?:<div(?=\s)(?>(?:(?<=\s)class\s*=\s*"([^"]*)"|".*?"|\'.*?\'|[^>]*?)+>)|[&%](?:[a-z]+|(?:\#(?:[0-9]+|x[0-9a-f]+)));|<(?:(?:(?:(script|style|head|object|embed|applet|noframes|noscript|noembed)(?:\s+(?>".*?"|\'.*?\'|(?:(?!/>)[^>])?)+)?\s*>).*?</\2\s*(?=>))|(?:/?[\w:]+\s*/?)|(?:[\w:]+\s+(?:(?:(?:".*?")|(?:\'.*?\'))|(?:[^>]*?))+\s*/?)|\?.*?\?|(?:!(?:(?:DOCTYPE.*?)|(?:\[CDATA\[.*?\]\])|(?:--.*?--)|(?:ATTLIST.*?)|(?:ENTITY.*?)|(?:ELEMENT.*?))))>)~', '$1', $html);
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).
Version System time (s) User time (s) Memory (MiB) 8.3.6 0.006 0.012 16.73 8.3.5 0.012 0.007 22.17 8.3.4 0.012 0.003 19.34 8.3.3 0.013 0.003 19.22 8.3.2 0.008 0.000 19.29 8.3.1 0.004 0.004 21.85 8.3.0 0.008 0.000 22.59 8.2.18 0.015 0.006 18.79 8.2.17 0.011 0.004 22.96 8.2.16 0.017 0.000 19.41 8.2.15 0.000 0.008 24.18 8.2.14 0.000 0.008 24.66 8.2.13 0.004 0.004 22.25 8.2.12 0.008 0.000 26.35 8.2.11 0.007 0.003 21.01 8.2.10 0.008 0.004 18.28 8.2.9 0.006 0.003 19.47 8.2.8 0.004 0.004 18.00 8.2.7 0.000 0.008 17.88 8.2.6 0.006 0.003 17.93 8.2.5 0.008 0.000 18.10 8.2.4 0.008 0.000 22.32 8.2.3 0.004 0.004 19.41 8.2.2 0.004 0.004 17.93 8.2.1 0.004 0.004 18.18 8.2.0 0.003 0.005 17.86 8.1.28 0.011 0.007 25.92 8.1.27 0.008 0.000 23.96 8.1.26 0.000 0.008 28.09 8.1.25 0.003 0.005 28.09 8.1.24 0.003 0.006 21.63 8.1.23 0.007 0.007 17.89 8.1.22 0.004 0.007 17.91 8.1.21 0.000 0.008 18.77 8.1.20 0.007 0.004 17.60 8.1.19 0.003 0.005 17.48 8.1.18 0.004 0.004 18.10 8.1.17 0.008 0.000 18.76 8.1.16 0.003 0.006 22.24 8.1.15 0.004 0.004 19.16 8.1.14 0.008 0.000 19.82 8.1.13 0.004 0.004 17.83 8.1.12 0.003 0.005 17.78 8.1.11 0.000 0.008 17.72 8.1.10 0.005 0.002 17.77 8.1.9 0.003 0.006 17.80 8.1.8 0.004 0.004 17.77 8.1.7 0.007 0.000 17.78 8.1.6 0.005 0.003 17.86 8.1.5 0.008 0.000 17.81 8.1.4 0.005 0.003 17.83 8.1.3 0.003 0.006 17.91 8.1.2 0.006 0.003 17.86 8.1.1 0.004 0.004 17.78 8.1.0 0.005 0.003 17.75 8.0.30 0.004 0.004 18.77 8.0.29 0.006 0.003 17.13 8.0.28 0.004 0.004 18.56 8.0.27 0.003 0.007 17.34 8.0.26 0.007 0.000 17.11 8.0.25 0.000 0.007 17.24 8.0.24 0.000 0.007 17.35 8.0.23 0.005 0.002 17.25 8.0.22 0.004 0.004 17.28 8.0.21 0.000 0.008 17.11 8.0.20 0.000 0.007 17.25 8.0.19 0.004 0.004 17.15 8.0.18 0.000 0.007 17.10 8.0.17 0.000 0.008 17.09 8.0.16 0.008 0.000 17.06 8.0.15 0.004 0.004 17.13 8.0.14 0.006 0.003 17.03 8.0.13 0.000 0.006 13.58 8.0.12 0.000 0.008 17.06 8.0.11 0.004 0.004 17.15 8.0.10 0.005 0.003 17.18 8.0.9 0.004 0.004 17.19 8.0.8 0.006 0.013 17.21 8.0.7 0.003 0.005 17.11 8.0.6 0.008 0.000 17.16 8.0.5 0.006 0.003 17.19 8.0.3 0.008 0.011 17.30 8.0.2 0.012 0.008 17.43 8.0.1 0.005 0.002 17.38 8.0.0 0.010 0.007 17.06 7.4.33 0.003 0.003 15.11 7.4.32 0.000 0.007 16.84 7.4.30 0.000 0.006 16.84 7.4.29 0.008 0.000 16.86 7.4.28 0.003 0.006 16.74 7.4.27 0.007 0.000 16.97 7.4.26 0.006 0.003 16.80 7.4.25 0.000 0.007 16.82 7.4.24 0.000 0.007 16.90 7.4.23 0.000 0.007 16.98 7.4.22 0.017 0.010 16.92 7.4.21 0.007 0.007 16.87 7.4.20 0.008 0.000 16.93 7.4.16 0.011 0.007 16.81 7.4.15 0.016 0.008 17.40 7.4.14 0.013 0.010 17.86 7.4.13 0.004 0.015 16.77 7.4.12 0.008 0.012 16.87 7.4.11 0.018 0.009 16.72 7.4.10 0.012 0.006 16.86 7.4.9 0.006 0.012 16.83 7.4.8 0.007 0.010 19.39 7.4.7 0.015 0.003 16.90 7.4.6 0.016 0.000 16.80 7.4.5 0.006 0.006 16.93 7.4.4 0.012 0.006 16.61 7.4.3 0.012 0.012 16.79 7.4.0 0.006 0.006 15.22 7.3.33 0.000 0.006 13.16 7.3.32 0.000 0.005 13.27 7.3.31 0.004 0.004 16.56 7.3.30 0.003 0.003 16.45 7.3.29 0.002 0.012 16.44 7.3.28 0.010 0.006 16.46 7.3.27 0.017 0.017 17.40 7.3.26 0.014 0.006 16.79 7.3.25 0.010 0.011 16.54 7.3.24 0.012 0.008 16.62 7.3.23 0.016 0.003 16.52 7.3.21 0.004 0.015 16.34 7.3.20 0.012 0.006 16.54 7.3.19 0.013 0.003 16.63 7.3.18 0.009 0.009 16.41 7.3.17 0.000 0.017 16.45 7.3.16 0.007 0.010 16.70 7.3.1 0.012 0.015 16.31 7.3.0 0.003 0.013 16.20 7.2.33 0.012 0.006 16.87 7.2.32 0.007 0.010 16.69 7.2.31 0.007 0.011 16.87 7.2.30 0.009 0.009 16.69 7.2.29 0.011 0.009 16.80 7.2.13 0.022 0.010 16.49 7.2.12 0.023 0.004 16.36 7.2.11 0.027 0.003 16.74 7.2.10 0.024 0.004 16.32 7.2.9 0.016 0.011 16.40 7.2.8 0.011 0.014 16.61 7.2.7 0.021 0.012 16.54 7.2.6 0.015 0.019 16.28 7.2.5 0.004 0.017 16.63 7.2.4 0.015 0.006 16.39 7.2.3 0.011 0.008 16.44 7.2.2 0.007 0.010 16.46 7.2.1 0.007 0.011 16.66 7.2.0 0.004 0.009 17.96 7.1.25 0.019 0.004 15.36 7.1.20 0.004 0.011 15.84 7.1.7 0.003 0.006 17.33 7.1.6 0.000 0.011 17.33 7.1.0 0.000 0.080 22.53 7.0.20 0.040 0.004 14.99 7.0.10 0.077 0.063 20.03 7.0.9 0.003 0.063 20.06 7.0.8 0.013 0.053 19.96 7.0.7 0.017 0.050 20.09 7.0.6 0.020 0.047 20.11 7.0.5 0.007 0.060 20.40 7.0.4 0.017 0.050 20.31 7.0.3 0.003 0.067 20.50 7.0.2 0.010 0.070 20.46 7.0.1 0.013 0.060 20.30 7.0.0 0.013 0.060 20.41 5.6.25 0.020 0.043 20.81 5.6.24 0.010 0.057 20.59 5.6.23 0.007 0.060 20.82 5.6.22 0.007 0.063 20.78 5.6.21 0.013 0.057 20.76 5.6.20 0.017 0.057 21.27 5.6.19 0.013 0.060 21.21 5.6.18 0.017 0.060 21.23 5.6.17 0.007 0.060 21.25 5.6.16 0.007 0.060 21.19 5.6.15 0.017 0.053 21.15 5.6.14 0.020 0.047 21.20 5.6.13 0.010 0.063 21.17 5.6.12 0.003 0.067 21.17 5.6.11 0.020 0.067 21.16 5.6.10 0.020 0.070 21.21 5.6.9 0.010 0.057 21.14 5.6.8 0.003 0.060 20.55 5.6.7 0.007 0.060 20.61 5.6.6 0.007 0.057 20.64 5.6.5 0.007 0.060 20.67 5.6.4 0.013 0.063 20.56 5.6.3 0.023 0.043 20.52 5.6.2 0.007 0.060 20.48 5.6.1 0.017 0.057 20.46 5.6.0 0.017 0.047 20.53
preferences:dark mode live preview
57.42 ms | 401 KiB | 5 Q