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) / 1000;
based on 8XPWM
Output for 7.2.6
0.0010416309833527
Output for 7.2.0
0.0010166671276093
Output for 7.1.10
0.0010200688838959
Output for 7.1.7
0.0010472390651703
Output for 7.1.6
0.0010523540973663
Output for 7.1.5
0.0010452709197998
Output for 7.1.4
0.0010244290828705
Output for 7.1.3
0.0010252110958099
Output for 7.1.2
0.0010246579647064
Output for 7.1.1
0.0010335500240326
Output for 7.1.0
0.001053740978241
Output for 7.0.20
0.0010471708774567
Output for 7.0.19
0.0010272448062897
Output for 7.0.18
0.0010316331386566
Output for 7.0.17
0.0010260190963745
Output for 7.0.16
0.0010263969898224
Output for 7.0.15
0.0010277969837189
Output for 7.0.14
0.0010357568264008
Output for 7.0.13
0.0010285270214081
Output for 7.0.12
0.0010470139980316
Output for 7.0.11
0.0010505118370056
Output for 7.0.10
0.0010584399700165
Output for 7.0.9
0.0010278680324554
Output for 7.0.8
0.0010299010276794
Output for 7.0.7
0.0010278701782227
Output for 7.0.6
0.0010397720336914
Output for 7.0.5
0.0010336580276489
Output for 7.0.4
0.0010285468101501
Output for 7.0.3
0.0010265400409698
Output for 7.0.2
0.0010288739204407
Output for 7.0.1
0.0010374190807343
Output for 7.0.0
0.0010446410179138
Output for hhvm-3.15.4
0.0010922930240631
Output for 5.6.30
0.0011025578975677
Output for 5.6.29
0.0011054451465607
Output for 5.6.28
0.0011407778263092
Output for 5.6.27
0.0011075158119202
Output for 5.6.26
0.001109354019165
Output for 5.6.25
0.0011209678649902
Output for 5.6.24
0.0011367599964142
Output for 5.6.23
0.0011088171005249
Output for 5.6.22
0.0011198000907898
Output for 5.6.21
0.0011046578884125
Output for 5.6.20
0.0011309130191803
Output for 5.6.19
0.0010970540046692
Output for 5.6.18
0.0011291258335114
Output for 5.6.17
0.0011006710529327
Output for 5.6.16
0.001120423078537
Output for 5.6.15
0.0011121211051941
Output for 5.6.14
0.001100517988205
Output for 5.6.13
0.0011472687721252
Output for 5.6.12
0.0011040210723877
Output for 5.6.11
0.0011040260791779
Output for 5.6.10
0.0011028349399567
Output for 5.6.9
0.0010988900661469
Output for 5.6.8
0.0011367199420929
Output for 5.6.7
0.0011169259548187
Output for 5.6.6
0.0011346600055695
Output for 5.6.5
0.001190899848938
Output for 5.6.4
0.0011044421195984
Output for 5.6.3
0.0011195168495178
Output for 5.6.2
0.0011681160926819
Output for 5.6.1
0.0011361060142517
Output for 5.6.0
0.0010986380577087