3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $m = microtime(1); for ($i=0;$i<10000;$i++) { $test = 40 == 40; } print microtime(1) - $m . "\n"; $m = microtime(1); for ($i=0;$i<10000;$i++) { $test = 40 === 40; } print microtime(1) - $m;
Output for 7.1.0
9.2983245849609E-5 9.2983245849609E-5
Output for 7.0.14
0.00017118453979492 0.00017118453979492
Output for 7.0.10
0.00014996528625488 0.00014996528625488
Output for 7.0.9
0.00014400482177734 0.00015902519226074
Output for 7.0.8
0.00020003318786621 0.00015592575073242
Output for 7.0.7
0.00012803077697754 0.00013995170593262
Output for 7.0.6
0.00015783309936523 0.00016498565673828
Output for 7.0.5
0.00017380714416504 0.00018405914306641
Output for 7.0.4
0.0001680850982666 0.00016903877258301
Output for 7.0.3
0.00016593933105469 0.00016593933105469
Output for 7.0.2
0.00015592575073242 0.00016593933105469
Output for 7.0.1
0.00012898445129395 0.00012803077697754
Output for 7.0.0
0.0001671314239502 0.00016593933105469
Output for 5.6.28
0.00098085403442383 0.00095295906066895
Output for 5.6.25
0.00046586990356445 0.00051593780517578
Output for 5.6.24
0.00049400329589844 0.00055098533630371
Output for 5.6.23
0.00047206878662109 0.00051999092102051
Output for 5.6.22
0.00046706199645996 0.00051283836364746
Output for 5.6.21
0.0004420280456543 0.00051712989807129
Output for 5.6.20
0.00068283081054688 0.00058984756469727
Output for 5.6.19
0.00046515464782715 0.00053000450134277
Output for 5.6.18
0.00046086311340332 0.00052785873413086
Output for 5.6.17
0.00035715103149414 0.00040888786315918
Output for 5.6.16
0.00042295455932617 0.0004880428314209
Output for 5.6.15
0.00046515464782715 0.00053596496582031
Output for 5.6.14
0.00034403800964355 0.00041103363037109
Output for 5.6.13
0.00042414665222168 0.00049996376037598
Output for 5.6.12
0.00046801567077637 0.0003669261932373
Output for 5.6.11
0.00037288665771484 0.00041508674621582
Output for 5.6.10
0.00046586990356445 0.00051188468933105
Output for 5.6.9
0.00041294097900391 0.00043606758117676
Output for 5.6.8
0.00040507316589355 0.00045490264892578
Output for 5.6.7
0.00042295455932617 0.00048279762268066
Output for 5.6.6
0.00042200088500977 0.00045084953308105
Output for 5.6.5
0.00033187866210938 0.00035905838012695
Output for 5.6.4
0.00042200088500977 0.00045680999755859
Output for 5.6.3
0.00046491622924805 0.0005040168762207
Output for 5.6.2
0.0005040168762207 0.0005488395690918
Output for 5.6.1
0.00045108795166016 0.00047993659973145
Output for 5.6.0
0.00044703483581543 0.00047707557678223
Output for 5.5.38
0.00040888786315918 0.00045490264892578
Output for 5.5.37
0.00043201446533203 0.00045490264892578
Output for 5.5.36
0.00039792060852051 0.00045204162597656
Output for 5.5.35
0.00045490264892578 0.00050711631774902
Output for 5.5.34
0.00040316581726074 0.00044703483581543
Output for 5.5.33
0.00049996376037598 0.00053882598876953
Output for 5.5.32
0.00048685073852539 0.00047397613525391
Output for 5.5.31
0.00044989585876465 0.0004570484161377
Output for 5.5.30
0.00046586990356445 0.0005028247833252
Output for 5.5.29
0.00046706199645996 0.00050115585327148
Output for 5.5.28
0.00040411949157715 0.00042891502380371
Output for 5.5.27
0.0004429817199707 0.00047516822814941
Output for 5.5.26
0.00038814544677734 0.00043606758117676
Output for 5.5.25
0.00043010711669922 0.00046896934509277
Output for 5.5.24
0.00050711631774902 0.00051307678222656
Output for 5.5.23
0.0004432201385498 0.00048208236694336
Output for 5.5.22
0.00049090385437012 0.00051188468933105
Output for 5.5.21
0.00034213066101074 0.00041604042053223
Output for 5.5.20
0.00042200088500977 0.00046110153198242
Output for 5.5.19
0.00044798851013184 0.00048398971557617
Output for 5.5.18
0.00045108795166016 0.00048494338989258
Output for 5.5.16
0.00044393539428711 0.0004730224609375
Output for 5.5.15
0.00034594535827637 0.00036406517028809
Output for 5.5.14
0.00049996376037598 0.00052404403686523
Output for 5.5.13
0.0004727840423584 0.00050711631774902
Output for 5.5.12
0.00040602684020996 0.00044989585876465
Output for 5.5.11
0.00047707557678223 0.00050020217895508
Output for 5.5.10
0.0004122257232666 0.00043392181396484
Output for 5.5.9
0.0004420280456543 0.00048398971557617
Output for 5.5.8
0.00049209594726562 0.00047492980957031
Output for 5.5.7
0.00039196014404297 0.00040411949157715
Output for 5.5.6
0.00040388107299805 0.00043106079101562
Output for 5.5.5
0.00040388107299805 0.00045013427734375
Output for 5.5.4
0.00046491622924805 0.00049686431884766
Output for 5.5.3
0.00046300888061523 0.00053286552429199
Output for 5.5.2
0.00036406517028809 0.00038313865661621
Output for 5.5.1
0.0004889965057373 0.00052499771118164
Output for 5.5.0
0.00040888786315918 0.00046205520629883
Output for 5.4.45
0.00043606758117676 0.00044107437133789
Output for 5.4.44
0.00037097930908203 0.00035905838012695
Output for 5.4.43
0.00039196014404297 0.0003809928894043
Output for 5.4.42
0.00036191940307617 0.00037217140197754
Output for 5.4.41
0.00043010711669922 0.00043702125549316
Output for 5.4.40
0.00044989585876465 0.00046801567077637
Output for 5.4.39
0.00044798851013184 0.00046896934509277
Output for 5.4.38
0.00040221214294434 0.00040292739868164
Output for 5.4.37
0.00041007995605469 0.00046610832214355
Output for 5.4.36
0.00047206878662109 0.00048613548278809
Output for 5.4.35
0.00040984153747559 0.00042009353637695
Output for 5.4.34
0.00033712387084961 0.00035309791564941
Output for 5.4.32
0.0004279613494873 0.0004420280456543
Output for 5.4.31
0.00046992301940918 0.00048208236694336
Output for 5.4.30
0.0004570484161377 0.00048112869262695
Output for 5.4.29
0.00050091743469238 0.00051093101501465
Output for 5.4.28
0.00039100646972656 0.00042486190795898
Output for 5.4.27
0.00047087669372559 0.00050902366638184
Output for 5.4.26
0.00038599967956543 0.00038719177246094
Output for 5.4.25
0.00050997734069824 0.00048494338989258
Output for 5.4.24
0.00047397613525391 0.00042009353637695
Output for 5.4.23
0.00050497055053711 0.00058197975158691
Output for 5.4.22
0.00044107437133789 0.00046920776367188
Output for 5.4.21
0.00047206878662109 0.00048303604125977
Output for 5.4.20
0.00044798851013184 0.00048494338989258
Output for 5.4.19
0.00055909156799316 0.00055408477783203
Output for 5.4.18
0.00041007995605469 0.00041985511779785
Output for 5.4.17
0.00043296813964844 0.00044703483581543
Output for 5.4.16
0.00039196014404297 0.0004730224609375
Output for 5.4.15
0.00047087669372559 0.00048494338989258
Output for 5.4.14
0.00039100646972656 0.00042295455932617
Output for 5.4.13
0.00044608116149902 0.00048303604125977
Output for 5.4.12
0.00049591064453125 0.00052380561828613
Output for 5.4.11
0.00049304962158203 0.00051593780517578
Output for 5.4.10
0.0004270076751709 0.00042986869812012
Output for 5.4.9
0.00052213668823242 0.0005180835723877
Output for 5.4.8
0.00047683715820312 0.0004730224609375
Output for 5.4.7
0.00052714347839355 0.00055789947509766
Output for 5.4.6
0.00045299530029297 0.00044798851013184
Output for 5.4.5
0.00059604644775391 0.00053596496582031
Output for 5.4.4
0.00046086311340332 0.00046181678771973
Output for 5.4.3
0.00042891502380371 0.00045299530029297
Output for 5.4.2
0.0003969669342041 0.00040102005004883
Output for 5.4.1
0.00049901008605957 0.00052809715270996
Output for 5.4.0
0.00060200691223145 0.00061488151550293
Output for 5.3.29
0.00066208839416504 0.00061297416687012
Output for 5.3.28
0.00057792663574219 0.00054097175598145
Output for 5.3.27
0.00062799453735352 0.00059413909912109
Output for 5.3.26
0.00046920776367188 0.00046205520629883
Output for 5.3.25
0.00067520141601562 0.00068402290344238
Output for 5.3.24
0.0006251335144043 0.00056982040405273
Output for 5.3.23
0.00036716461181641 0.0003509521484375
Output for 5.3.22
0.00063610076904297 0.00063395500183105
Output for 5.3.21
0.0007331371307373 0.00069308280944824
Output for 5.3.20
0.00066494941711426 0.00061607360839844
Output for 5.3.19
0.00091004371643066 0.00065779685974121
Output for 5.3.18
0.00070714950561523 0.00066399574279785
Output for 5.3.17
0.00064802169799805 0.00062799453735352
Output for 5.3.16
0.00072097778320312 0.00067806243896484
Output for 5.3.15
0.00070500373840332 0.00066304206848145
Output for 5.3.14
0.00069713592529297 0.00064992904663086
Output for 5.3.13
0.00076198577880859 0.00077009201049805
Output for 5.3.12
0.00072407722473145 0.00072789192199707
Output for 5.3.11
0.00060200691223145 0.00061798095703125
Output for 5.3.10
0.00060892105102539 0.00059986114501953
Output for 5.3.9
0.00069689750671387 0.0006859302520752
Output for 5.3.8
0.00058889389038086 0.00055789947509766
Output for 5.3.7
0.00064396858215332 0.00063800811767578
Output for 5.3.6
0.00064587593078613 0.00060606002807617
Output for 5.3.5
0.00074195861816406 0.00067496299743652
Output for 5.3.4
0.0006411075592041 0.00058412551879883
Output for 5.3.3
0.00067996978759766 0.00064611434936523
Output for 5.3.2
0.00074291229248047 0.00070810317993164
Output for 5.3.1
0.00070786476135254 0.00066900253295898
Output for 5.3.0
0.000701904296875 0.00065994262695312
Output for 5.2.17
0.001060962677002 0.00093483924865723
Output for 5.2.16
0.0010440349578857 0.00090909004211426
Output for 5.2.15
0.00074100494384766 0.00062680244445801
Output for 5.2.14
0.00099492073059082 0.00083303451538086
Output for 5.2.13
0.00099802017211914 0.00081014633178711
Output for 5.2.12
0.0010921955108643 0.00091695785522461
Output for 5.2.11
0.0011410713195801 0.0010199546813965
Output for 5.2.10
0.001054048538208 0.00081801414489746
Output for 5.2.9
0.0010969638824463 0.00099396705627441
Output for 5.2.8
0.0010180473327637 0.00087094306945801
Output for 5.2.7
0.0010299682617188 0.00086879730224609
Output for 5.2.6
0.00086688995361328 0.00076794624328613
Output for 5.2.5
0.0012469291687012 0.0010011196136475
Output for 5.2.4
0.0012788772583008 0.00083303451538086
Output for 5.2.3
0.0010731220245361 0.00078201293945312
Output for 5.2.2
0.0010478496551514 0.00086402893066406
Output for 5.2.1
0.0010318756103516 0.00092601776123047
Output for 5.2.0
0.0010809898376465 0.00090694427490234
Output for 5.1.6
0.0012040138244629 0.0011239051818848
Output for 5.1.5
0.001209020614624 0.00099611282348633
Output for 5.1.4
0.0012941360473633 0.0010631084442139
Output for 5.1.3
0.0010631084442139 0.00087094306945801
Output for 5.1.2
0.0012571811676025 0.0010690689086914
Output for 5.1.1
0.0008690357208252 0.00073099136352539
Output for 5.1.0
0.00063800811767578 0.00054121017456055
Output for 5.0.5
0.002363920211792 0.0021641254425049
Output for 5.0.4
0.001352071762085 0.0012669563293457
Output for 5.0.3
0.0012969970703125 0.0011789798736572
Output for 5.0.2
0.002223014831543 0.0020239353179932
Output for 5.0.1
0.00166916847229 0.0015280246734619
Output for 5.0.0
0.0015580654144287 0.0017788410186768
Output for 4.4.9
0.002843 0.00224
Output for 4.4.8
0.002767 0.002537
Output for 4.4.7
0.002438 0.002481
Output for 4.4.6
0.002313 0.00226
Output for 4.4.5
0.002161 0.001735
Output for 4.4.4
0.002348 0.001937
Output for 4.4.3
0.002776 0.002585
Output for 4.4.2
0.001575 0.001436
Output for 4.4.1
0.001414 0.001322
Output for 4.4.0
0.001285 0.001205
Output for 4.3.11
0.002362 0.002174
Output for 4.3.10
0.001566 0.001595
Output for 4.3.9
0.002246 0.001607
Output for 4.3.8
0.0016 0.00167
Output for 4.3.7
0.001272 0.001186
Output for 4.3.6
0.001314 0.001195
Output for 4.3.5
0.00139 0.001028
Output for 4.3.4
0.001456 0.001317
Output for 4.3.3
0.00127 0.00116
Output for 4.3.2
0.001345 0.001251
Output for 4.3.1
0.002541 0.002339
Output for 4.3.0
0.002552 0.002404