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 nn6MS
Output for 7.1.0
mb: 1.10702 seconds.<br />
Output for 7.0.14
mb: 0.79724 seconds.<br />
Output for 7.0.10
mb: 1.07891 seconds.<br />
Output for 7.0.9
mb: 1.06188 seconds.<br />
Output for 7.0.8
mb: 1.13947 seconds.<br />
Output for 7.0.7
mb: 1.21022 seconds.<br />
Output for 7.0.6
mb: 1.18383 seconds.<br />
Output for 7.0.5
mb: 1.19245 seconds.<br />
Output for 7.0.4
mb: 1.14412 seconds.<br />
Output for 7.0.3
mb: 1.19639 seconds.<br />
Output for 7.0.2
mb: 1.19241 seconds.<br />
Output for 7.0.1
mb: 1.18513 seconds.<br />
Output for 7.0.0
mb: 1.07607 seconds.<br />
Output for hhvm-3.12.0
mb: 2.10813 seconds.<br />
Output for hhvm-3.10.0
mb: 2.15449 seconds.<br />
Output for 5.6.28
mb: 1.70871 seconds.<br />
Output for 5.6.25
mb: 1.12088 seconds.<br />
Output for 5.6.24
mb: 1.17475 seconds.<br />
Output for 5.6.23
mb: 1.13318 seconds.<br />
Output for 5.6.22
mb: 1.11291 seconds.<br />
Output for 5.6.21
mb: 1.20516 seconds.<br />
Output for 5.6.20
mb: 1.11141 seconds.<br />
Output for 5.6.19
mb: 1.10778 seconds.<br />
Output for 5.6.18
mb: 1.18868 seconds.<br />
Output for 5.6.17
mb: 1.13630 seconds.<br />
Output for 5.6.16
mb: 1.17261 seconds.<br />
Output for 5.6.15
mb: 1.13184 seconds.<br />
Output for 5.6.14
mb: 1.33963 seconds.<br />
Output for 5.6.13
mb: 1.15030 seconds.<br />
Output for 5.6.12
mb: 1.25436 seconds.<br />
Output for 5.6.11
mb: 1.19192 seconds.<br />
Output for 5.6.10
mb: 1.15182 seconds.<br />
Output for 5.6.9
mb: 1.34551 seconds.<br />
Output for 5.6.8
mb: 1.23472 seconds.<br />
Output for 5.6.7
mb: 1.16580 seconds.<br />
Output for 5.6.6
mb: 1.24226 seconds.<br />
Output for 5.6.5
mb: 1.23283 seconds.<br />
Output for 5.6.4
mb: 1.06849 seconds.<br />
Output for 5.6.3
mb: 1.15122 seconds.<br />
Output for 5.6.2
mb: 1.23053 seconds.<br />
Output for 5.6.1
mb: 1.22641 seconds.<br />
Output for 5.6.0
mb: 1.22108 seconds.<br />
Output for 5.5.38
mb: 1.11315 seconds.<br />
Output for 5.5.37
mb: 1.08117 seconds.<br />
Output for 5.5.36
mb: 1.18340 seconds.<br />
Output for 5.5.35
mb: 1.20870 seconds.<br />
Output for 5.5.34
mb: 1.08078 seconds.<br />
Output for 5.5.33
mb: 1.16062 seconds.<br />
Output for 5.5.32
mb: 1.16734 seconds.<br />
Output for 5.5.31
mb: 1.21096 seconds.<br />
Output for 5.5.30
mb: 1.06222 seconds.<br />
Output for 5.5.29
mb: 1.20280 seconds.<br />
Output for 5.5.28
mb: 1.14635 seconds.<br />
Output for 5.5.27
mb: 1.23406 seconds.<br />
Output for 5.5.26
mb: 1.05754 seconds.<br />
Output for 5.5.25
mb: 1.19640 seconds.<br />
Output for 5.5.24
mb: 1.16427 seconds.<br />
Output for 5.5.23
mb: 1.22642 seconds.<br />
Output for 5.5.22
mb: 1.24007 seconds.<br />
Output for 5.5.21
mb: 1.20045 seconds.<br />
Output for 5.5.20
mb: 1.23351 seconds.<br />
Output for 5.5.19
mb: 1.20138 seconds.<br />
Output for 5.5.18
mb: 1.18457 seconds.<br />
Output for 5.5.16
mb: 1.24203 seconds.<br />
Output for 5.5.15
mb: 1.22747 seconds.<br />
Output for 5.5.14
mb: 1.15804 seconds.<br />
Output for 5.5.13
mb: 1.25947 seconds.<br />
Output for 5.5.12
mb: 1.22292 seconds.<br />
Output for 5.5.11
mb: 1.23592 seconds.<br />
Output for 5.5.10
mb: 1.21603 seconds.<br />
Output for 5.5.9
mb: 1.23261 seconds.<br />
Output for 5.5.8
mb: 1.21374 seconds.<br />
Output for 5.5.7
mb: 1.21101 seconds.<br />
Output for 5.5.6
mb: 1.18080 seconds.<br />
Output for 5.5.5
mb: 1.24199 seconds.<br />
Output for 5.5.4
mb: 1.14401 seconds.<br />
Output for 5.5.3
mb: 1.17510 seconds.<br />
Output for 5.5.2
mb: 1.33271 seconds.<br />
Output for 5.5.1
mb: 1.13713 seconds.<br />
Output for 5.5.0
mb: 1.01929 seconds.<br />
Output for 5.4.45
mb: 1.13590 seconds.<br />
Output for 5.4.44
mb: 1.06792 seconds.<br />
Output for 5.4.43
mb: 1.08122 seconds.<br />
Output for 5.4.42
mb: 1.10802 seconds.<br />
Output for 5.4.41
mb: 1.13409 seconds.<br />
Output for 5.4.40
mb: 1.12233 seconds.<br />
Output for 5.4.39
mb: 1.12794 seconds.<br />
Output for 5.4.38
mb: 1.13682 seconds.<br />
Output for 5.4.37
mb: 1.12479 seconds.<br />
Output for 5.4.36
mb: 1.06581 seconds.<br />
Output for 5.4.35
mb: 1.22272 seconds.<br />
Output for 5.4.34
mb: 1.10969 seconds.<br />
Output for 5.4.32
mb: 1.22310 seconds.<br />
Output for 5.4.31
mb: 1.09920 seconds.<br />
Output for 5.4.30
mb: 1.23945 seconds.<br />
Output for 5.4.29
mb: 1.01544 seconds.<br />
Output for 5.4.28
mb: 1.06459 seconds.<br />
Output for 5.4.27
mb: 1.11651 seconds.<br />
Output for 5.4.26
mb: 1.07880 seconds.<br />
Output for 5.4.25
mb: 1.17980 seconds.<br />
Output for 5.4.24
mb: 1.13978 seconds.<br />
Output for 5.4.23
mb: 1.01849 seconds.<br />
Output for 5.4.22
mb: 1.12139 seconds.<br />
Output for 5.4.21
mb: 1.16317 seconds.<br />
Output for 5.4.20
mb: 1.16893 seconds.<br />
Output for 5.4.19
mb: 1.18333 seconds.<br />
Output for 5.4.18
mb: 1.13470 seconds.<br />
Output for 5.4.17
mb: 1.19162 seconds.<br />
Output for 5.4.16
mb: 1.21083 seconds.<br />
Output for 5.4.15
mb: 1.22661 seconds.<br />
Output for 5.4.14
mb: 1.41705 seconds.<br />
Output for 5.4.13
mb: 1.20278 seconds.<br />
Output for 5.4.12
mb: 1.21483 seconds.<br />
Output for 5.4.11
mb: 1.17231 seconds.<br />
Output for 5.4.10
mb: 1.15461 seconds.<br />
Output for 5.4.9
mb: 1.17720 seconds.<br />
Output for 5.4.8
mb: 1.09515 seconds.<br />
Output for 5.4.7
mb: 1.16632 seconds.<br />
Output for 5.4.6
mb: 1.12545 seconds.<br />
Output for 5.4.5
mb: 1.14647 seconds.<br />
Output for 5.4.4
mb: 1.17781 seconds.<br />
Output for 5.4.3
mb: 1.15729 seconds.<br />
Output for 5.4.2
mb: 1.15162 seconds.<br />
Output for 5.4.1
mb: 1.05094 seconds.<br />
Output for 5.4.0
mb: 1.21926 seconds.<br />
Output for 5.3.29
mb: 1.12423 seconds.<br />
Output for 5.3.28
mb: 1.24854 seconds.<br />
Output for 5.3.27
mb: 1.09826 seconds.<br />
Output for 5.3.26
mb: 1.11010 seconds.<br />
Output for 5.3.25
mb: 1.19308 seconds.<br />
Output for 5.3.24
mb: 1.13854 seconds.<br />
Output for 5.3.23
mb: 1.25310 seconds.<br />
Output for 5.3.22
mb: 1.20235 seconds.<br />
Output for 5.3.21
mb: 1.13146 seconds.<br />
Output for 5.3.20
mb: 1.14366 seconds.<br />
Output for 5.3.19
mb: 1.21722 seconds.<br />
Output for 5.3.18
mb: 1.26538 seconds.<br />
Output for 5.3.17
mb: 1.13778 seconds.<br />
Output for 5.3.16
mb: 1.17529 seconds.<br />
Output for 5.3.15
mb: 1.12455 seconds.<br />
Output for 5.3.14
mb: 1.29444 seconds.<br />
Output for 5.3.13
mb: 1.21389 seconds.<br />
Output for 5.3.12
mb: 1.09583 seconds.<br />
Output for 5.3.11
mb: 1.20903 seconds.<br />
Output for 5.3.10
mb: 1.16395 seconds.<br />
Output for 5.3.9
mb: 1.22295 seconds.<br />
Output for 5.3.8
mb: 1.08666 seconds.<br />
Output for 5.3.7
mb: 1.08826 seconds.<br />
Output for 5.3.6
mb: 1.07122 seconds.<br />
Output for 5.3.5
mb: 1.14203 seconds.<br />
Output for 5.3.4
mb: 1.18656 seconds.<br />
Output for 5.3.3
mb: 1.10501 seconds.<br />
Output for 5.3.2
mb: 1.04628 seconds.<br />
Output for 5.3.1
mb: 1.01812 seconds.<br />
Output for 5.3.0
mb: 1.15259 seconds.<br />
Output for 5.2.17
mb: 1.18392 seconds.<br />
Output for 5.2.16
mb: 1.30803 seconds.<br />
Output for 5.2.15
mb: 1.01019 seconds.<br />
Output for 5.2.14
mb: 1.11812 seconds.<br />
Output for 5.2.13
mb: 1.19157 seconds.<br />
Output for 5.2.12
mb: 1.13516 seconds.<br />
Output for 5.2.11
mb: 1.12632 seconds.<br />
Output for 5.2.10
mb: 1.13741 seconds.<br />
Output for 5.2.9
mb: 1.12505 seconds.<br />
Output for 5.2.8
mb: 1.15578 seconds.<br />
Output for 5.2.7
mb: 1.04186 seconds.<br />
Output for 5.2.6
mb: 1.17111 seconds.<br />
Output for 5.2.5
mb: 1.16637 seconds.<br />
Output for 5.2.4
mb: 1.11896 seconds.<br />
Output for 5.2.3
mb: 1.19770 seconds.<br />
Output for 5.2.2
mb: 1.20023 seconds.<br />
Output for 5.2.1
mb: 1.20198 seconds.<br />
Output for 5.2.0
mb: 0.99557 seconds.<br />
Output for 5.1.6
mb: 1.19044 seconds.<br />
Output for 5.1.5
mb: 1.21318 seconds.<br />
Output for 5.1.4
mb: 1.20020 seconds.<br />
Output for 5.1.3
mb: 1.14459 seconds.<br />
Output for 5.1.2
mb: 1.16018 seconds.<br />
Output for 5.1.1
mb: 1.15082 seconds.<br />
Output for 5.1.0
mb: 1.13360 seconds.<br />
Output for 5.0.5
mb: 1.17462 seconds.<br />
Output for 5.0.4
mb: 1.15342 seconds.<br />
Output for 5.0.3
mb: 1.10436 seconds.<br />
Output for 5.0.2
mb: 1.38565 seconds.<br />
Output for 5.0.1
mb: 1.20141 seconds.<br />
Output for 5.0.0
mb: 1.20087 seconds.<br />
Output for 4.4.9
mb: 0.17510 seconds.<br />
Output for 4.4.8
mb: 0.04657 seconds.<br />
Output for 4.4.7
mb: 0.09621 seconds.<br />
Output for 4.4.6
mb: 0.24627 seconds.<br />
Output for 4.4.5
mb: 0.17281 seconds.<br />
Output for 4.4.4
mb: 0.11468 seconds.<br />
Output for 4.4.3
mb: 0.19491 seconds.<br />
Output for 4.4.2
mb: 0.20310 seconds.<br />
Output for 4.4.1
mb: 0.16037 seconds.<br />
Output for 4.4.0
mb: 0.21678 seconds.<br />
Output for 4.3.11
mb: 0.17291 seconds.<br />
Output for 4.3.10
mb: 0.19892 seconds.<br />
Output for 4.3.9
mb: 0.15800 seconds.<br />
Output for 4.3.8
mb: 0.17846 seconds.<br />
Output for 4.3.7
mb: 0.00293 seconds.<br />
Output for 4.3.6
mb: 0.18165 seconds.<br />
Output for 4.3.5
mb: 0.08467 seconds.<br />
Output for 4.3.4
mb: 0.20138 seconds.<br />
Output for 4.3.3
mb: 0.08363 seconds.<br />
Output for 4.3.2
mb: 0.11932 seconds.<br />
Output for 4.3.1
mb: 0.31080 seconds.<br />
Output for 4.3.0
mb: 0.24925 seconds.<br />