3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //mb_internal_encoding("UTF-8"); $text = "Lörem ipßüm dölör ßit ämet, cönßectetüer ädipißcing elit. Sed ligülä. Präeßent jüßtö tellüß, grävidä eü, tempüß ä, mättiß nön, örci. Näm qüiß lörem. Näm äliqüet elit ßed elit. Phäßellüß venenätiß jüßtö eget enim. Dönec nißl. Pröin mättiß venenätiß jüßtö. Sed äliqüäm pörtä örci. Cräß elit nißl, cönvälliß qüiß, tincidünt ät, vehicülä äccümßän, ödiö. Sed möleßtie. Etiäm mölliß feügiät elit. Veßtibülüm änte ipßüm primiß in fäücibüß örci lüctüß et ültriceß pößüere cübiliä Cüräe; Mäecenäß nön nüllä."; // mb_strtolower() $timeMB = microtime(true); for($i=0;$i<30000;$i++) $lower = mb_strtolower("$text/no-cache-$i"); $timeMB = microtime(true) - $timeMB; echo "mb: ".sprintf("%.5f",$timeMB)." seconds.<br />";
based on QZYlY
Output for 7.1.0
mb: 1.29194 seconds.<br />
Output for 7.0.14
mb: 1.51333 seconds.<br />
Output for 7.0.6
mb: 1.15928 seconds.<br />
Output for 7.0.5
mb: 1.22568 seconds.<br />
Output for 7.0.4
mb: 1.22050 seconds.<br />
Output for 7.0.3
mb: 1.20935 seconds.<br />
Output for 7.0.2
mb: 1.21581 seconds.<br />
Output for 7.0.1
mb: 1.23603 seconds.<br />
Output for 7.0.0
mb: 1.21760 seconds.<br />
Output for hhvm-3.12.0
mb: 1.26409 seconds.<br />
Output for hhvm-3.10.0
mb: 1.56667 seconds.<br />
Output for 5.6.28
mb: 1.74055 seconds.<br />
Output for 5.6.21
mb: 1.38624 seconds.<br />
Output for 5.6.20
mb: 1.21743 seconds.<br />
Output for 5.6.19
mb: 1.23489 seconds.<br />
Output for 5.6.18
mb: 1.23071 seconds.<br />
Output for 5.6.17
mb: 1.21564 seconds.<br />
Output for 5.6.16
mb: 1.24809 seconds.<br />
Output for 5.6.15
mb: 1.25943 seconds.<br />
Output for 5.6.14
mb: 1.25560 seconds.<br />
Output for 5.6.13
mb: 1.24480 seconds.<br />
Output for 5.6.12
mb: 1.22540 seconds.<br />
Output for 5.6.11
mb: 1.24094 seconds.<br />
Output for 5.6.10
mb: 1.24858 seconds.<br />
Output for 5.6.9
mb: 1.27282 seconds.<br />
Output for 5.6.8
mb: 1.35771 seconds.<br />
Output for 5.5.35
mb: 1.51599 seconds.<br />
Output for 5.5.34
mb: 1.67317 seconds.<br />
Output for 5.5.33
mb: 1.72102 seconds.<br />
Output for 5.5.32
mb: 1.70902 seconds.<br />
Output for 5.5.31
mb: 1.70265 seconds.<br />
Output for 5.5.30
mb: 1.70211 seconds.<br />
Output for 5.5.29
mb: 1.67749 seconds.<br />
Output for 5.5.28
mb: 1.88209 seconds.<br />
Output for 5.5.27
mb: 1.67687 seconds.<br />
Output for 5.5.26
mb: 1.70137 seconds.<br />
Output for 5.5.25
mb: 1.69599 seconds.<br />
Output for 5.5.24
mb: 1.60377 seconds.<br />
Output for 5.4.45
mb: 1.65338 seconds.<br />
Output for 5.4.44
mb: 1.63064 seconds.<br />
Output for 5.4.43
mb: 1.68549 seconds.<br />
Output for 5.4.42
mb: 1.57379 seconds.<br />
Output for 5.4.41
mb: 1.65368 seconds.<br />
Output for 5.4.40
mb: 1.63922 seconds.<br />
Output for 5.4.39
mb: 1.55681 seconds.<br />
Output for 5.4.38
mb: 1.60189 seconds.<br />
Output for 5.4.37
mb: 1.65361 seconds.<br />
Output for 5.4.36
mb: 1.73631 seconds.<br />
Output for 5.4.35
mb: 1.59084 seconds.<br />
Output for 5.4.34
mb: 1.55373 seconds.<br />
Output for 5.4.32
mb: 2.09838 seconds.<br />
Output for 5.4.31
mb: 1.59235 seconds.<br />
Output for 5.4.30
mb: 1.62516 seconds.<br />
Output for 5.4.29
mb: 1.57370 seconds.<br />
Output for 5.4.28
mb: 1.63707 seconds.<br />
Output for 5.4.27
mb: 1.58522 seconds.<br />
Output for 5.4.26
mb: 1.59425 seconds.<br />
Output for 5.4.25
mb: 1.61246 seconds.<br />
Output for 5.4.24
mb: 1.61531 seconds.<br />
Output for 5.4.23
mb: 1.60128 seconds.<br />
Output for 5.4.22
mb: 1.66404 seconds.<br />
Output for 5.4.21
mb: 1.65440 seconds.<br />
Output for 5.4.20
mb: 1.64752 seconds.<br />
Output for 5.4.19
mb: 1.64584 seconds.<br />
Output for 5.4.18
mb: 1.51853 seconds.<br />
Output for 5.4.17
mb: 1.69462 seconds.<br />
Output for 5.4.16
mb: 2.08500 seconds.<br />
Output for 5.4.15
mb: 1.70893 seconds.<br />
Output for 5.4.14
mb: 1.73841 seconds.<br />
Output for 5.4.13
mb: 1.75088 seconds.<br />
Output for 5.4.12
mb: 1.74992 seconds.<br />
Output for 5.4.11
mb: 2.14022 seconds.<br />
Output for 5.4.10
mb: 1.66214 seconds.<br />
Output for 5.4.9
mb: 1.90395 seconds.<br />
Output for 5.4.8
mb: 1.74114 seconds.<br />
Output for 5.4.7
mb: 1.87301 seconds.<br />
Output for 5.4.6
mb: 1.91699 seconds.<br />
Output for 5.4.5
mb: 1.80424 seconds.<br />
Output for 5.4.4
mb: 1.67881 seconds.<br />
Output for 5.4.3
mb: 1.93601 seconds.<br />
Output for 5.4.2
mb: 1.69671 seconds.<br />
Output for 5.4.1
mb: 1.67148 seconds.<br />
Output for 5.4.0
mb: 1.68770 seconds.<br />
Output for 5.3.29
mb: 1.58777 seconds.<br />
Output for 5.3.28
mb: 1.76249 seconds.<br />
Output for 5.3.27
mb: 1.55711 seconds.<br />
Output for 5.3.26
mb: 1.69699 seconds.<br />
Output for 5.3.25
mb: 1.67255 seconds.<br />
Output for 5.3.24
mb: 1.54791 seconds.<br />
Output for 5.3.23
mb: 1.68387 seconds.<br />
Output for 5.3.22
mb: 1.86657 seconds.<br />
Output for 5.3.21
mb: 1.61948 seconds.<br />
Output for 5.3.20
mb: 1.58390 seconds.<br />
Output for 5.3.19
mb: 1.76340 seconds.<br />
Output for 5.3.18
mb: 1.72692 seconds.<br />
Output for 5.3.17
mb: 1.77495 seconds.<br />
Output for 5.3.16
mb: 1.61256 seconds.<br />
Output for 5.3.15
mb: 1.62093 seconds.<br />
Output for 5.3.14
mb: 1.86285 seconds.<br />
Output for 5.3.13
mb: 1.72891 seconds.<br />
Output for 5.3.12
mb: 1.72395 seconds.<br />
Output for 5.3.11
mb: 1.80264 seconds.<br />
Output for 5.3.10
mb: 1.58506 seconds.<br />
Output for 5.3.9
mb: 1.68567 seconds.<br />
Output for 5.3.8
mb: 1.66280 seconds.<br />
Output for 5.3.7
mb: 1.67858 seconds.<br />
Output for 5.3.6
mb: 1.64377 seconds.<br />
Output for 5.3.5
mb: 1.61925 seconds.<br />
Output for 5.3.4
mb: 1.67176 seconds.<br />
Output for 5.3.3
mb: 2.07935 seconds.<br />
Output for 5.3.2
mb: 1.56421 seconds.<br />
Output for 5.3.1
mb: 1.68664 seconds.<br />
Output for 5.3.0
mb: 1.64680 seconds.<br />
Output for 5.2.17
mb: 1.62378 seconds.<br />
Output for 5.2.16
mb: 1.67512 seconds.<br />
Output for 5.2.15
mb: 1.98744 seconds.<br />
Output for 5.2.14
mb: 1.63855 seconds.<br />
Output for 5.2.13
mb: 1.59406 seconds.<br />
Output for 5.2.12
mb: 1.61901 seconds.<br />
Output for 5.2.11
mb: 1.85933 seconds.<br />
Output for 5.2.10
mb: 1.64298 seconds.<br />
Output for 5.2.9
mb: 1.67553 seconds.<br />
Output for 5.2.8
mb: 1.58799 seconds.<br />
Output for 5.2.7
mb: 1.58491 seconds.<br />
Output for 5.2.6
mb: 1.53740 seconds.<br />
Output for 5.2.5
mb: 1.70501 seconds.<br />
Output for 5.2.4
mb: 1.61689 seconds.<br />
Output for 5.2.3
mb: 1.67894 seconds.<br />
Output for 5.2.2
mb: 1.88940 seconds.<br />
Output for 5.2.1
mb: 2.00961 seconds.<br />
Output for 5.2.0
mb: 1.82552 seconds.<br />
Output for 5.1.6
mb: 1.66256 seconds.<br />
Output for 5.1.5
mb: 1.66126 seconds.<br />
Output for 5.1.4
mb: 1.59818 seconds.<br />
Output for 5.1.3
mb: 1.57219 seconds.<br />
Output for 5.1.2
mb: 1.59326 seconds.<br />
Output for 5.1.1
mb: 1.61530 seconds.<br />
Output for 5.1.0
mb: 1.60599 seconds.<br />
Output for 5.0.5
mb: 1.55290 seconds.<br />
Output for 5.0.4
mb: 1.57124 seconds.<br />
Output for 5.0.3
mb: 1.61965 seconds.<br />
Output for 5.0.2
mb: 1.72498 seconds.<br />
Output for 5.0.1
mb: 1.72957 seconds.<br />
Output for 5.0.0
mb: 1.71565 seconds.<br />
Output for 4.4.9
mb: -0.28079 seconds.<br />
Output for 4.4.8
mb: 0.71779 seconds.<br />
Output for 4.4.7
mb: -0.33256 seconds.<br />
Output for 4.4.6
mb: -0.27552 seconds.<br />
Output for 4.4.5
mb: 0.70421 seconds.<br />
Output for 4.4.4
mb: 0.61504 seconds.<br />
Output for 4.4.3
mb: -0.36542 seconds.<br />
Output for 4.4.2
mb: -0.31453 seconds.<br />
Output for 4.4.1
mb: 0.00123 seconds.<br />
Output for 4.4.0
mb: -0.34528 seconds.<br />
Output for 4.3.11
mb: 0.01980 seconds.<br />
Output for 4.3.10
mb: 0.66202 seconds.<br />
Output for 4.3.9
mb: -0.27362 seconds.<br />
Output for 4.3.8
mb: 0.63057 seconds.<br />
Output for 4.3.7
mb: 0.66897 seconds.<br />
Output for 4.3.6
mb: -0.36532 seconds.<br />
Output for 4.3.5
mb: -0.15913 seconds.<br />
Output for 4.3.4
mb: -0.24993 seconds.<br />
Output for 4.3.3
mb: -0.36512 seconds.<br />
Output for 4.3.2
mb: 0.59024 seconds.<br />
Output for 4.3.1
mb: -0.26640 seconds.<br />
Output for 4.3.0
mb: -0.29244 seconds.<br />