3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $time = microtime(true); $a = array(); for ($i = 0; $i < 100000; ++$i) { if (is_array($a)) { } } $time2 = microtime(true); echo "Zeit: " . ($time2 - $time);
Output for 7.2.6
Zeit: 0.0021159648895264
Output for 7.2.0
Zeit: 0.0012660026550293
Output for 7.1.10
Zeit: 0.00099396705627441
Output for 7.1.7
Zeit: 0.0014891624450684
Output for 7.1.6
Zeit: 0.0011930465698242
Output for 7.1.5
Zeit: 0.0018289089202881
Output for 7.1.4
Zeit: 0.0064830780029297
Output for 7.1.3
Zeit: 0.0027680397033691
Output for 7.1.2
Zeit: 0.0061099529266357
Output for 7.1.1
Zeit: 0.001255989074707
Output for 7.1.0
Zeit: 0.0042500495910645
Output for 7.0.20
Zeit: 0.005418062210083
Output for 7.0.19
Zeit: 0.0025811195373535
Output for 7.0.18
Zeit: 0.0031518936157227
Output for 7.0.17
Zeit: 0.0041060447692871
Output for 7.0.16
Zeit: 0.0063230991363525
Output for 7.0.15
Zeit: 0.011933088302612
Output for 7.0.14
Zeit: 0.0051431655883789
Output for 7.0.13
Zeit: 0.0050008296966553
Output for 7.0.12
Zeit: 0.0098299980163574
Output for 7.0.11
Zeit: 0.0051620006561279
Output for 7.0.10
Zeit: 0.0062589645385742
Output for 7.0.9
Zeit: 0.0022859573364258
Output for 7.0.8
Zeit: 0.0071330070495605
Output for 7.0.7
Zeit: 0.0028371810913086
Output for 7.0.6
Zeit: 0.0073308944702148
Output for 7.0.5
Zeit: 0.0050520896911621
Output for 7.0.4
Zeit: 0.0012519359588623
Output for 7.0.3
Zeit: 0.0012731552124023
Output for 7.0.2
Zeit: 0.0012838840484619
Output for 7.0.1
Zeit: 0.0018861293792725
Output for 7.0.0
Zeit: 0.0014879703521729
Output for hhvm-3.15.4
Zeit: 0.0069179534912109
Output for 5.6.30
Zeit: 0.012295961380005
Output for 5.6.29
Zeit: 0.011430978775024
Output for 5.6.28
Zeit: 0.012022018432617
Output for 5.6.27
Zeit: 0.014045000076294
Output for 5.6.26
Zeit: 0.011453866958618
Output for 5.6.25
Zeit: 0.014213800430298
Output for 5.6.24
Zeit: 0.011518001556396
Output for 5.6.23
Zeit: 0.01139497756958
Output for 5.6.22
Zeit: 0.013086080551147
Output for 5.6.21
Zeit: 0.021095991134644
Output for 5.6.20
Zeit: 0.012401819229126
Output for 5.6.19
Zeit: 0.011192083358765
Output for 5.6.18
Zeit: 0.011289834976196
Output for 5.6.17
Zeit: 0.011189937591553
Output for 5.6.16
Zeit: 0.011909008026123
Output for 5.6.15
Zeit: 0.014611005783081
Output for 5.6.14
Zeit: 0.015275001525879
Output for 5.6.13
Zeit: 0.011266946792603
Output for 5.6.12
Zeit: 0.011112928390503
Output for 5.6.11
Zeit: 0.012647867202759
Output for 5.6.10
Zeit: 0.01104211807251
Output for 5.6.9
Zeit: 0.011591196060181
Output for 5.6.8
Zeit: 0.010848045349121
Output for 5.6.7
Zeit: 0.011162042617798
Output for 5.6.6
Zeit: 0.011286973953247
Output for 5.6.5
Zeit: 0.011520147323608
Output for 5.6.4
Zeit: 0.013950109481812
Output for 5.6.3
Zeit: 0.018975973129272
Output for 5.6.2
Zeit: 0.012571811676025
Output for 5.6.1
Zeit: 0.01145601272583
Output for 5.6.0
Zeit: 0.011750936508179