3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $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", 'UTF-8'); $timeMB = microtime(true) - $timeMB; echo "mb: ".sprintf("%.5f",$timeMB)." seconds.<br />";
based on edab5
Output for 7.1.0
mb: 1.05851 seconds.<br />
Output for 7.0.14
mb: 1.45118 seconds.<br />
Output for 7.0.6
mb: 1.21785 seconds.<br />
Output for 7.0.5
mb: 1.17939 seconds.<br />
Output for 7.0.4
mb: 1.26123 seconds.<br />
Output for 7.0.3
mb: 1.22652 seconds.<br />
Output for 7.0.2
mb: 1.26062 seconds.<br />
Output for 7.0.1
mb: 1.19644 seconds.<br />
Output for 7.0.0
mb: 1.18025 seconds.<br />
Output for hhvm-3.12.0
mb: 1.28236 seconds.<br />
Output for hhvm-3.10.0
mb: 1.38519 seconds.<br />
Output for 5.6.28
mb: 1.66537 seconds.<br />
Output for 5.6.21
mb: 1.29721 seconds.<br />
Output for 5.6.20
mb: 1.22644 seconds.<br />
Output for 5.6.19
mb: 1.22370 seconds.<br />
Output for 5.6.18
mb: 1.30591 seconds.<br />
Output for 5.6.17
mb: 1.25114 seconds.<br />
Output for 5.6.16
mb: 1.29686 seconds.<br />
Output for 5.6.15
mb: 1.20754 seconds.<br />
Output for 5.6.14
mb: 1.21221 seconds.<br />
Output for 5.6.13
mb: 1.26584 seconds.<br />
Output for 5.6.12
mb: 1.23650 seconds.<br />
Output for 5.6.11
mb: 1.21795 seconds.<br />
Output for 5.6.10
mb: 1.21730 seconds.<br />
Output for 5.6.9
mb: 1.29445 seconds.<br />
Output for 5.6.8
mb: 1.26085 seconds.<br />
Output for 5.5.35
mb: 1.21715 seconds.<br />
Output for 5.5.34
mb: 1.34957 seconds.<br />
Output for 5.5.33
mb: 1.26552 seconds.<br />
Output for 5.5.32
mb: 1.27264 seconds.<br />
Output for 5.5.31
mb: 1.25103 seconds.<br />
Output for 5.5.30
mb: 1.24499 seconds.<br />
Output for 5.5.29
mb: 1.24346 seconds.<br />
Output for 5.5.28
mb: 1.34996 seconds.<br />
Output for 5.5.27
mb: 1.26129 seconds.<br />
Output for 5.5.26
mb: 1.26667 seconds.<br />
Output for 5.5.25
mb: 1.21712 seconds.<br />
Output for 5.5.24
mb: 1.21574 seconds.<br />
Output for 5.4.45
mb: 1.12728 seconds.<br />
Output for 5.4.44
mb: 1.18358 seconds.<br />
Output for 5.4.43
mb: 1.15337 seconds.<br />
Output for 5.4.42
mb: 1.25250 seconds.<br />
Output for 5.4.41
mb: 1.22784 seconds.<br />
Output for 5.4.40
mb: 1.21094 seconds.<br />
Output for 5.4.39
mb: 1.33515 seconds.<br />
Output for 5.4.38
mb: 1.16323 seconds.<br />
Output for 5.4.37
mb: 1.18570 seconds.<br />
Output for 5.4.36
mb: 1.13669 seconds.<br />
Output for 5.4.35
mb: 1.26920 seconds.<br />
Output for 5.4.34
mb: 1.25699 seconds.<br />
Output for 5.4.32
mb: 1.17580 seconds.<br />
Output for 5.4.31
mb: 1.62978 seconds.<br />
Output for 5.4.30
mb: 1.64369 seconds.<br />
Output for 5.4.29
mb: 1.76299 seconds.<br />
Output for 5.4.28
mb: 1.87935 seconds.<br />
Output for 5.4.27
mb: 1.80360 seconds.<br />
Output for 5.4.26
mb: 1.53910 seconds.<br />
Output for 5.4.25
mb: 1.67063 seconds.<br />
Output for 5.4.24
mb: 1.48382 seconds.<br />
Output for 5.4.23
mb: 1.41835 seconds.<br />
Output for 5.4.22
mb: 1.51491 seconds.<br />
Output for 5.4.21
mb: 1.37514 seconds.<br />
Output for 5.4.20
mb: 1.37180 seconds.<br />
Output for 5.4.19
mb: 1.43833 seconds.<br />
Output for 5.4.18
mb: 1.38225 seconds.<br />
Output for 5.4.17
mb: 1.54482 seconds.<br />
Output for 5.4.16
mb: 1.36494 seconds.<br />
Output for 5.4.15
mb: 1.35231 seconds.<br />
Output for 5.4.14
mb: 1.34907 seconds.<br />
Output for 5.4.13
mb: 1.36101 seconds.<br />
Output for 5.4.12
mb: 1.54595 seconds.<br />
Output for 5.4.11
mb: 1.54953 seconds.<br />
Output for 5.4.10
mb: 1.59437 seconds.<br />
Output for 5.4.9
mb: 1.43398 seconds.<br />
Output for 5.4.8
mb: 1.64567 seconds.<br />
Output for 5.4.7
mb: 1.63289 seconds.<br />
Output for 5.4.6
mb: 1.41329 seconds.<br />
Output for 5.4.5
mb: 1.57531 seconds.<br />
Output for 5.4.4
mb: 1.74950 seconds.<br />
Output for 5.4.3
mb: 1.55007 seconds.<br />
Output for 5.4.2
mb: 1.56782 seconds.<br />
Output for 5.4.1
mb: 1.53580 seconds.<br />
Output for 5.4.0
mb: 1.48381 seconds.<br />
Output for 5.3.29
mb: 1.15994 seconds.<br />
Output for 5.3.28
mb: 1.64504 seconds.<br />
Output for 5.3.27
mb: 1.45529 seconds.<br />
Output for 5.3.26
mb: 1.41669 seconds.<br />
Output for 5.3.25
mb: 1.54995 seconds.<br />
Output for 5.3.24
mb: 1.45021 seconds.<br />
Output for 5.3.23
mb: 1.54485 seconds.<br />
Output for 5.3.22
mb: 1.57505 seconds.<br />
Output for 5.3.21
mb: 1.40325 seconds.<br />
Output for 5.3.20
mb: 1.42058 seconds.<br />
Output for 5.3.19
mb: 1.69239 seconds.<br />
Output for 5.3.18
mb: 1.83194 seconds.<br />
Output for 5.3.17
mb: 1.37747 seconds.<br />
Output for 5.3.16
mb: 1.43046 seconds.<br />
Output for 5.3.15
mb: 1.49912 seconds.<br />
Output for 5.3.14
mb: 1.52810 seconds.<br />
Output for 5.3.13
mb: 1.80892 seconds.<br />
Output for 5.3.12
mb: 1.72588 seconds.<br />
Output for 5.3.11
mb: 1.65699 seconds.<br />
Output for 5.3.10
mb: 1.39870 seconds.<br />
Output for 5.3.9
mb: 1.46710 seconds.<br />
Output for 5.3.8
mb: 1.55819 seconds.<br />
Output for 5.3.7
mb: 1.57996 seconds.<br />