3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $time = microtime (); for($i = 0;$i < 10000; $i++) { $val1 = (1 == "1"); } echo microtime () - $time; echo "\n"; $time = microtime (); for($j = 0;$j < 10000; $j++) { $val2 = (1 === "1"); } echo microtime () - $time;
Output for 7.1.0
Notice: A non well formed numeric value encountered in /in/Yg6GR on line 8 Notice: A non well formed numeric value encountered in /in/Yg6GR on line 8 9.8E-5 Notice: A non well formed numeric value encountered in /in/Yg6GR on line 18 Notice: A non well formed numeric value encountered in /in/Yg6GR on line 18 9.4E-5
Output for 7.0.14
0.000177 0.000191
Output for 7.0.7
0.00018 0.000159
Output for 7.0.6
0.00018600000000002 0.00017200000000001
Output for 7.0.5
0.00017700000000009 0.00017
Output for 7.0.4
0.00018400000000002 0.000169
Output for 7.0.3
0.000166 0.000166
Output for 7.0.2
0.00013199999999999 0.00012300000000001
Output for 7.0.1
0.00010499999999997 0.00010099999999996
Output for 7.0.0
0.00010399999999999 0.00010100000000002
Output for hhvm-3.12.0
0.00042300000000001 0.00039800000000001
Output for hhvm-3.10.0
0.000472 0.00046399999999999
Output for 5.6.22
0.000691 0.00038400000000005
Output for 5.6.21
0.00076600000000002 0.00045300000000001
Output for 5.6.20
0.00072800000000001 0.00040699999999999
Output for 5.6.19
0.00076300000000007 0.00041600000000008
Output for 5.6.18
0.00070800000000004 0.00043199999999999
Output for 5.6.17
0.000832 0.000504
Output for 5.6.16
0.00048599999999999 0.00027600000000005
Output for 5.6.15
0.0005409999999999 0.00030200000000002
Output for 5.6.14
0.00040200000000001 0.00022800000000001
Output for 5.6.13
0.00086999999999993 0.00031499999999995
Output for 5.6.12
0.00041099999999999 0.00023000000000001
Output for 5.6.11
0.00048499999999996 0.00027699999999997
Output for 5.6.10
0.00049300000000008 0.00027700000000008
Output for 5.6.9
0.000558 0.00031500000000001
Output for 5.6.8
0.00041900000000006 0.00022899999999992
Output for 5.6.7
0.00047799999999998 0.00027699999999997
Output for 5.6.6
0.00041799999999997 0.00026599999999999
Output for 5.6.5
0.00043300000000002 0.00024199999999996
Output for 5.6.4
0.000412 0.00023600000000001
Output for 5.6.3
0.00040400000000002 0.00023499999999999
Output for 5.6.2
0.00050800000000006 0.00029499999999993
Output for 5.6.1
0.00039399999999989 0.00023899999999999
Output for 5.6.0
0.000441 0.000227
Output for 5.5.36
0.00077499999999997 0.000444
Output for 5.5.35
0.00076299999999996 0.0004590000000001
Output for 5.5.34
0.00052199999999999 0.000277
Output for 5.5.33
0.000804 0.000457
Output for 5.5.32
0.00077000000000005 0.00043499999999996
Output for 5.5.31
0.00073200000000007 0.00041599999999997
Output for 5.5.30
0.00048199999999998 0.00025399999999998
Output for 5.5.29
0.00041400000000003 0.00022899999999992
Output for 5.5.28
0.000398 0.000239
Output for 5.5.27
0.00056999999999996 0.00032200000000004
Output for 5.5.26
0.000487 0.000286
Output for 5.5.25
0.001075 0.00039
Output for 5.5.24
0.00048400000000004 0.000278
Output for 5.5.23
0.00095100000000001 0.00036799999999998
Output for 5.5.22
0.00039899999999998 0.00022899999999998
Output for 5.5.21
0.00083200000000005 0.00022899999999992
Output for 5.5.20
0.00085800000000003 0.00030399999999997
Output for 5.5.19
0.00041099999999999 0.00022899999999998
Output for 5.5.18
0.0004869999999999 0.00027699999999997
Output for 5.5.16
0.00045500000000001 0.000249
Output for 5.5.15
0.00041900000000006 0.00027199999999994
Output for 5.5.14
0.00039899999999993 0.00022800000000001
Output for 5.5.13
0.000819 0.000303
Output for 5.5.12
0.00040300000000001 0.00024099999999999
Output for 5.5.11
0.00058400000000003 0.00033899999999998
Output for 5.5.10
0.00067499999999998 0.00038899999999997
Output for 5.5.9
0.000807 0.00048000000000001
Output for 5.5.8
0.00075699999999995 0.000419
Output for 5.5.7
0.000579 0.00032500000000002
Output for 5.5.6
0.00081399999999998 0.000475
Output for 5.5.5
0.00078999999999996 0.00043599999999999
Output for 5.5.4
0.000722 0.0003820000000001
Output for 5.5.3
0.00078300000000001 0.00045900000000001
Output for 5.5.2
0.00047900000000001 0.00030200000000002
Output for 5.5.1
0.001369 0.00048400000000004
Output for 5.5.0
0.00074299999999999 0.00043600000000001
Output for 5.4.45
0.00045299999999993 0.00026999999999999
Output for 5.4.44
0.00039500000000001 0.00023099999999998
Output for 5.4.43
0.00043099999999996 0.00025200000000003
Output for 5.4.42
0.00075799999999993 0.00080999999999998
Output for 5.4.41
0.00049099999999999 0.00029100000000001
Output for 5.4.40
0.00050499999999998 0.00030000000000008
Output for 5.4.39
0.000418 0.000236
Output for 5.4.38
0.001024 0.00038699999999997
Output for 5.4.37
0.00038699999999992 0.00027200000000005
Output for 5.4.36
0.00087199999999998 0.000309
Output for 5.4.35
0.00046400000000002 0.00023000000000001
Output for 5.4.34
0.00039199999999995 0.00023000000000006
Output for 5.4.32
0.00047400000000003 0.00029099999999999
Output for 5.4.31
0.00039399999999995 0.00023000000000001
Output for 5.4.30
0.00042200000000003 0.00022900000000003
Output for 5.4.29
0.00039900000000004 0.00023499999999999
Output for 5.4.28
0.00078 0.000308
Output for 5.4.27
0.00077300000000002 0.00030799999999997
Output for 5.4.26
0.00080999999999998 0.00050799999999995
Output for 5.4.25
0.00073200000000001 0.00044500000000003
Output for 5.4.24
0.000749 0.00044100000000002
Output for 5.4.23
0.00080400000000003 0.00044199999999994
Output for 5.4.22
0.00079099999999999 0.00046199999999999
Output for 5.4.21
0.00074299999999994 0.00044699999999998
Output for 5.4.20
0.00082199999999999 0.00051500000000004
Output for 5.4.19
0.00071600000000001 0.000417
Output for 5.4.18
0.00057200000000002 0.00031700000000001
Output for 5.4.17
0.00077799999999995 0.00051099999999993
Output for 5.4.16
0.00077899999999997 0.00045100000000003
Output for 5.4.15
0.00075200000000009 0.00044
Output for 5.4.14
0.00086999999999993 0.00049299999999997
Output for 5.4.13
0.000828 0.00046299999999999
Output for 5.4.12
0.00090400000000002 0.000554
Output for 5.4.11
0.00081399999999998 0.00045300000000004
Output for 5.4.10
0.00084699999999999 0.00048599999999999
Output for 5.4.9
0.00079400000000002 0.00048599999999999
Output for 5.4.8
0.00081600000000004 0.00049600000000005
Output for 5.4.7
0.00083900000000001 0.00046200000000002
Output for 5.4.6
0.00075599999999998 0.00048300000000001
Output for 5.4.5
0.00082000000000004 0.00049100000000002
Output for 5.4.4
0.000807 0.000483
Output for 5.4.3
0.00079299999999999 0.00046599999999999
Output for 5.4.2
0.00078800000000001 0.00044100000000002
Output for 5.4.1
0.00097499999999995 0.0004630000000001
Output for 5.4.0
0.00070300000000001 0.00043799999999999
Output for 5.3.29
0.00052799999999997 0.00034299999999998
Output for 5.3.28
0.0011060000000001 0.00070000000000003
Output for 5.3.27
0.00097099999999994 0.00064799999999998
Output for 5.3.26
0.00099699999999997 0.00071700000000002
Output for 5.3.25
0.00078199999999995 0.00057799999999997
Output for 5.3.24
0.00095100000000004 0.00071700000000008
Output for 5.3.23
0.00089800000000001 0.00058999999999998
Output for 5.3.22
0.00075599999999998 0.00047300000000006
Output for 5.3.21
0.00094799999999995 0.00069200000000003
Output for 5.3.20
0.000861 0.000563
Output for 5.3.19
0.00071200000000005 0.00047999999999998
Output for 5.3.18
0.001023 0.00070999999999999
Output for 5.3.17
0.00096700000000005 0.00065099999999996
Output for 5.3.16
0.001045 0.000747
Output for 5.3.15
0.0010680000000001 0.000718
Output for 5.3.14
0.00095100000000004 0.00058499999999995
Output for 5.3.13
0.00095899999999999 0.00061600000000001
Output for 5.3.12
0.001021 0.00064599999999998
Output for 5.3.11
0.0010140000000001 0.00072400000000006
Output for 5.3.10
0.00094699999999998 0.00060300000000002
Output for 5.3.9
0.001072 0.00070699999999996
Output for 5.3.8
0.00091600000000003 0.00064000000000008
Output for 5.3.7
0.00099099999999996 0.00066299999999997
Output for 5.3.6
0.001036 0.00065899999999997
Output for 5.3.5
0.000955 0.000618
Output for 5.3.4
0.001043 0.00070500000000001
Output for 5.3.3
0.00099400000000005 0.00071300000000007
Output for 5.3.2
0.001014 0.00096799999999997
Output for 5.3.1
0.00063000000000002 0.000469
Output for 5.3.0
0.00062600000000002 0.00042199999999992
Output for 5.2.17
0.001478 0.00090800000000002
Output for 5.2.16
0.001358 0.00176
Output for 5.2.15
0.001348 0.00088900000000003
Output for 5.2.14
0.0014149999999999 0.00089300000000003
Output for 5.2.13
0.001145 0.00072799999999999
Output for 5.2.12
0.00147 0.00094900000000001
Output for 5.2.11
0.001079 0.00067500000000004
Output for 5.2.10
0.0011 0.00075199999999997
Output for 5.2.9
0.0015769999999999 0.0010049999999999
Output for 5.2.8
0.0014999999999999 0.00094699999999992
Output for 5.2.7
0.00138 0.000724
Output for 5.2.6
0.001372 0.00085000000000002
Output for 5.2.5
0.001501 0.00093999999999994
Output for 5.2.4
0.001565 0.00098999999999994
Output for 5.2.3
0.0014960000000001 0.00088099999999991
Output for 5.2.2
0.001389 0.00099000000000005
Output for 5.2.1
0.001372 0.00090500000000004
Output for 5.2.0
0.001386 0.0009570000000001
Output for 5.1.6
0.0012500000000001 0.00091799999999997
Output for 5.1.5
0.001516 0.00098399999999998
Output for 5.1.4
0.001606 0.001038
Output for 5.1.3
0.001251 0.00086600000000003
Output for 5.1.2
0.001546 0.00095499999999998
Output for 5.1.1
0.003103 0.0017280000000001
Output for 5.1.0
0.001561 0.001014
Output for 5.0.5
0.003107 0.002463
Output for 5.0.4
0.003177 0.00317
Output for 5.0.3
0.002736 0.002135
Output for 5.0.2
0.0028820000000001 0.0021979999999999
Output for 5.0.1
0.0025350000000001 0.00198
Output for 5.0.0
0.00255 0.001951
Output for 4.4.9
0.003003 0.00238
Output for 4.4.8
0.002855 0.002211
Output for 4.4.7
0.002798 0.002195
Output for 4.4.6
0.002974 0.002422
Output for 4.4.5
0.005144 0.002358
Output for 4.4.4
0.002793 0.00227
Output for 4.4.3
0.002654 0.001813
Output for 4.4.2
0.002609 0.002057
Output for 4.4.1
0.003102 0.002445
Output for 4.4.0
0.002828 0.002248
Output for 4.3.11
0.002807 0.002259
Output for 4.3.10
0.002691 0.0020169999999999
Output for 4.3.9
0.00296 0.002403
Output for 4.3.8
0.002815 0.002358
Output for 4.3.7
0.003409 0.002489
Output for 4.3.6
0.003124 0.002525
Output for 4.3.5
0.0028 0.002214
Output for 4.3.4
0.0028549999999999 0.0020929999999999
Output for 4.3.3
0.002899 0.002498
Output for 4.3.2
0.002887 0.0022220000000001
Output for 4.3.1
0.0029480000000001 0.0021869999999999
Output for 4.3.0
0.00305 0.002276