3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function doNothing() {} $start = microtime(); for ($i=0;$i<1000;$i++) { doNothing(); } $end = microtime(); $start = explode(' ', $start); $start = $start[0] + $start[1]; $end = explode(' ', $end); $end = $end[0] + $end[1]; echo $end . ' - ' . $start . ' = ' . ($end - $start);
Output for 7.1.0
1378586325.0064 - 1378586325.0064 = 4.1961669921875E-5
Output for 7.0.14
1378586325.0037 - 1378586325.0037 = 4.1961669921875E-5
Output for 7.0.6
1462236209.3973 - 1462236209.3973 = 3.8862228393555E-5
Output for 7.0.5
1459605554.5219 - 1459605554.5218 = 4.0054321289062E-5
Output for 7.0.4
1457569948.7722 - 1457569948.7722 = 3.1948089599609E-5
Output for 7.0.3
1458261770.1517 - 1458261770.1517 = 3.2901763916016E-5
Output for 7.0.2
1458559046.7089 - 1458559046.7089 = 3.6001205444336E-5
Output for 7.0.1
1458732625.6191 - 1458732625.619 = 4.0054321289062E-5
Output for 7.0.0
1459000643.7622 - 1459000643.7622 = 4.1007995605469E-5
Output for hhvm-3.12.0
1459332580.546 - 1459332580.5458 = 0.00013995170593262
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.28
1378586325.0047 - 1378586325.0046 = 0.00012707710266113
Output for 5.6.21
1462131935.4026 - 1462131935.4026 = 6.8902969360352E-5
Output for 5.6.20
1460193092.2493 - 1460193092.2492 = 8.9883804321289E-5
Output for 5.6.19
1457304553.9079 - 1457304553.9078 = 7.4148178100586E-5
Output for 5.6.18
1457953841.5779 - 1457953841.5778 = 9.9897384643555E-5
Output for 5.6.17
1458364297.5287 - 1458364297.5287 = 7.7962875366211E-5
Output for 5.6.16
1459089725.3083 - 1459089725.3083 = 6.3896179199219E-5
Output for 5.6.15
1459179339.659 - 1459179339.6589 = 0.00010395050048828
Output for 5.6.14
1459534384.8052 - 1459534384.8051 = 6.6041946411133E-5
Output for 5.6.13
1460671295.296 - 1460671295.296 = 7.3909759521484E-5
Output for 5.6.12
1461064321.0583 - 1461064321.0582 = 9.2029571533203E-5
Output for 5.6.11
1461349669.349 - 1461349669.3489 = 8.702278137207E-5
Output for 5.6.10
1461528465.2856 - 1461528465.2855 = 8.6069107055664E-5
Output for 5.6.9
1461719889.8683 - 1461719889.8682 = 9.918212890625E-5
Output for 5.6.8
1461919999.7386 - 1461919999.7386 = 7.8916549682617E-5
Output for 5.5.35
1463872134.5461 - 1463872134.546 = 7.7962875366211E-5
Output for 5.5.34
1460300881.892 - 1460300881.8919 = 6.1988830566406E-5
Output for 5.5.33
1457436186.5385 - 1457436186.5384 = 6.1988830566406E-5
Output for 5.5.32
1458147940.4429 - 1458147940.4428 = 7.7962875366211E-5
Output for 5.5.31
1458461048.5002 - 1458461048.5002 = 8.0108642578125E-5
Output for 5.5.30
1459445815.9691 - 1459445815.969 = 9.9897384643555E-5
Output for 5.5.29
1460808559.9648 - 1460808559.9647 = 0.00011301040649414
Output for 5.5.28
1461162521.7608 - 1461162521.7607 = 8.2015991210938E-5
Output for 5.5.27
1461257914.2595 - 1461257914.2594 = 7.7009201049805E-5
Output for 5.5.26
1461623217.4324 - 1461623217.4323 = 0.00011301040649414
Output for 5.5.25
1461818092.9543 - 1461818092.9542 = 6.7949295043945E-5
Output for 5.5.24
1462017846.0856 - 1462017846.0855 = 5.6982040405273E-5
Output for 5.4.45
1442785746.9985 - 1442785746.9985 = 5.4836273193359E-5
Output for 5.4.44
1439167189.3505 - 1439167189.3504 = 9.5129013061523E-5
Output for 5.4.43
1439167184.2005 - 1439167184.2004 = 9.2983245849609E-5
Output for 5.4.42
1439167183.0549 - 1439167183.0548 = 9.2029571533203E-5
Output for 5.4.41
1439167180.9809 - 1439167180.9808 = 9.2983245849609E-5
Output for 5.4.40
1439167177.0899 - 1439167177.0898 = 8.9883804321289E-5
Output for 5.4.39
1439167176.6582 - 1439167176.6581 = 9.2029571533203E-5
Output for 5.4.38
1425372831.394 - 1425372831.3939 = 0.00010013580322266
Output for 5.4.37
1425372824.5249 - 1425372824.5248 = 9.4175338745117E-5
Output for 5.4.36
1425372824.167 - 1425372824.1668 = 0.00012612342834473
Output for 5.4.35
1425372823.8173 - 1425372823.8171 = 0.00011110305786133
Output for 5.4.34
1425372823.4646 - 1425372823.4646 = 9.4890594482422E-5
Output for 5.4.32
1410439124.3495 - 1410439124.3494 = 7.1048736572266E-5
Output for 5.4.31
1410439119.269 - 1410439119.2689 = 6.9141387939453E-5
Output for 5.4.30
1410439115.4367 - 1410439115.4367 = 6.8187713623047E-5
Output for 5.4.29
1410439115.0805 - 1410439115.0805 = 6.8187713623047E-5
Output for 5.4.28
1410439114.7492 - 1410439114.7491 = 6.6995620727539E-5
Output for 5.4.27
1410439121.7669 - 1410439121.7668 = 7.1048736572266E-5
Output for 5.4.26
1410439121.4635 - 1410439121.4634 = 7.1048736572266E-5
Output for 5.4.25
1410439120.8279 - 1410439120.8278 = 8.6784362792969E-5
Output for 5.4.24
1410439119.8879 - 1410439119.8879 = 6.9856643676758E-5
Output for 5.4.23
1410439114.4004 - 1410439114.4003 = 8.082389831543E-5
Output for 5.4.22
1410439113.0241 - 1410439113.024 = 7.4148178100586E-5
Output for 5.4.21
1410439112.336 - 1410439112.3359 = 7.2002410888672E-5
Output for 5.4.20
1410439111.6424 - 1410439111.6423 = 0.00012683868408203
Output for 5.4.19
1378586325.8066 - 1378586325.8065 = 0.00010395050048828
Output for 5.4.18
1378586325.9021 - 1378586325.9019 = 0.00017595291137695
Output for 5.4.17
1378586325.9732 - 1378586325.9731 = 0.00011014938354492
Output for 5.4.16
1378586326.0413 - 1378586326.0411 = 0.00012898445129395
Output for 5.4.15
1378586326.1072 - 1378586326.1071 = 8.9168548583984E-5
Output for 5.4.14
1378586326.2357 - 1378586326.2356 = 9.8943710327148E-5
Output for 5.4.13
1378586326.3033 - 1378586326.3032 = 8.7976455688477E-5
Output for 5.4.12
1378586326.3648 - 1378586326.3647 = 0.00010204315185547
Output for 5.4.11
1378586326.428 - 1378586326.4279 = 0.00010418891906738
Output for 5.4.10
1378586326.4921 - 1378586326.492 = 8.6069107055664E-5
Output for 5.4.9
1378586326.5568 - 1378586326.5567 = 9.9897384643555E-5
Output for 5.4.8
1378586326.6188 - 1378586326.6187 = 8.7976455688477E-5
Output for 5.4.7
1378586326.6803 - 1378586326.6802 = 8.7976455688477E-5
Output for 5.4.6
1378586326.7419 - 1378586326.7418 = 8.6069107055664E-5
Output for 5.4.5
1378586326.8026 - 1378586326.8025 = 0.00010108947753906
Output for 5.4.4
1378586326.8632 - 1378586326.8631 = 8.6069107055664E-5
Output for 5.4.3
1378586326.9253 - 1378586326.9252 = 0.00010490417480469
Output for 5.4.2
1378586327.0508 - 1378586327.0507 = 0.00010800361633301
Output for 5.4.1
1378586327.113 - 1378586327.1129 = 0.00011897087097168
Output for 5.4.0
1378586327.1757 - 1378586327.1757 = 8.5830688476562E-5
Output for 5.3.29
1410439115.7789 - 1410439115.7788 = 0.00011515617370605
Output for 5.3.28
1410439114.064 - 1410439114.0639 = 8.9168548583984E-5
Output for 5.3.27
1378586327.2418 - 1378586327.2416 = 0.00012493133544922
Output for 5.3.26
1378586327.306 - 1378586327.3059 = 0.00010395050048828
Output for 5.3.25
1378586327.3701 - 1378586327.3699 = 0.00011992454528809
Output for 5.3.24
1378586327.4326 - 1378586327.4325 = 0.00010299682617188
Output for 5.3.23
1378586327.4984 - 1378586327.4983 = 0.00010299682617188
Output for 5.3.22
1378586327.5623 - 1378586327.5622 = 0.00010299682617188
Output for 5.3.21
1378586327.6318 - 1378586327.6317 = 0.00010800361633301
Output for 5.3.20
1378586327.6959 - 1378586327.6958 = 0.00010490417480469
Output for 5.3.19
1378586327.7624 - 1378586327.7623 = 0.00010514259338379
Output for 5.3.18
1378586327.8247 - 1378586327.8246 = 0.00010299682617188
Output for 5.3.17
1378586327.8888 - 1378586327.8887 = 0.00010395050048828
Output for 5.3.16
1378586327.9542 - 1378586327.9541 = 0.00010514259338379
Output for 5.3.15
1378586328.0788 - 1378586328.0787 = 0.00012397766113281
Output for 5.3.14
1378586328.1413 - 1378586328.1411 = 0.00010299682617188
Output for 5.3.13
1378586328.2068 - 1378586328.2067 = 0.00010895729064941
Output for 5.3.12
1378586328.2728 - 1378586328.2727 = 0.00010204315185547
Output for 5.3.11
1378586328.3417 - 1378586328.3415 = 0.00020909309387207
Output for 5.3.10
1378586328.4088 - 1378586328.4087 = 0.00010323524475098
Output for 5.3.9
1378586328.472 - 1378586328.4719 = 0.00011897087097168
Output for 5.3.8
1378586328.5385 - 1378586328.5384 = 0.00010800361633301
Output for 5.3.7
1378586328.6035 - 1378586328.6034 = 0.0001070499420166
Output for 5.3.6
1378586328.6688 - 1378586328.6687 = 0.00010299682617188
Output for 5.3.5
1378586328.7302 - 1378586328.7301 = 0.00010108947753906
Output for 5.3.4
1378586328.7949 - 1378586328.7948 = 0.0001060962677002
Output for 5.3.3
1378586328.8602 - 1378586328.86 = 0.00015997886657715
Output for 5.3.2
1378586328.9266 - 1378586328.9265 = 0.00012397766113281
Output for 5.3.1
1378586329.0516 - 1378586329.0515 = 0.00010085105895996
Output for 5.3.0
1378586329.1154 - 1378586329.1153 = 0.00012397766113281
Output for 5.2.17
1378586329.1686 - 1378586329.1684 = 0.00018906593322754
Output for 5.2.16
1378586329.2195 - 1378586329.2193 = 0.00016689300537109
Output for 5.2.15
1378586329.2731 - 1378586329.2729 = 0.00018692016601562
Output for 5.2.14
1378586329.3251 - 1378586329.3249 = 0.0001671314239502
Output for 5.2.13
1378586329.3762 - 1378586329.376 = 0.0001528263092041
Output for 5.2.12
1378586329.4266 - 1378586329.4265 = 0.00014805793762207
Output for 5.2.11
1378586329.4786 - 1378586329.4784 = 0.00014710426330566
Output for 5.2.10
1378586329.5294 - 1378586329.5293 = 0.00014710426330566
Output for 5.2.9
1378586329.5786 - 1378586329.5784 = 0.00020503997802734
Output for 5.2.8
1378586329.6306 - 1378586329.6304 = 0.0001518726348877
Output for 5.2.7
1378586329.6828 - 1378586329.6826 = 0.00014400482177734
Output for 5.2.6
1378586329.7356 - 1378586329.7353 = 0.00022101402282715
Output for 5.2.5
1378586329.7892 - 1378586329.789 = 0.0001680850982666
Output for 5.2.4
1378586329.84 - 1378586329.8399 = 0.00016689300537109
Output for 5.2.3
1378586329.8988 - 1378586329.8987 = 0.00014901161193848
Output for 5.2.2
1378586329.9492 - 1378586329.9491 = 0.00015115737915039
Output for 5.2.1
1378586330.0012 - 1378586330.0011 = 0.00014305114746094
Output for 5.2.0
1378586330.0553 - 1378586330.0551 = 0.00015401840209961
Output for 5.1.6
1378586330.1029 - 1378586330.1026 = 0.00024509429931641
Output for 5.1.5
1378586330.1777 - 1378586330.1776 = 0.00014591217041016
Output for 5.1.4
1378586330.2243 - 1378586330.2242 = 0.00014710426330566
Output for 5.1.3
1378586330.2698 - 1378586330.2697 = 0.00014305114746094
Output for 5.1.2
1378586330.3166 - 1378586330.3165 = 0.00014781951904297
Output for 5.1.1
1378586330.3642 - 1378586330.3641 = 0.00014090538024902
Output for 5.1.0
1378586330.4082 - 1378586330.4081 = 0.00014090538024902
Output for 5.0.5
1378586330.4481 - 1378586330.4478 = 0.00026202201843262
Output for 5.0.4
1378586330.4851 - 1378586330.4848 = 0.00025200843811035
Output for 5.0.3
1378586330.5331 - 1378586330.5328 = 0.00023221969604492
Output for 5.0.2
1378586330.5701 - 1378586330.5697 = 0.00034308433532715
Output for 5.0.1
1378586330.6085 - 1378586330.6082 = 0.00023317337036133
Output for 5.0.0
1378586330.6572 - 1378586330.6569 = 0.00025296211242676
Output for 4.4.9
1378586330.6882 - 1378586330.688 = 0.00024008750915527
Output for 4.4.8
1378586330.7187 - 1378586330.7185 = 0.0002288818359375
Output for 4.4.7
1378586330.7502 - 1378586330.75 = 0.00022411346435547
Output for 4.4.6
1378586330.7836 - 1378586330.7833 = 0.00029301643371582
Output for 4.4.5
1378586330.8139 - 1378586330.8137 = 0.00022506713867188
Output for 4.4.4
1378586330.8583 - 1378586330.8579 = 0.00041913986206055
Output for 4.4.3
1378586330.8882 - 1378586330.8879 = 0.00023388862609863
Output for 4.4.2
1378586330.9185 - 1378586330.9181 = 0.00039005279541016
Output for 4.4.1
1378586330.9502 - 1378586330.9499 = 0.00029993057250977
Output for 4.4.0
1378586330.9916 - 1378586330.9913 = 0.00023293495178223
Output for 4.3.11
1378586331.0212 - 1378586331.021 = 0.00026607513427734
Output for 4.3.10
1378586331.051 - 1378586331.0508 = 0.00023698806762695
Output for 4.3.9
1378586331.0799 - 1378586331.0797 = 0.00025296211242676
Output for 4.3.8
1378586331.1199 - 1378586331.1197 = 0.00023913383483887
Output for 4.3.7
1378586331.1486 - 1378586331.1483 = 0.0003211498260498
Output for 4.3.6
1378586331.182 - 1378586331.1818 = 0.00023388862609863
Output for 4.3.5
1378586331.2122 - 1378586331.2119 = 0.00027012825012207
Output for 4.3.4
1378586331.2498 - 1378586331.2496 = 0.00022196769714355
Output for 4.3.3
1378586331.2805 - 1378586331.2802 = 0.00021696090698242
Output for 4.3.2
1378586331.3119 - 1378586331.3117 = 0.00025010108947754
Output for 4.3.1
1378586331.3422 - 1378586331.3419 = 0.00023007392883301
Output for 4.3.0
1442785745.7045 - 1442785745.7043 = 0.00013518333435059