3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array(); $t = microtime(true); for ($i = 0; $i < 400000; ++$i) $a[] = rand(); sleep (1); echo (microtime(true) - $t);
based on PYNkP
Output for 7.2.6
1.0157659053802
Output for 7.2.0
1.0150110721588
Output for 7.1.10
1.3245468139648
Output for 7.1.7
1.014132976532
Output for 7.1.6
1.0153949260712
Output for 7.1.5
1.0152349472046
Output for 7.1.4
1.014552116394
Output for 7.1.3
1.0165388584137
Output for 7.1.2
1.0151081085205
Output for 7.1.1
1.0173518657684
Output for 7.1.0
1.0154719352722
Output for 7.0.20
1.0160920619965
Output for 7.0.19
1.0318570137024
Output for 7.0.18
1.0156848430634
Output for 7.0.17
1.0159120559692
Output for 7.0.16
1.019758939743
Output for 7.0.15
1.0164589881897
Output for 7.0.14
1.015457868576
Output for 7.0.13
1.0217409133911
Output for 7.0.12
1.0166909694672
Output for 7.0.11
1.0160071849823
Output for 7.0.10
1.0256750583649
Output for 7.0.9
1.0175070762634
Output for 7.0.8
1.0202770233154
Output for 7.0.7
1.0166809558868
Output for 7.0.6
1.021045923233
Output for 7.0.5
1.0393300056458
Output for 7.0.4
1.0175349712372
Output for 7.0.3
1.0263631343842
Output for 7.0.2
1.0346460342407
Output for 7.0.1
1.0265140533447
Output for 7.0.0
1.0164098739624
Output for hhvm-3.15.4
1.042219877243
Output for 5.6.30
1.0709159374237
Output for 5.6.29
1.069347858429
Output for 5.6.28
1.0668940544128
Output for 5.6.27
1.0707700252533
Output for 5.6.26
1.0705678462982
Output for 5.6.25
1.082496881485
Output for 5.6.24
1.0671238899231
Output for 5.6.23
1.0721590518951
Output for 5.6.22
1.06130194664
Output for 5.6.21
1.0836961269379
Output for 5.6.20
1.0646481513977
Output for 5.6.19
1.0725209712982
Output for 5.6.18
1.060446023941
Output for 5.6.17
1.0698459148407
Output for 5.6.16
1.0594909191132
Output for 5.6.15
1.0604999065399
Output for 5.6.14
1.0686271190643
Output for 5.6.13
1.0695550441742
Output for 5.6.12
1.0630149841309
Output for 5.6.11
1.066792011261
Output for 5.6.10
1.0656099319458
Output for 5.6.9
1.1073360443115
Output for 5.6.8
1.0859730243683
Output for 5.6.7
1.0620210170746
Output for 5.6.6
1.0615680217743
Output for 5.6.5
1.074196100235
Output for 5.6.4
1.0613050460815
Output for 5.6.3
1.0677280426025
Output for 5.6.2
1.0706720352173
Output for 5.6.1
1.0726590156555
Output for 5.6.0
1.0648300647736