3v4l.org

run code in 300+ PHP versions simultaneously
<?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;
Output for 7.4.1
Total execution time in seconds: 2.1457672119141E-6 1412961618.0002 1412961628.0002
Output for 5.5.4, 5.6.8, 5.6.33, 7.0.23, 7.1.17, 7.2.25 - 7.2.26, 7.3.5, 7.4.0
Total execution time in seconds: 1.5020370483398E-5 1412961618.0002 1412961628.0002
Output for 7.2.16, 7.3.9, 7.3.11 - 7.3.13
Total execution time in seconds: 1.0013580322266E-5 1412961618.0002 1412961628.0002
Output for 7.0.0, 7.1.19, 7.3.10
Total execution time in seconds: 7.8678131103516E-6 1412961618.0002 1412961628.0002
Output for 5.5.12, 5.6.6, 5.6.16, 7.1.18, 7.2.22, 7.3.2 - 7.3.3, 7.3.8
Total execution time in seconds: 1.1920928955078E-5 1412961618.0001 1412961628.0001
Output for 7.0.16, 7.0.22, 7.1.25, 7.3.7
Total execution time in seconds: 8.1062316894531E-6 1412961618.0001 1412961628.0001
Output for 5.6.1, 7.0.28, 7.1.7, 7.1.16, 7.2.21, 7.3.6
Total execution time in seconds: 1.215934753418E-5 1412961618.0001 1412961628.0001
Output for 7.3.4
Total execution time in seconds: 2.3126602172852E-5 1412961618.0003 1412961628.0003
Output for 5.5.27, 5.6.14, 5.6.27, 5.6.39, 7.0.17, 7.1.2, 7.1.13, 7.1.26, 7.2.0, 7.2.3 - 7.2.4, 7.2.12, 7.2.17, 7.3.1
Total execution time in seconds: 1.0967254638672E-5 1412961618.0001 1412961628.0001
Output for 5.4.36, 5.5.19, 7.3.0
Total execution time in seconds: 1.3828277587891E-5 1412961618.0001 1412961628.0001
Output for 5.5.20, 5.6.31, 7.2.24
Total execution time in seconds: 1.7166137695312E-5 1412961618.0001 1412961628.0001
Output for 5.5.6, 7.2.15, 7.2.23
Total execution time in seconds: 2.0980834960938E-5 1412961618.0002 1412961628.0002
Output for 7.2.20
Total execution time in seconds: 9.0599060058594E-6 1412961618.0002 1412961628.0002
Output for 5.5.11, 7.0.1, 7.0.4, 7.2.19
Total execution time in seconds: 1.2874603271484E-5 1412961618.0002 1412961628.0002
Output for 5.4.35, 5.6.17, 7.2.11, 7.2.18
Total execution time in seconds: 1.7881393432617E-5 1412961618.0001 1412961628.0001
Output for 5.4.5, 5.4.33, 5.5.25, 5.6.3, 5.6.10, 5.6.23, 5.6.30, 5.6.32, 7.0.5, 7.2.14
Total execution time in seconds: 1.5020370483398E-5 1412961618.0001 1412961628.0001
Output for 5.4.37, 5.5.13, 5.6.28, 7.2.13
Total execution time in seconds: 1.9073486328125E-5 1412961618.0001 1412961628.0001
Output for 5.5.10, 7.0.27, 7.0.30, 7.2.10
Total execution time in seconds: 1.2874603271484E-5 1412961618.0001 1412961628.0001
Output for 5.6.29, 5.6.37, 7.0.31, 7.2.9
Total execution time in seconds: 1.3113021850586E-5 1412961618.0001 1412961628.0001
Output for 5.4.41, 5.6.7, 5.6.19, 7.2.8
Total execution time in seconds: 1.6927719116211E-5 1412961618.0001 1412961628.0001
Output for 7.2.7
Total execution time in seconds: 1.6212463378906E-5 1412961618.0001 1412961628.0001
Output for 7.2.6
Total execution time in seconds: 8.8214874267578E-6 1412961618.0001 1412961628.0001
Output for 5.6.12, 5.6.35, 7.2.5
Total execution time in seconds: 2.288818359375E-5 1412961618.0002 1412961628.0002
Output for 7.0.2, 7.0.15, 7.0.25, 7.1.24, 7.1.32, 7.2.2
Total execution time in seconds: 6.9141387939453E-6 1412961618.0001 1412961628.0001
Output for 7.2.1
Total execution time in seconds: 0.020294189453125 1412961618.0001 1412961628.0001
Output for 7.1.33
Total execution time in seconds: 1.7881393432617E-5 1412961618.0002 1412961628.0002
Output for 7.0.33, 7.1.31
Total execution time in seconds: 1.0967254638672E-5 1412961618.0002 1412961628.0002
Output for 7.0.9, 7.1.1, 7.1.30
Total execution time in seconds: 7.1525573730469E-6 1412961618.0001 1412961628.0001
Output for 7.0.10, 7.1.20, 7.1.29
Total execution time in seconds: 1.3113021850586E-5 1412961618.0002 1412961628.0002
Output for 5.5.3, 5.5.9, 5.5.22, 5.6.2, 5.6.22, 7.0.26, 7.1.28
Total execution time in seconds: 1.4066696166992E-5 1412961618.0001 1412961628.0001
Output for 7.0.19, 7.1.3 - 7.1.4, 7.1.9, 7.1.11, 7.1.22, 7.1.27
Total execution time in seconds: 5.9604644775391E-6 1412961618.0001 1412961628.0001
Output for 7.0.21, 7.1.23
Total execution time in seconds: 1.1920928955078E-5 1412961618.0002 1412961628.0002
Output for 5.6.38, 7.0.6, 7.0.14, 7.0.32, 7.1.6, 7.1.8, 7.1.21
Total execution time in seconds: 1.0013580322266E-5 1412961618.0001 1412961628.0001
Output for 7.0.7, 7.0.12, 7.1.10, 7.1.15
Total execution time in seconds: 5.0067901611328E-6 1412961618.0001 1412961628.0001
Output for 5.6.21, 7.1.14
Total execution time in seconds: 1.1205673217773E-5 1412961618.0001 1412961628.0001
Output for 5.5.28, 7.0.3, 7.1.12
Total execution time in seconds: 1.4066696166992E-5 1412961618.0002 1412961628.0002
Output for 5.4.17, 7.0.11, 7.0.18, 7.1.5
Total execution time in seconds: 1.7166137695312E-5 1412961618.0002 1412961628.0002
Output for 7.1.0
Total execution time in seconds: 8.1062316894531E-6 1412961618.0002 1412961628.0002
Output for 5.5.15, 7.0.29
Total execution time in seconds: 1.3828277587891E-5 1412961618.0002 1412961628.0002
Output for 7.0.24
Total execution time in seconds: 4.0531158447266E-6 1412961618.0001 1412961628.0001
Output for 7.0.20
Total execution time in seconds: 9.0599060058594E-6 1412961618.0001 1412961628.0001
Output for 5.5.30, 5.6.4, 5.6.11, 7.0.13
Total execution time in seconds: 1.6927719116211E-5 1412961618.0002 1412961628.0002
Output for 5.5.23, 5.6.34, 7.0.8
Total execution time in seconds: 1.4781951904297E-5 1412961618.0001 1412961628.0001
Output for 5.4.1, 5.6.40
Total execution time in seconds: 2.8848648071289E-5 1412961618.0002 1412961628.0002
Output for 5.6.36
Total execution time in seconds: 1.6212463378906E-5 1412961618.0002 1412961628.0002
Output for 5.4.13, 5.4.25, 5.4.43, 5.6.9, 5.6.26
Total execution time in seconds: 1.8119812011719E-5 1412961618.0001 1412961628.0001
Output for 5.6.25
Total execution time in seconds: 0.047804832458496 1412961618.0001 1412961628.0001
Output for 5.4.3, 5.6.24
Total execution time in seconds: 2.5033950805664E-5 1412961618.0002 1412961628.0002
Output for 5.4.45, 5.5.29, 5.6.20
Total execution time in seconds: 2.4080276489258E-5 1412961618.0002 1412961628.0002
Output for 5.4.14, 5.5.5, 5.5.21, 5.6.13, 5.6.18
Total execution time in seconds: 1.5974044799805E-5 1412961618.0002 1412961628.0002
Output for 5.4.8, 5.6.15
Total execution time in seconds: 2.2172927856445E-5 1412961618.0001 1412961628.0001
Output for 5.6.5
Total execution time in seconds: 1.8835067749023E-5 1412961618.0001 1412961628.0001
Output for 5.6.0
Total execution time in seconds: 3.504753112793E-5 1412961618.0001 1412961628.0001
Output for 5.5.38
Total execution time in seconds: 0.032875776290894 1412961618.0002 1412961628.0002
Output for 5.5.37
Total execution time in seconds: 0.055320978164673 1412961618.0001 1412961628.0001
Output for 5.4.0, 5.5.36
Total execution time in seconds: 2.0027160644531E-5 1412961618.0002 1412961628.0002
Output for 5.5.35
Total execution time in seconds: 0.016931056976318 1412961618.0002 1412961628.0002
Output for 5.5.34
Total execution time in seconds: 0.0077729225158691 1412961618.0002 1412961628.0002
Output for 5.5.33
Total execution time in seconds: 0.011828899383545 1412961618.0002 1412961628.0002
Output for 5.5.32
Total execution time in seconds: 0.016896963119507 1412961618.0002 1412961628.0002
Output for 5.5.31
Total execution time in seconds: 0.031641006469727 1412961618.0002 1412961628.0002
Output for 5.4.12, 5.4.20, 5.4.34, 5.4.38, 5.5.26
Total execution time in seconds: 2.598762512207E-5 1412961618.0002 1412961628.0002
Output for 5.5.24
Total execution time in seconds: 1.1205673217773E-5 1412961618.0002 1412961628.0002
Output for 5.5.18
Total execution time in seconds: 2.7894973754883E-5 1412961618.0002 1412961628.0002
Output for 5.4.4, 5.4.21, 5.4.40, 5.4.42, 5.5.14, 5.5.16 - 5.5.17
Total execution time in seconds: 1.5974044799805E-5 1412961618.0001 1412961628.0001
Output for 5.4.16, 5.5.8
Total execution time in seconds: 2.3126602172852E-5 1412961618.0002 1412961628.0002
Output for 5.5.7
Total execution time in seconds: 0.098803997039795 1412961618.0001 1412961628.0001
Output for 5.5.2
Total execution time in seconds: 0.04148006439209 1412961618.0002 1412961628.0002
Output for 5.5.1
Total execution time in seconds: 0.047569990158081 1412961618.0001 1412961628.0001
Output for 5.5.0
Total execution time in seconds: 0.012399911880493 1412961618.0001 1412961628.0001
Output for 5.4.44
Total execution time in seconds: 1.9073486328125E-5 1412961618.0002 1412961628.0002
Output for 5.4.11, 5.4.15, 5.4.39
Total execution time in seconds: 2.9087066650391E-5 1412961618.0002 1412961628.0002
Output for 5.4.32
Total execution time in seconds: 3.2186508178711E-5 1412961618.0002 1412961628.0002
Output for 5.4.31
Total execution time in seconds: 2.1934509277344E-5 1412961618.0002 1412961628.0002
Output for 5.4.7, 5.4.9, 5.4.30
Total execution time in seconds: 2.0980834960938E-5 1412961618.0001 1412961628.0001
Output for 5.4.23, 5.4.29
Total execution time in seconds: 2.3841857910156E-5 1412961618.0002 1412961628.0002
Output for 5.4.28
Total execution time in seconds: 2.9087066650391E-5 1412961618.0001 1412961628.0001
Output for 5.4.27
Total execution time in seconds: 2.6941299438477E-5 1412961618.0002 1412961628.0002
Output for 5.4.26
Total execution time in seconds: 2.8133392333984E-5 1412961618.0001 1412961628.0001
Output for 5.4.24
Total execution time in seconds: 2.4080276489258E-5 1412961618.0001 1412961628.0001
Output for 5.4.2, 5.4.19, 5.4.22
Total execution time in seconds: 2.0027160644531E-5 1412961618.0001 1412961628.0001
Output for 5.4.18
Total execution time in seconds: 3.814697265625E-5 1412961618.0002 1412961628.0002
Output for 5.4.10
Total execution time in seconds: 2.3841857910156E-5 1412961618.0001 1412961628.0001
Output for 5.4.6
Total execution time in seconds: 3.7193298339844E-5 1412961618.0002 1412961628.0002
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

preferences:
246.23 ms | 401 KiB | 325 Q