3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php set_time_limit(10); $startTime = microtime(true); $newTime = $startTime + 10; // + 10 sec while (true) { if($newTime >= $startTime) { break; } } echo 'Total execution time in seconds: ' . (microtime(true) - $startTime) . ' ' . $startTime . ' '. $newTime;
based on TLVHS
Output for 7.1.0
Total execution time in seconds: 9.5367431640625E-7 1412961618.004 1412961628.004
Output for 7.0.14
Total execution time in seconds: 9.5367431640625E-7 1412961618.0039 1412961628.0039
Output for 7.0.6
Total execution time in seconds: 9.5367431640625E-7 1462263784.1613 1462263794.1613
Output for 7.0.5
Total execution time in seconds: 1.9073486328125E-6 1459631367.3528 1459631377.3528
Output for 7.0.4
Total execution time in seconds: 9.5367431640625E-7 1457599548.7087 1457599558.7087
Output for 7.0.3
Total execution time in seconds: 9.5367431640625E-7 1458293128.3906 1458293138.3906
Output for 7.0.2
Total execution time in seconds: 9.5367431640625E-7 1458660243.3109 1458660253.3109
Output for 7.0.1
Total execution time in seconds: 9.5367431640625E-7 1458763170.9495 1458763180.9495
Output for 7.0.0
Total execution time in seconds: 9.5367431640625E-7 1459027913.1748 1459027923.1748
Output for 5.6.28
Total execution time in seconds: 2.8610229492188E-6 1412961618.0045 1412961628.0045
Output for 5.6.21
Total execution time in seconds: 2.1457672119141E-6 1462160551.1724 1462160561.1724
Output for 5.6.20
Total execution time in seconds: 2.1457672119141E-6 1460232538.6057 1460232548.6057
Output for 5.6.19
Total execution time in seconds: 2.1457672119141E-6 1457369585.7763 1457369595.7763
Output for 5.6.18
Total execution time in seconds: 1.9073486328125E-6 1458003539.4174 1458003549.4174
Output for 5.6.17
Total execution time in seconds: 2.1457672119141E-6 1458394749.9704 1458394759.9704
Output for 5.6.16
Total execution time in seconds: 1.9073486328125E-6 1459117404.1949 1459117414.1949
Output for 5.6.15
Total execution time in seconds: 3.0994415283203E-6 1459207460.8564 1459207470.8564
Output for 5.6.14
Total execution time in seconds: 1.9073486328125E-6 1459561402.7635 1459561412.7635
Output for 5.6.13
Total execution time in seconds: 1.9073486328125E-6 1460698663.1064 1460698673.1064
Output for 5.6.12
Total execution time in seconds: 2.1457672119141E-6 1461093962.9456 1461093972.9456
Output for 5.6.11
Total execution time in seconds: 2.8610229492188E-6 1461378470.8451 1461378480.8451
Output for 5.6.10
Total execution time in seconds: 1.9073486328125E-6 1461557567.2916 1461557577.2916
Output for 5.6.9
Total execution time in seconds: 2.1457672119141E-6 1461748306.7204 1461748316.7204
Output for 5.6.8
Total execution time in seconds: 1.9073486328125E-6 1461950396.3777 1461950406.3777
Output for 5.5.35
Total execution time in seconds: 2.8610229492188E-6 1463902226.5154 1463902236.5154
Output for 5.5.34
Total execution time in seconds: 3.0994415283203E-6 1460327302.1641 1460327312.1641
Output for 5.5.33
Total execution time in seconds: 3.0994415283203E-6 1457466601.7124 1457466611.7124
Output for 5.5.32
Total execution time in seconds: 1.9073486328125E-6 1458181979.0188 1458181989.0188
Output for 5.5.31
Total execution time in seconds: 2.1457672119141E-6 1458491066.0061 1458491076.0061
Output for 5.5.30
Total execution time in seconds: 1.9073486328125E-6 1459473662.3385 1459473672.3385
Output for 5.5.29
Total execution time in seconds: 2.8610229492188E-6 1460835893.0814 1460835903.0814
Output for 5.5.28
Total execution time in seconds: 2.8610229492188E-6 1461192115.9042 1461192125.9042
Output for 5.5.27
Total execution time in seconds: 1.9073486328125E-6 1461286769.8655 1461286779.8655
Output for 5.5.26
Total execution time in seconds: 1.9073486328125E-6 1461652747.3294 1461652757.3294
Output for 5.5.25
Total execution time in seconds: 3.0994415283203E-6 1461848272.7379 1461848282.7379
Output for 5.5.24
Total execution time in seconds: 2.1457672119141E-6 1464034673.1921 1464034683.1921
Output for 5.4.45
Total execution time in seconds: 2.1457672119141E-6 1442751610.2349 1442751620.2349
Output for 5.4.44
Total execution time in seconds: 6.9141387939453E-6 1439789191.1328 1439789201.1328
Output for 5.4.43
Total execution time in seconds: 7.8678131103516E-6 1439789186.8951 1439789196.8951
Output for 5.4.42
Total execution time in seconds: 5.9604644775391E-6 1436411491.2234 1436411501.2234
Output for 5.4.41
Total execution time in seconds: 5.0067901611328E-6 1436411489.2899 1436411499.2899
Output for 5.4.40
Total execution time in seconds: 5.9604644775391E-6 1436411484.6873 1436411494.6873
Output for 5.4.39
Total execution time in seconds: 4.7683715820312E-6 1436411484.3134 1436411494.3134
Output for 5.4.38
Total execution time in seconds: 5.9604644775391E-6 1436411482.9347 1436411492.9347
Output for 5.4.37
Total execution time in seconds: 5.0067901611328E-6 1436411480.8256 1436411490.8256
Output for 5.4.36
Total execution time in seconds: 2.8610229492188E-6 1436411480.4748 1436411490.4748
Output for 5.4.35
Total execution time in seconds: 5.0067901611328E-6 1436411480.1411 1436411490.1411
Output for 5.4.34
Total execution time in seconds: 5.0067901611328E-6 1436411479.7724 1436411489.7724
Output for 5.4.32
Total execution time in seconds: 4.0531158447266E-6 1412961623.4877 1412961633.4877
Output for 5.4.31
Total execution time in seconds: 4.0531158447266E-6 1412961623.5336 1412961633.5336
Output for 5.4.30
Total execution time in seconds: 2.8610229492188E-6 1412961623.5801 1412961633.5801
Output for 5.4.29
Total execution time in seconds: 3.0994415283203E-6 1412961623.6257 1412961633.6257
Output for 5.4.28
Total execution time in seconds: 4.0531158447266E-6 1412961623.6715 1412961633.6715
Output for 5.4.27
Total execution time in seconds: 2.8610229492188E-6 1412961623.7206 1412961633.7206
Output for 5.4.26
Total execution time in seconds: 2.8610229492188E-6 1412961623.7685 1412961633.7685
Output for 5.4.25
Total execution time in seconds: 2.8610229492188E-6 1412961623.8235 1412961633.8235
Output for 5.4.24
Total execution time in seconds: 3.0994415283203E-6 1412961623.8689 1412961633.8689
Output for 5.4.23
Total execution time in seconds: 3.0994415283203E-6 1412961623.9141 1412961633.9141
Output for 5.4.22
Total execution time in seconds: 3.0994415283203E-6 1412961623.9618 1412961633.9618
Output for 5.4.21
Total execution time in seconds: 5.0067901611328E-6 1412961624.0121 1412961634.0121
Output for 5.4.20
Total execution time in seconds: 2.8610229492188E-6 1412961624.0588 1412961634.0588
Output for 5.4.19
Total execution time in seconds: 5.0067901611328E-6 1412961624.1072 1412961634.1072
Output for 5.4.18
Total execution time in seconds: 2.8610229492188E-6 1412961624.1677 1412961634.1677
Output for 5.4.17
Total execution time in seconds: 4.0531158447266E-6 1412961624.2127 1412961634.2127
Output for 5.4.16
Total execution time in seconds: 4.0531158447266E-6 1412961624.2611 1412961634.2611
Output for 5.4.15
Total execution time in seconds: 3.0994415283203E-6 1412961624.3093 1412961634.3093
Output for 5.4.14
Total execution time in seconds: 4.0531158447266E-6 1412961624.3581 1412961634.3581
Output for 5.4.13
Total execution time in seconds: 4.0531158447266E-6 1412961624.4042 1412961634.4042
Output for 5.4.12
Total execution time in seconds: 3.0994415283203E-6 1412961624.4476 1412961634.4476
Output for 5.4.11
Total execution time in seconds: 4.0531158447266E-6 1412961624.4902 1412961634.4902
Output for 5.4.10
Total execution time in seconds: 2.8610229492188E-6 1412961624.5352 1412961634.5352
Output for 5.4.9
Total execution time in seconds: 3.0994415283203E-6 1412961624.5799 1412961634.5799
Output for 5.4.8
Total execution time in seconds: 2.8610229492188E-6 1412961624.6279 1412961634.6279
Output for 5.4.7
Total execution time in seconds: 3.0994415283203E-6 1412961624.6703 1412961634.6703
Output for 5.4.6
Total execution time in seconds: 3.0994415283203E-6 1412961624.7151 1412961634.7151
Output for 5.4.5
Total execution time in seconds: 3.0994415283203E-6 1412961624.7581 1412961634.7581
Output for 5.4.4
Total execution time in seconds: 2.8610229492188E-6 1412961624.803 1412961634.803
Output for 5.4.3
Total execution time in seconds: 3.0994415283203E-6 1412961624.8468 1412961634.8468
Output for 5.4.2
Total execution time in seconds: 3.0994415283203E-6 1412961624.8906 1412961634.8906
Output for 5.4.1
Total execution time in seconds: 3.0994415283203E-6 1412961624.9465 1412961634.9465
Output for 5.4.0
Total execution time in seconds: 4.0531158447266E-6 1412961624.9902 1412961634.9902
Output for 5.3.29
Total execution time in seconds: 4.0531158447266E-6 1412961625.0371 1412961635.0371
Output for 5.3.28
Total execution time in seconds: 5.0067901611328E-6 1412961625.0858 1412961635.0858
Output for 5.3.27
Total execution time in seconds: 5.9604644775391E-6 1412961625.138 1412961635.138
Output for 5.3.26
Total execution time in seconds: 3.814697265625E-6 1412961625.1897 1412961635.1897
Output for 5.3.25
Total execution time in seconds: 5.9604644775391E-6 1412961625.2408 1412961635.2408
Output for 5.3.24
Total execution time in seconds: 4.0531158447266E-6 1412961625.29 1412961635.29
Output for 5.3.23
Total execution time in seconds: 4.0531158447266E-6 1412961625.3386 1412961635.3386
Output for 5.3.22
Total execution time in seconds: 5.0067901611328E-6 1412961625.3868 1412961635.3868
Output for 5.3.21
Total execution time in seconds: 4.0531158447266E-6 1412961625.4358 1412961635.4358
Output for 5.3.20
Total execution time in seconds: 4.0531158447266E-6 1412961625.4815 1412961635.4815
Output for 5.3.19
Total execution time in seconds: 4.0531158447266E-6 1412961625.5275 1412961635.5275
Output for 5.3.18
Total execution time in seconds: 4.0531158447266E-6 1412961625.5742 1412961635.5742
Output for 5.3.17
Total execution time in seconds: 4.0531158447266E-6 1412961625.6237 1412961635.6237
Output for 5.3.16
Total execution time in seconds: 4.0531158447266E-6 1412961625.6691 1412961635.6691
Output for 5.3.15
Total execution time in seconds: 5.0067901611328E-6 1412961625.7159 1412961635.7159
Output for 5.3.14
Total execution time in seconds: 5.0067901611328E-6 1412961625.7602 1412961635.7602
Output for 5.3.13
Total execution time in seconds: 4.0531158447266E-6 1412961625.8085 1412961635.8085
Output for 5.3.12
Total execution time in seconds: 5.0067901611328E-6 1412961625.8567 1412961635.8567
Output for 5.3.11
Total execution time in seconds: 4.0531158447266E-6 1412961625.9237 1412961635.9237
Output for 5.3.10
Total execution time in seconds: 5.0067901611328E-6 1412961625.9757 1412961635.9757
Output for 5.3.9
Total execution time in seconds: 4.0531158447266E-6 1412961626.0198 1412961636.0198
Output for 5.3.8
Total execution time in seconds: 4.0531158447266E-6 1412961626.0648 1412961636.0648
Output for 5.3.7
Total execution time in seconds: 4.0531158447266E-6 1412961626.1127 1412961636.1127
Output for 5.3.6
Total execution time in seconds: 3.0994415283203E-6 1412961626.1569 1412961636.1569
Output for 5.3.5
Total execution time in seconds: 4.0531158447266E-6 1412961626.2003 1412961636.2003
Output for 5.3.4
Total execution time in seconds: 5.0067901611328E-6 1412961626.2449 1412961636.2449
Output for 5.3.3
Total execution time in seconds: 4.0531158447266E-6 1412961626.288 1412961636.288
Output for 5.3.2
Total execution time in seconds: 4.0531158447266E-6 1412961626.3356 1412961636.3356
Output for 5.3.1
Total execution time in seconds: 3.814697265625E-6 1412961626.3789 1412961636.3789
Output for 5.3.0
Total execution time in seconds: 5.0067901611328E-6 1412961626.4285 1412961636.4285
Output for 5.2.17
Total execution time in seconds: 5.0067901611328E-6 1412961626.469 1412961636.469
Output for 5.2.16
Total execution time in seconds: 5.0067901611328E-6 1412961626.5052 1412961636.5052
Output for 5.2.15
Total execution time in seconds: 5.0067901611328E-6 1412961626.5429 1412961636.5429
Output for 5.2.14
Total execution time in seconds: 4.0531158447266E-6 1412961626.5868 1412961636.5868
Output for 5.2.13
Total execution time in seconds: 3.0994415283203E-6 1412961626.6312 1412961636.6312
Output for 5.2.12
Total execution time in seconds: 4.0531158447266E-6 1412961626.6766 1412961636.6766
Output for 5.2.11
Total execution time in seconds: 3.814697265625E-6 1412961626.7169 1412961636.7169
Output for 5.2.10
Total execution time in seconds: 5.9604644775391E-6 1412961626.7585 1412961636.7585
Output for 5.2.9
Total execution time in seconds: 4.0531158447266E-6 1412961626.796 1412961636.796
Output for 5.2.8
Total execution time in seconds: 5.0067901611328E-6 1412961626.8333 1412961636.8333
Output for 5.2.7
Total execution time in seconds: 5.0067901611328E-6 1412961626.8784 1412961636.8784
Output for 5.2.6
Total execution time in seconds: 4.0531158447266E-6 1412961626.9203 1412961636.9203
Output for 5.2.5
Total execution time in seconds: 5.0067901611328E-6 1412961626.9608 1412961636.9608
Output for 5.2.4
Total execution time in seconds: 5.9604644775391E-6 1412961627.0042 1412961637.0042
Output for 5.2.3
Total execution time in seconds: 6.1988830566406E-6 1412961627.0439 1412961637.0439
Output for 5.2.2
Total execution time in seconds: 7.1525573730469E-6 1412961627.0826 1412961637.0826
Output for 5.2.1
Total execution time in seconds: 5.9604644775391E-06 1412961627.1212 1412961637.1212
Output for 5.2.0
Total execution time in seconds: 5.0067901611328E-06 1412961627.158 1412961637.158
Output for 5.1.6
Total execution time in seconds: 5.0067901611328E-06 1412961627.1913 1412961637.1913
Output for 5.1.5
Total execution time in seconds: 5.0067901611328E-06 1412961627.222 1412961637.222
Output for 5.1.4
Total execution time in seconds: 5.0067901611328E-06 1412961627.2527 1412961637.2527
Output for 5.1.3
Total execution time in seconds: 5.9604644775391E-06 1412961627.2854 1412961637.2854
Output for 5.1.2
Total execution time in seconds: 4.0531158447266E-06 1412961627.3175 1412961637.3175
Output for 5.1.1
Total execution time in seconds: 5.0067901611328E-06 1412961627.3492 1412961637.3492
Output for 5.1.0
Total execution time in seconds: 4.0531158447266E-06 1412961627.3931 1412961637.3931
Output for 5.0.5
Total execution time in seconds: 4.0531158447266E-06 1412961627.4265 1412961637.4265
Output for 5.0.4
Total execution time in seconds: 4.0531158447266E-06 1412961627.4557 1412961637.4557
Output for 5.0.3
Total execution time in seconds: 4.0531158447266E-06 1412961627.4978 1412961637.4978
Output for 5.0.2
Total execution time in seconds: 5.0067901611328E-06 1412961627.5264 1412961637.5264
Output for 5.0.1
Total execution time in seconds: 5.9604644775391E-06 1412961627.5545 1412961637.5545
Output for 5.0.0
Total execution time in seconds: 5.9604644775391E-06 1412961627.5933 1412961637.5933
Output for 4.4.9
Total execution time in seconds: 1.3999999999958E-05 0.61891600 1412961627 10.618916
Output for 4.4.8
Total execution time in seconds: 1.400000000007E-05 0.63951600 1412961627 10.639516
Output for 4.4.7
Total execution time in seconds: 1.299999999993E-05 0.66279200 1412961627 10.662792
Output for 4.4.6
Total execution time in seconds: 1.3000000000041E-05 0.68332300 1412961627 10.683323
Output for 4.4.5
Total execution time in seconds: 1.4999999999987E-05 0.70369900 1412961627 10.703699
Output for 4.4.4
Total execution time in seconds: 1.3999999999958E-05 0.73436400 1412961627 10.734364
Output for 4.4.3
Total execution time in seconds: 1.3999999999958E-05 0.75523600 1412961627 10.755236
Output for 4.4.2
Total execution time in seconds: 1.2000000000012E-05 0.77629500 1412961627 10.776295
Output for 4.4.1
Total execution time in seconds: 1.0999999999983E-05 0.79718400 1412961627 10.797184
Output for 4.4.0
Total execution time in seconds: 1.6000000000016E-05 0.82643800 1412961627 10.826438
Output for 4.3.11
Total execution time in seconds: 1.400000000007E-05 0.86200700 1412961627 10.862007
Output for 4.3.10
Total execution time in seconds: 1.0999999999983E-05 0.88990300 1412961627 10.889903
Output for 4.3.9
Total execution time in seconds: 2.0999999999938E-05 0.92233200 1412961627 10.922332
Output for 4.3.8
Total execution time in seconds: 1.8999999999991E-05 0.95400700 1412961627 10.954007
Output for 4.3.7
Total execution time in seconds: 2.000000000002E-05 0.97726700 1412961627 10.977267
Output for 4.3.6
Total execution time in seconds: 1.8000000000074E-05 0.99987900 1412961627 10.999879
Output for 4.3.5
Total execution time in seconds: 2.1E-05 0.02185700 1412961628 10.021857
Output for 4.3.4
Total execution time in seconds: 1.8999999999998E-05 0.05621600 1412961628 10.056216
Output for 4.3.3
Total execution time in seconds: 2.2000000000008E-05 0.08301800 1412961628 10.083018
Output for 4.3.2
Total execution time in seconds: 1.8999999999991E-05 0.10291400 1412961628 10.102914
Output for 4.3.1
Total execution time in seconds: 2.1999999999994E-05 0.13144100 1412961628 10.131441
Output for 4.3.0
Total execution time in seconds: 1.0999999999983E-05 0.37959100 1442751607 10.379591