3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $start = microtime(); sleep(2); $end = microtime(); echo $end-$start;
Output for 7.1.0
Notice: A non well formed numeric value encountered in /in/pfdFj on line 6 Notice: A non well formed numeric value encountered in /in/pfdFj on line 6 8.0E-5
Output for 7.0.14
4.7E-5
Output for 7.0.6
0.00010399999999999
Output for 7.0.5
0.00010700000000002
Output for 5.4.37, 5.6.21, 7.0.4
0.00010699999999997
Output for 4.4.5, 4.4.7, 5.3.16, 5.4.15, 7.0.3
0.000114
Output for 5.4.35, 5.6.15, 7.0.2
0.000112
Output for 5.4.28, 5.4.32, 5.6.20, 7.0.1
0.00012400000000001
Output for 7.0.0
0.00011399999999995
Output for 5.6.19
7.4000000000018E-5
Output for 5.4.0, 5.6.18
0.000135
Output for 5.6.17
8.9999999999979E-5
Output for 5.6.16
0.00014399999999992
Output for 5.5.29, 5.6.14
0.00011099999999997
Output for 5.6.13
0.00014599999999998
Output for 5.6.12
0.00011800000000001
Output for 5.4.44, 5.5.33, 5.6.11
0.00012000000000001
Output for 5.6.10
8.8000000000088E-5
Output for 5.6.9
0.00012200000000001
Output for 5.3.29, 5.6.8
0.000142
Output for 5.6.7
9.0000000000007E-5
Output for 5.2.12, 5.5.35
0.000137
Output for 5.5.34
6.7999999999999E-5
Output for 5.5.32
0.00010900000000003
Output for 5.5.31
0.00010600000000005
Output for 5.5.30
8.7000000000004E-5
Output for 5.5.28
0.00012499999999993
Output for 5.5.27
9.1000000000008E-5
Output for 5.5.26
0.00011799999999995
Output for 5.5.25
0.00014099999999997
Output for 5.5.24
7.8000000000022E-5
Output for 5.4.45
0.00014099999999995
Output for 5.4.43
0.00014799999999993
Output for 4.3.1, 4.3.11, 5.4.42
0.00014700000000001
Output for 5.4.41
0.00020999999999993
Output for 5.4.40
0.00018800000000002
Output for 4.3.10, 5.2.6, 5.3.28, 5.4.39
0.00012199999999996
Output for 5.0.2, 5.4.38
0.00012299999999998
Output for 5.4.36
0.00013999999999992
Output for 4.4.2, 5.0.3, 5.4.34
0.00011300000000003
Output for 5.4.31
0.00012300000000004
Output for 5.4.24, 5.4.30
0.00010500000000002
Output for 5.4.29
0.00011400000000006
Output for 5.4.11, 5.4.27
9.5E-5
Output for 5.4.26
0.00012799999999999
Output for 5.4.6, 5.4.25
9.5999999999985E-5
Output for 5.4.23
9.9000000000071E-5
Output for 5.4.22
0.00038000000000005
Output for 5.4.21
9.5000000000012E-5
Output for 5.4.20
0.001093
Output for 5.4.19
0.006692
Output for 5.4.18
0.003462
Output for 5.3.5, 5.4.17
9.8000000000042E-5
Output for 5.4.16
0.00010300000000002
Output for 5.4.14
4.4999999999962E-5
Output for 5.4.13
0.00011700000000003
Output for 4.3.9, 5.2.8, 5.4.12
0.00011899999999998
Output for 5.4.10
0.00030300000000001
Output for 5.4.9
9.4000000000011E-5
Output for 5.4.8
0.026234
Output for 5.4.7
0.019982
Output for 5.4.5
0.006829
Output for 5.4.4
0.011544
Output for 4.3.5, 5.4.3
0.000139
Output for 4.3.4, 5.4.2
0.00014
Output for 5.4.1
0.00012700000000004
Output for 5.3.27
0.011011
Output for 5.3.9, 5.3.26
9.899999999996E-5
Output for 5.3.25
0.0051680000000001
Output for 5.3.24
0.00034200000000001
Output for 5.3.23
9.300000000001E-5
Output for 5.3.22
0.000276
Output for 5.3.21
0.0112
Output for 5.3.20
9.2999999999899E-5
Output for 5.3.19
0.000102
Output for 5.3.18
0.000307
Output for 5.3.17
0.00015999999999999
Output for 5.3.15
0.00017199999999995
Output for 5.3.14
6.9999999999903E-5
Output for 5.3.13
0.000103
Output for 5.3.12
0.00040000000000001
Output for 5.3.11
0.009659
Output for 5.3.10
0.00081699999999996
Output for 5.3.8
-0.856373
Output for 5.3.7
9.6999999999958E-5
Output for 4.3.6, 5.3.6
0.00013099999999999
Output for 5.3.4
0.012377
Output for 5.3.3
0.000108
Output for 5.3.2
0.000131
Output for 5.3.1
0.000123
Output for 5.3.0
9.9000000000016E-5
Output for 5.2.17
0.00077199999999999
Output for 5.2.16
0.00071700000000008
Output for 5.2.14 - 5.2.15
0.00010100000000002
Output for 5.2.13
0.001607
Output for 5.2.11
0.032777
Output for 5.2.10
0.0035200000000001
Output for 5.2.9
0.001259
Output for 5.2.7
0.000197
Output for 5.2.5
0.000132
Output for 5.2.4
0.001119
Output for 5.2.3
9.8999999999988E-5
Output for 5.2.2
0.00065699999999996
Output for 5.2.1
9.9000000000016E-05
Output for 5.2.0
9.4000000000038E-05
Output for 5.1.6
9.6000000000096E-05
Output for 5.1.5
0.00010299999999996
Output for 5.1.4
7.9999999999969E-05
Output for 5.1.3
9.4E-05
Output for 5.1.2
0.001114
Output for 5.1.1
0.00012100000000001
Output for 5.1.0
0.00012600000000001
Output for 5.0.5
0.00013599999999997
Output for 5.0.4
0.00012800000000002
Output for 4.3.0, 5.0.1
0.00011499999999998
Output for 5.0.0
0.00027200000000005
Output for 4.4.9
0.00064299999999995
Output for 4.4.8
0.00020199999999992
Output for 4.4.6
0.001196
Output for 4.4.4
0.000107
Output for 4.4.3
0.000116
Output for 4.4.1
0.00011299999999997
Output for 4.4.0
0.00030399999999997
Output for 4.3.8
0.00033499999999997
Output for 4.3.7
0.00033099999999997
Output for 4.3.3
0.00012700000000002
Output for 4.3.2
0.00013000000000002