3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array(); $t = microtime(true); for ($i = 0; $i < 100000; ++$i) $a[] = rand(); echo (microtime(true) - $t) / 1000000;
based on IFegI
Output for 7.2.6
4.054069519043E-9
Output for 7.2.0
5.7199001312256E-9
Output for 7.1.10
6.0300827026367E-9
Output for 7.1.7
5.5952072143555E-9
Output for 7.1.6
5.789041519165E-9
Output for 7.1.5
6.3459873199463E-9
Output for 7.1.4
1.2408971786499E-8
Output for 7.1.3
6.9689750671387E-9
Output for 7.1.2
5.8338642120361E-9
Output for 7.1.1
5.8608055114746E-9
Output for 7.1.0
5.8121681213379E-9
Output for 7.0.20
6.6759586334229E-9
Output for 7.0.19
6.2069892883301E-9
Output for 7.0.18
1.097583770752E-8
Output for 7.0.17
6.3989162445068E-9
Output for 7.0.16
6.6478252410889E-9
Output for 7.0.15
6.4630508422852E-9
Output for 7.0.14
6.3328742980957E-9
Output for 7.0.13
8.991003036499E-9
Output for 7.0.12
1.055908203125E-8
Output for 7.0.11
8.3091259002686E-9
Output for 7.0.10
6.3788890838623E-9
Output for 7.0.9
6.580114364624E-9
Output for 7.0.8
6.6318511962891E-9
Output for 7.0.7
6.6258907318115E-9
Output for 7.0.6
1.0219097137451E-8
Output for 7.0.5
6.7257881164551E-9
Output for 7.0.4
7.0950984954834E-9
Output for 7.0.3
6.6931247711182E-9
Output for 7.0.2
7.2360038757324E-9
Output for 7.0.1
8.432149887085E-9
Output for 7.0.0
1.028299331665E-8
Output for hhvm-3.15.4
2.1723985671997E-8
Output for 5.6.30
2.4446964263916E-8
Output for 5.6.29
2.410888671875E-8
Output for 5.6.28
2.4718999862671E-8
Output for 5.6.27
3.4700870513916E-8
Output for 5.6.26
2.4215936660767E-8
Output for 5.6.25
2.7605056762695E-8
Output for 5.6.24
2.6816129684448E-8
Output for 5.6.23
2.7014970779419E-8
Output for 5.6.22
2.545690536499E-8
Output for 5.6.21
2.7139902114868E-8
Output for 5.6.20
2.517294883728E-8
Output for 5.6.19
3.1886100769043E-8
Output for 5.6.18
2.7844190597534E-8
Output for 5.6.17
2.7346849441528E-8
Output for 5.6.16
2.7245044708252E-8
Output for 5.6.15
2.4250984191895E-8
Output for 5.6.14
3.3251047134399E-8
Output for 5.6.13
2.6064872741699E-8
Output for 5.6.12
2.6432037353516E-8
Output for 5.6.11
2.4412155151367E-8
Output for 5.6.10
4.0286064147949E-8
Output for 5.6.9
2.4821043014526E-8
Output for 5.6.8
4.2480945587158E-8
Output for 5.6.7
2.7075052261353E-8
Output for 5.6.6
2.7273178100586E-8
Output for 5.6.5
2.4799108505249E-8
Output for 5.6.4
3.484320640564E-8
Output for 5.6.3
2.6759147644043E-8
Output for 5.6.2
2.7247190475464E-8
Output for 5.6.1
2.5334119796753E-8
Output for 5.6.0
4.3244123458862E-8