3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array(); $size = 400000; for ($i = 0; $i < $size; ++$i) $a[] = rand(); $t = microtime(true); for ($i = 0; $i < count($a) * 10; ++$i) ; echo (microtime(true) - $t);
based on VaXSb
Output for 7.2.6
0.048428058624268
Output for 7.2.0
0.054641008377075
Output for 7.1.10
0.10908889770508
Output for 7.1.7
0.14429402351379
Output for 7.1.6
0.14540100097656
Output for 7.1.5
0.1226909160614
Output for 7.1.4
0.13895201683044
Output for 7.1.3
0.15016198158264
Output for 7.1.2
0.14254307746887
Output for 7.1.1
0.15570116043091
Output for 7.1.0
0.15076589584351
Output for 7.0.20
0.12771797180176
Output for 7.0.19
0.1970579624176
Output for 7.0.18
0.14717793464661
Output for 7.0.17
0.1293728351593
Output for 7.0.16
0.1299250125885
Output for 7.0.15
0.1427161693573
Output for 7.0.14
0.13551807403564
Output for 7.0.13
0.13563704490662
Output for 7.0.12
0.14759993553162
Output for 7.0.11
0.13556385040283
Output for 7.0.10
0.13736510276794
Output for 7.0.9
0.13131809234619
Output for 7.0.8
0.13648891448975
Output for 7.0.7
0.13615298271179
Output for 7.0.6
0.13572001457214
Output for 7.0.5
0.13347196578979
Output for 7.0.4
0.12943005561829
Output for 7.0.3
0.16717410087585
Output for 7.0.2
0.14392304420471
Output for 7.0.1
0.13303399085999
Output for 7.0.0
0.1464991569519
Output for hhvm-3.15.4
1.7018837928772
Output for 5.6.30
0.63567209243774
Output for 5.6.29
0.67100405693054
Output for 5.6.28
0.47645688056946
Output for 5.6.27
0.48831987380981
Output for 5.6.26
0.45876002311707
Output for 5.6.25
0.49306607246399
Output for 5.6.24
0.53566098213196
Output for 5.6.23
0.50440692901611
Output for 5.6.22
0.51246309280396
Output for 5.6.21
0.46956992149353
Output for 5.6.20
0.60991716384888
Output for 5.6.19
0.54119491577148
Output for 5.6.18
0.56745505332947
Output for 5.6.17
0.54348492622375
Output for 5.6.16
0.62520289421082
Output for 5.6.15
0.74369692802429
Output for 5.6.14
0.54161596298218
Output for 5.6.13
0.66599702835083
Output for 5.6.12
0.89637899398804
Output for 5.6.11
0.54373407363892
Output for 5.6.10
0.75568795204163
Output for 5.6.9
0.65470790863037
Output for 5.6.8
0.52623605728149
Output for 5.6.7
0.50479888916016
Output for 5.6.6
0.49523210525513
Output for 5.6.5
0.4936420917511
Output for 5.6.4
0.50702810287476
Output for 5.6.3
0.52854108810425
Output for 5.6.2
0.47775220870972
Output for 5.6.1
0.47409796714783
Output for 5.6.0
0.51426386833191