3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_time_limit(10); $startTime = microtime(true); $newTime = strtotime('+10 second'); while (true) { if($newTime >= $startTime) { break; } } echo 'Total execution time in seconds: ' . (microtime(true) - $startTime) . ' ' . $startTime . ' '. $newTime;
Output for 7.2.24, 7.3.12
Total execution time in seconds: 4.7922134399414E-5 1412961565.0001 1412961575
Output for 7.3.11
Total execution time in seconds: 7.4863433837891E-5 1412961565.0002 1412961575
Output for 7.3.10
Total execution time in seconds: 5.1021575927734E-5 1412961565.0001 1412961575
Output for 7.3.1, 7.3.9
Total execution time in seconds: 6.7949295043945E-5 1412961565.0002 1412961575
Output for 7.1.26, 7.2.8, 7.3.8
Total execution time in seconds: 3.6001205444336E-5 1412961565.0001 1412961575
Output for 7.3.7
Total execution time in seconds: 4.2200088500977E-5 1412961565.0001 1412961575
Output for 7.3.6
Total execution time in seconds: 6.0081481933594E-5 1412961565.0002 1412961575
Output for 7.3.0, 7.3.5
Total execution time in seconds: 4.1961669921875E-5 1412961565.0001 1412961575
Output for 7.3.4
Total execution time in seconds: 6.3896179199219E-5 1412961565.0002 1412961575
Output for 7.3.3
Total execution time in seconds: 5.1975250244141E-5 1412961565.0002 1412961575
Output for 7.3.2
Total execution time in seconds: 3.2901763916016E-5 1412961565.0001 1412961575
Output for 7.2.23
Total execution time in seconds: 5.6028366088867E-5 1412961565.0002 1412961575
Output for 7.2.22
Total execution time in seconds: 4.5061111450195E-5 1412961565.0001 1412961575
Output for 7.2.21
Total execution time in seconds: 6.9856643676758E-5 1412961565.0002 1412961575
Output for 7.2.3, 7.2.15, 7.2.20
Total execution time in seconds: 4.1007995605469E-5 1412961565.0001 1412961575
Output for 7.2.19
Total execution time in seconds: 4.0769577026367E-5 1412961565.0001 1412961575
Output for 7.1.31, 7.2.18
Total execution time in seconds: 4.6014785766602E-5 1412961565.0001 1412961575
Output for 7.2.13, 7.2.17
Total execution time in seconds: 3.9815902709961E-5 1412961565.0001 1412961575
Output for 7.2.16
Total execution time in seconds: 7.6055526733398E-5 1412961565.0002 1412961575
Output for 7.2.14
Total execution time in seconds: 2.9087066650391E-5 1412961565.0001 1412961575
Output for 7.2.0, 7.2.12
Total execution time in seconds: 4.3869018554688E-5 1412961565.0001 1412961575
Output for 7.2.11
Total execution time in seconds: 3.1948089599609E-5 1412961565.0001 1412961575
Output for 7.2.6, 7.2.10
Total execution time in seconds: 3.504753112793E-5 1412961565.0001 1412961575
Output for 7.1.29, 7.2.5, 7.2.9
Total execution time in seconds: 3.814697265625E-5 1412961565.0001 1412961575
Output for 7.2.7
Total execution time in seconds: 3.7193298339844E-5 1412961565.0001 1412961575
Output for 7.2.4
Total execution time in seconds: 3.4093856811523E-5 1412961565.0001 1412961575
Output for 7.2.1 - 7.2.2
Total execution time in seconds: 3.7908554077148E-5 1412961565.0001 1412961575
Output for 7.1.33
Total execution time in seconds: 4.2915344238281E-5 1412961565.0001 1412961575
Output for 7.1.32
Total execution time in seconds: 2.6941299438477E-5 1412961565.0001 1412961575
Output for 7.1.30
Total execution time in seconds: 3.3140182495117E-5 1412961565.0001 1412961575
Output for 7.1.28
Total execution time in seconds: 6.6995620727539E-5 1412961565.0002 1412961575
Output for 7.1.27
Total execution time in seconds: 7.2956085205078E-5 1412961565.0002 1412961575
Output for 7.1.25
Total execution time in seconds: 4.9829483032227E-5 1412961565.0001 1412961575
Output for 7.1.7
Total execution time in seconds: 2.4795532226562E-5 1412961565.0026 1412961575
Output for 7.1.6
Total execution time in seconds: 2.8848648071289E-5 1412961565.0057 1412961575
Output for 7.1.5
Total execution time in seconds: 4.6968460083008E-5 1412961565.0111 1412961575
Output for 7.1.0
Total execution time in seconds: 1.6927719116211E-5 1412961565.0038 1412961575
Output for 7.0.20
Total execution time in seconds: 3.2186508178711E-5 1412961565.0027 1412961575
Output for 7.0.14
Total execution time in seconds: 1.8119812011719E-5 1412961565.0036 1412961575
Output for 7.0.6
Total execution time in seconds: 1.7166137695312E-5 1462263783.2264 1462263793
Output for 7.0.5
Total execution time in seconds: 2.3841857910156E-5 1459631366.4231 1459631376
Output for 7.0.4
Total execution time in seconds: 1.6927719116211E-5 1457599547.7089 1457599557
Output for 7.0.3
Total execution time in seconds: 1.8119812011719E-5 1458293127.3068 1458293137
Output for 7.0.2
Total execution time in seconds: 1.1920928955078E-5 1458660242.4125 1458660252
Output for 7.0.1
Total execution time in seconds: 1.4066696166992E-5 1458763170.0053 1458763180
Output for 7.0.0
Total execution time in seconds: 1.6212463378906E-5 1459027912.181 1459027922
Output for 5.6.28
Total execution time in seconds: 2.5033950805664E-5 1412961565.0045 1412961575
Output for 5.6.21
Total execution time in seconds: 2.0980834960938E-5 1462160550.1784 1462160560
Output for 5.6.20
Total execution time in seconds: 2.598762512207E-5 1460232537.6499 1460232547
Output for 5.6.19
Total execution time in seconds: 1.8835067749023E-5 1457369585.0172 1457369595
Output for 5.6.18
Total execution time in seconds: 2.2172927856445E-5 1458003538.2707 1458003548
Output for 5.6.17
Total execution time in seconds: 2.8133392333984E-5 1458394748.9907 1458394758
Output for 5.6.16
Total execution time in seconds: 2.0027160644531E-5 1459117403.1269 1459117413
Output for 5.6.15
Total execution time in seconds: 2.4080276489258E-5 1459207459.8567 1459207469
Output for 5.6.14
Total execution time in seconds: 2.598762512207E-5 1459561401.847 1459561411
Output for 5.6.13
Total execution time in seconds: 2.598762512207E-5 1460698662.2427 1460698672
Output for 5.6.12
Total execution time in seconds: 1.7881393432617E-5 1461093962.2329 1461093972
Output for 5.6.11
Total execution time in seconds: 2.4080276489258E-5 1461378469.9618 1461378479
Output for 5.6.10
Total execution time in seconds: 2.0980834960938E-5 1461557566.367 1461557576
Output for 5.6.9
Total execution time in seconds: 1.9073486328125E-5 1461748305.812 1461748315
Output for 5.6.8
Total execution time in seconds: 2.0027160644531E-5 1461950395.5123 1461950405
Output for 5.5.35
Total execution time in seconds: 2.3126602172852E-5 1463902218.4665 1463902228
Output for 5.5.34
Total execution time in seconds: 2.5033950805664E-5 1460327301.2588 1460327311
Output for 5.5.33
Total execution time in seconds: 2.3841857910156E-5 1457466600.8167 1457466610
Output for 5.5.32
Total execution time in seconds: 1.9073486328125E-5 1458181977.9841 1458181987
Output for 5.5.31
Total execution time in seconds: 1.9073486328125E-5 1458491065.0805 1458491075
Output for 5.5.30
Total execution time in seconds: 1.8835067749023E-5 1459473661.4365 1459473671
Output for 5.5.29
Total execution time in seconds: 3.2901763916016E-5 1460835892.1363 1460835902
Output for 5.5.28
Total execution time in seconds: 2.6941299438477E-5 1461192114.8469 1461192124
Output for 5.5.27
Total execution time in seconds: 2.0980834960938E-5 1461286768.8997 1461286778
Output for 5.5.26
Total execution time in seconds: 1.6927719116211E-5 1461652746.5939 1461652756
Output for 5.5.25
Total execution time in seconds: 2.4080276489258E-5 1461848271.8105 1461848281
Output for 5.5.24
Total execution time in seconds: 2.4080276489258E-5 1464097626.7193 1464097636
Output for 5.4.45
Total execution time in seconds: 1.6927719116211E-5 1442751607.7343 1442751617
Output for 5.4.44
Total execution time in seconds: 4.1007995605469E-5 1439789166.4963 1439789176
Output for 5.4.43
Total execution time in seconds: 4.2915344238281E-5 1439789162.2629 1439789172
Output for 5.4.42
Total execution time in seconds: 3.2901763916016E-5 1436411457.3467 1436411467
Output for 5.4.41
Total execution time in seconds: 3.6954879760742E-5 1436411455.5958 1436411465
Output for 5.4.40
Total execution time in seconds: 3.4093856811523E-5 1436411451.6992 1436411461
Output for 5.4.39
Total execution time in seconds: 4.5061111450195E-5 1436411451.2695 1436411461
Output for 5.4.38
Total execution time in seconds: 3.6001205444336E-5 1436411449.7303 1436411459
Output for 5.4.37
Total execution time in seconds: 4.2915344238281E-5 1436411447.4203 1436411457
Output for 5.4.36
Total execution time in seconds: 4.4107437133789E-5 1436411447.0817 1436411457
Output for 5.4.35
Total execution time in seconds: 3.4809112548828E-5 1436411446.7399 1436411456
Output for 5.4.34
Total execution time in seconds: 3.3855438232422E-5 1436411446.3963 1436411456
Output for 5.4.32
Total execution time in seconds: 3.0040740966797E-5 1412961571.984 1412961581
Output for 5.4.31
Total execution time in seconds: 2.0980834960938E-5 1412961572.0337 1412961582
Output for 5.4.30
Total execution time in seconds: 2.1934509277344E-5 1412961572.0802 1412961582
Output for 5.4.29
Total execution time in seconds: 2.0980834960938E-5 1412961572.1297 1412961582
Output for 5.4.28
Total execution time in seconds: 2.0980834960938E-5 1412961572.1756 1412961582
Output for 5.4.27
Total execution time in seconds: 3.0994415283203E-5 1412961572.2186 1412961582
Output for 5.4.26
Total execution time in seconds: 2.0980834960938E-5 1412961572.2637 1412961582
Output for 5.4.25
Total execution time in seconds: 2.0980834960938E-5 1412961572.3172 1412961582
Output for 5.4.24
Total execution time in seconds: 3.0994415283203E-5 1412961572.3618 1412961582
Output for 5.4.23
Total execution time in seconds: 2.0980834960938E-5 1412961572.4102 1412961582
Output for 5.4.22
Total execution time in seconds: 2.1934509277344E-5 1412961572.4562 1412961582
Output for 5.4.21
Total execution time in seconds: 2.6941299438477E-5 1412961572.5005 1412961582
Output for 5.4.20
Total execution time in seconds: 2.0980834960938E-5 1412961572.5494 1412961582
Output for 5.4.19
Total execution time in seconds: 2.0980834960938E-5 1412961572.5928 1412961582
Output for 5.4.18
Total execution time in seconds: 2.288818359375E-5 1412961572.6358 1412961582
Output for 5.4.17
Total execution time in seconds: 3.6954879760742E-5 1412961572.6794 1412961582
Output for 5.4.16
Total execution time in seconds: 3.9100646972656E-5 1412961572.7243 1412961582
Output for 5.4.15
Total execution time in seconds: 2.0027160644531E-5 1412961572.773 1412961582
Output for 5.4.14
Total execution time in seconds: 2.0980834960938E-5 1412961572.8246 1412961582
Output for 5.4.13
Total execution time in seconds: 3.0040740966797E-5 1412961572.8681 1412961582
Output for 5.4.12
Total execution time in seconds: 2.0027160644531E-5 1412961572.9109 1412961582
Output for 5.4.11
Total execution time in seconds: 2.0980834960938E-5 1412961572.9535 1412961582
Output for 5.4.10
Total execution time in seconds: 2.0027160644531E-5 1412961572.9969 1412961582
Output for 5.4.9
Total execution time in seconds: 2.0027160644531E-5 1412961573.0409 1412961583
Output for 5.4.8
Total execution time in seconds: 2.0980834960938E-5 1412961573.095 1412961583
Output for 5.4.7
Total execution time in seconds: 2.1219253540039E-5 1412961573.1385 1412961583
Output for 5.4.6
Total execution time in seconds: 1.9073486328125E-5 1412961573.1902 1412961583
Output for 5.4.5
Total execution time in seconds: 2.0980834960938E-5 1412961573.236 1412961583
Output for 5.4.4
Total execution time in seconds: 2.1219253540039E-5 1412961573.2879 1412961583
Output for 5.4.3
Total execution time in seconds: 2.0980834960938E-5 1412961573.3322 1412961583
Output for 5.4.2
Total execution time in seconds: 2.0980834960938E-5 1412961573.3787 1412961583
Output for 5.4.1
Total execution time in seconds: 3.1948089599609E-5 1412961573.4227 1412961583
Output for 5.4.0
Total execution time in seconds: 2.0980834960938E-5 1412961573.4678 1412961583
Output for 5.3.29
Total execution time in seconds: 4.6968460083008E-5 1412961573.5154 1412961583
Output for 5.3.28
Total execution time in seconds: 2.3126602172852E-5 1412961573.5717 1412961583
Output for 5.3.27
Total execution time in seconds: 2.0980834960938E-5 1412961573.6271 1412961583
Output for 5.3.26
Total execution time in seconds: 2.7894973754883E-5 1412961573.6786 1412961583
Output for 5.3.25
Total execution time in seconds: 2.0027160644531E-5 1412961573.7312 1412961583
Output for 5.3.24
Total execution time in seconds: 2.0027160644531E-5 1412961573.783 1412961583
Output for 5.3.23
Total execution time in seconds: 2.2172927856445E-5 1412961573.8378 1412961583
Output for 5.3.22
Total execution time in seconds: 2.0980834960938E-5 1412961573.8906 1412961583
Output for 5.3.21
Total execution time in seconds: 2.0980834960938E-5 1412961573.9402 1412961583
Output for 5.3.20
Total execution time in seconds: 2.1934509277344E-5 1412961573.9849 1412961583
Output for 5.3.19
Total execution time in seconds: 2.0980834960938E-5 1412961574.0309 1412961584
Output for 5.3.18
Total execution time in seconds: 2.1934509277344E-5 1412961574.0829 1412961584
Output for 5.3.17
Total execution time in seconds: 3.2901763916016E-5 1412961574.1284 1412961584
Output for 5.3.16
Total execution time in seconds: 2.0027160644531E-5 1412961574.1732 1412961584
Output for 5.3.15
Total execution time in seconds: 2.1934509277344E-5 1412961574.2179 1412961584
Output for 5.3.14
Total execution time in seconds: 2.0980834960938E-5 1412961574.2634 1412961584
Output for 5.3.13
Total execution time in seconds: 2.0027160644531E-5 1412961574.3145 1412961584
Output for 5.3.12
Total execution time in seconds: 2.0027160644531E-5 1412961574.3686 1412961584
Output for 5.3.11
Total execution time in seconds: 2.0980834960938E-5 1412961574.4175 1412961584
Output for 5.3.10
Total execution time in seconds: 3.6954879760742E-5 1412961574.4764 1412961584
Output for 5.3.9
Total execution time in seconds: 2.3126602172852E-5 1412961574.5331 1412961584
Output for 5.3.8
Total execution time in seconds: 2.6941299438477E-5 1412961574.5846 1412961584
Output for 5.3.7
Total execution time in seconds: 1.8835067749023E-5 1412961574.6307 1412961584
Output for 5.3.6
Total execution time in seconds: 1.9073486328125E-5 1412961574.6812 1412961584
Output for 5.3.5
Total execution time in seconds: 2.1219253540039E-5 1412961574.737 1412961584
Output for 5.3.4
Total execution time in seconds: 2.0027160644531E-5 1412961574.7855 1412961584
Output for 5.3.3
Total execution time in seconds: 2.0980834960938E-5 1412961574.836 1412961584
Output for 5.3.2
Total execution time in seconds: 2.2172927856445E-5 1412961574.8792 1412961584
Output for 5.3.1
Total execution time in seconds: 2.0027160644531E-5 1412961574.9315 1412961584
Output for 5.3.0
Total execution time in seconds: 1.9073486328125E-5 1412961574.975 1412961584
Output for 5.2.17
Total execution time in seconds: 2.4795532226562E-5 1412961575.0158 1412961585
Output for 5.2.16
Total execution time in seconds: 2.2172927856445E-5 1412961575.0576 1412961585
Output for 5.2.15
Total execution time in seconds: 2.0980834960938E-5 1412961575.1041 1412961585
Output for 5.2.14
Total execution time in seconds: 5.1975250244141E-5 1412961575.1616 1412961585
Output for 5.2.13
Total execution time in seconds: 2.8133392333984E-5 1412961575.2165 1412961585
Output for 5.2.12
Total execution time in seconds: 2.2172927856445E-5 1412961575.2603 1412961585
Output for 5.2.11
Total execution time in seconds: 2.0980834960938E-5 1412961575.3003 1412961585
Output for 5.2.10
Total execution time in seconds: 2.0980834960938E-5 1412961575.3402 1412961585
Output for 5.2.9
Total execution time in seconds: 2.598762512207E-5 1412961575.4005 1412961585
Output for 5.2.8
Total execution time in seconds: 2.4080276489258E-5 1412961575.4483 1412961585
Output for 5.2.7
Total execution time in seconds: 2.4080276489258E-5 1412961575.4926 1412961585
Output for 5.2.6
Total execution time in seconds: 2.288818359375E-5 1412961575.5355 1412961585
Output for 5.2.5
Total execution time in seconds: 2.288818359375E-5 1412961575.5835 1412961585
Output for 5.2.4
Total execution time in seconds: 2.288818359375E-5 1412961575.6366 1412961585
Output for 5.2.3
Total execution time in seconds: 2.3841857910156E-5 1412961575.6761 1412961585
Output for 5.2.2
Total execution time in seconds: 2.2172927856445E-5 1412961575.7136 1412961585
Output for 5.2.1
Total execution time in seconds: 2.3126602172852E-05 1412961575.7596 1412961585
Output for 5.2.0
Total execution time in seconds: 2.0980834960938E-05 1412961575.8068 1412961585
Output for 5.1.6
Total execution time in seconds: 2.0027160644531E-05 1412961575.837 1412961585
Output for 5.1.5
Total execution time in seconds: 1.9073486328125E-05 1412961575.8674 1412961585
Output for 5.1.4
Total execution time in seconds: 2.0980834960938E-05 1412961575.8978 1412961585
Output for 5.1.3
Total execution time in seconds: 1.978874206543E-05 1412961575.93 1412961585
Output for 5.1.2
Total execution time in seconds: 2.0027160644531E-05 1412961575.9632 1412961585
Output for 5.1.1
Total execution time in seconds: 2.0980834960938E-05 1412961575.9961 1412961585
Output for 5.1.0
Total execution time in seconds: 2.8133392333984E-05 1412961576.0326 1412961586
Output for 5.0.5
Total execution time in seconds: 2.0980834960938E-05 1412961576.0719 1412961586
Output for 5.0.4
Total execution time in seconds: 4.6014785766602E-05 1412961576.1034 1412961586
Output for 5.0.3
Total execution time in seconds: 2.8848648071289E-05 1412961576.1407 1412961586
Output for 5.0.0 - 5.0.2

Process exited with code 137.
Output for 4.4.9
Total execution time in seconds: 2.5999999999998E-05 0.20084400 1412961582 1412961592
Output for 4.4.8
Total execution time in seconds: 2.5000000000025E-05 0.22911600 1412961582 1412961592
Output for 4.4.7
Total execution time in seconds: 3.000000000003E-05 0.26920700 1412961582 1412961592
Output for 4.4.6
Total execution time in seconds: 2.4999999999997E-05 0.30051700 1412961582 1412961592
Output for 4.4.5
Total execution time in seconds: 2.4000000000024E-05 0.32703200 1412961582 1412961592
Output for 4.4.4
Total execution time in seconds: 2.7999999999972E-05 0.36466900 1412961582 1412961592
Output for 4.4.3
Total execution time in seconds: 3.1000000000003E-05 0.38625000 1412961582 1412961592
Output for 4.4.2
Total execution time in seconds: 2.9000000000001E-05 0.40720400 1412961582 1412961592
Output for 4.4.1
Total execution time in seconds: 3.1999999999976E-05 0.43687900 1412961582 1412961592
Output for 4.4.0
Total execution time in seconds: 2.9000000000001E-05 0.46778900 1412961582 1412961592
Output for 4.3.11
Total execution time in seconds: 2.8000000000028E-05 0.49434100 1412961582 1412961592
Output for 4.3.10
Total execution time in seconds: 3.3000000000061E-05 0.52163600 1412961582 1412961592
Output for 4.3.9
Total execution time in seconds: 4.7000000000019E-05 0.54850800 1412961582 1412961592
Output for 4.3.8
Total execution time in seconds: 3.7999999999982E-05 0.57926300 1412961582 1412961592
Output for 4.3.7
Total execution time in seconds: 3.6999999999954E-05 0.60332300 1412961582 1412961592
Output for 4.3.6
Total execution time in seconds: 4.8999999999966E-05 0.62277600 1412961582 1412961592
Output for 4.3.5
Total execution time in seconds: 3.5999999999925E-05 0.64541400 1412961582 1412961592
Output for 4.3.4
Total execution time in seconds: 5.5000000000027E-05 0.67945400 1412961582 1412961592
Output for 4.3.3
Total execution time in seconds: 5.3999999999998E-05 0.70812500 1412961582 1412961592
Output for 4.3.2
Total execution time in seconds: 6.0999999999978E-05 0.73551200 1412961582 1412961592
Output for 4.3.1
Total execution time in seconds: 6.0999999999978E-05 0.75701900 1412961582 1412961592
Output for 4.3.0
Total execution time in seconds: 6.4999999999982E-05 0.75669800 1442751604 1442751614

preferences:
186.44 ms | 401 KiB | 220 Q