3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $start = microtime(true); for ($i = 0; $i < 1000; $i++) { md5($i); } echo (microtime(true) - $start) . PHP_EOL; $start = microtime(true); for ($i = 0; $i < 1000; $i++) { sha1($i); } echo (microtime(true) - $start) . PHP_EOL;
Output for 7.1.0
0.00032711029052734 0.0005340576171875
Output for 7.0.14
0.00040602684020996 0.0005190372467041
Output for 7.0.6
0.0003199577331543 0.00043511390686035
Output for 7.0.5
0.00035905838012695 0.00048208236694336
Output for 7.0.4
0.00034189224243164 0.00044512748718262
Output for 7.0.3
0.00023198127746582 0.00029993057250977
Output for 7.0.2
0.00028014183044434 0.00033998489379883
Output for 7.0.1
0.00025105476379395 0.00031614303588867
Output for 7.0.0
0.0002281665802002 0.00027918815612793
Output for hhvm-3.12.0
0.00039100646972656 0.00047802925109863
Output for hhvm-3.10.0
0.00030517578125 0.00034904479980469
Output for 5.6.28
0.00059294700622559 0.00070810317993164
Output for 5.6.21
0.00033283233642578 0.00039505958557129
Output for 5.6.20
0.00031399726867676 0.0003960132598877
Output for 5.6.19
0.00044894218444824 0.00058197975158691
Output for 5.6.18
0.00062108039855957 0.0009920597076416
Output for 5.6.17
0.0003960132598877 0.00049495697021484
Output for 5.6.16
0.0004119873046875 0.00085306167602539
Output for 5.6.15
0.00032305717468262 0.00039911270141602
Output for 5.6.14
0.00044894218444824 0.00054192543029785
Output for 5.6.13
0.00031495094299316 0.00039505958557129
Output for 5.6.12
0.00049185752868652 0.00060606002807617
Output for 5.6.11
0.00030803680419922 0.00036191940307617
Output for 5.6.10
0.00047802925109863 0.00048589706420898
Output for 5.6.9
0.00043511390686035 0.00043296813964844
Output for 5.6.8
0.00050806999206543 0.00061607360839844
Output for 5.5.35
0.00048708915710449 0.00056004524230957
Output for 5.5.34
0.0003349781036377 0.00042104721069336
Output for 5.5.33
0.00034594535827637 0.00042605400085449
Output for 5.5.32
0.00030422210693359 0.00036096572875977
Output for 5.5.31
0.00034499168395996 0.00041007995605469
Output for 5.5.30
0.00031304359436035 0.00037217140197754
Output for 5.5.29
0.00033307075500488 0.00041389465332031
Output for 5.5.28
0.00037288665771484 0.0004580020904541
Output for 5.5.27
0.00030899047851562 0.00036501884460449
Output for 5.5.26
0.00031900405883789 0.00037789344787598
Output for 5.5.25
0.00047898292541504 0.00056195259094238
Output for 5.5.24
0.00050902366638184 0.00059604644775391
Output for 5.4.45
0.00031900405883789 0.00037503242492676
Output for 5.4.44
0.00030899047851562 0.0003669261932373
Output for 5.4.43
0.00029993057250977 0.00037002563476562
Output for 5.4.42
0.00031399726867676 0.00038599967956543
Output for 5.4.41
0.00034999847412109 0.0006411075592041
Output for 5.4.40
0.00031089782714844 0.00040698051452637
Output for 5.4.39
0.00049591064453125 0.00055813789367676
Output for 5.4.38
0.00042915344238281 0.00082492828369141
Output for 5.4.37
0.0004429817199707 0.00052905082702637
Output for 5.4.36
0.00048685073852539 0.00060701370239258
Output for 5.4.35
0.00034809112548828 0.0004429817199707
Output for 5.4.34
0.00048398971557617 0.00055503845214844
Output for 5.4.32
0.0004580020904541 0.00054383277893066
Output for 5.4.31
0.00047707557678223 0.00065994262695312
Output for 5.4.30
0.0004420280456543 0.00052905082702637
Output for 5.4.29
0.00044989585876465 0.0005340576171875
Output for 5.4.28
0.00045990943908691 0.00056600570678711
Output for 5.4.27
0.00048398971557617 0.000579833984375
Output for 5.4.26
0.00048995018005371 0.00057411193847656
Output for 5.4.25
0.00046682357788086 0.00055193901062012
Output for 5.4.24
0.00049805641174316 0.00058889389038086
Output for 5.4.23
0.00039005279541016 0.0004420280456543
Output for 5.4.22
0.00048303604125977 0.00058317184448242
Output for 5.4.21
0.00044894218444824 0.0005500316619873
Output for 5.4.20
0.00052618980407715 0.00058698654174805
Output for 5.4.19
0.00050592422485352 0.00059390068054199
Output for 5.4.18
0.00048589706420898 0.00057792663574219
Output for 5.4.17
0.00031399726867676 0.00038409233093262
Output for 5.4.16
0.00049209594726562 0.00063395500183105
Output for 5.4.15
0.00038599967956543 0.00046896934509277
Output for 5.4.14
0.0004889965057373 0.0005791187286377
Output for 5.4.13
0.00049686431884766 0.00056195259094238
Output for 5.4.12
0.00049400329589844 0.00062108039855957
Output for 5.4.11
0.00031805038452148 0.00037813186645508
Output for 5.4.10
0.00042295455932617 0.00052309036254883
Output for 5.4.9
0.00033211708068848 0.00042486190795898
Output for 5.4.8
0.00057077407836914 0.00064897537231445
Output for 5.4.7
0.00048208236694336 0.0005791187286377
Output for 5.4.6
0.00035405158996582 0.00042009353637695
Output for 5.4.5
0.00052380561828613 0.00068902969360352
Output for 5.4.4
0.00048398971557617 0.00058317184448242
Output for 5.4.3
0.00043892860412598 0.00052690505981445
Output for 5.4.2
0.00051093101501465 0.00057697296142578
Output for 5.4.1
0.00048494338989258 0.00057601928710938
Output for 5.4.0
0.00043892860412598 0.00055098533630371
Output for 5.3.29
0.00048995018005371 0.00060105323791504
Output for 5.3.28
0.00050997734069824 0.00065517425537109
Output for 5.3.27
0.00044512748718262 0.00058603286743164
Output for 5.3.26
0.00055193901062012 0.00072097778320312
Output for 5.3.25
0.00051593780517578 0.0006859302520752
Output for 5.3.24
0.00062823295593262 0.00082516670227051
Output for 5.3.23
0.00063204765319824 0.00088191032409668
Output for 5.3.22
0.00051093101501465 0.00060105323791504
Output for 5.3.21
0.00053191184997559 0.00062012672424316
Output for 5.3.20
0.00033998489379883 0.0004119873046875
Output for 5.3.19
0.00053191184997559 0.00063204765319824
Output for 5.3.18
0.00052499771118164 0.00060820579528809
Output for 5.3.17
0.00053501129150391 0.00063395500183105
Output for 5.3.16
0.00053191184997559 0.00064802169799805
Output for 5.3.15
0.00043487548828125 0.0005040168762207
Output for 5.3.14
0.00037789344787598 0.00048685073852539
Output for 5.3.13
0.00048708915710449 0.00052309036254883
Output for 5.3.12
0.0004279613494873 0.00051403045654297
Output for 5.3.11
0.00053215026855469 0.00063204765319824
Output for 5.3.10
0.00065898895263672 0.00058197975158691
Output for 5.3.9
0.00040578842163086 0.00055980682373047
Output for 5.3.8
0.00042104721069336 0.00045990943908691
Output for 5.3.7
0.0004270076751709 0.00045299530029297
Output for 5.3.6
0.00049901008605957 0.00059819221496582
Output for 5.3.5
0.0003359317779541 0.00043416023254395
Output for 5.3.4
0.00050497055053711 0.00065302848815918
Output for 5.3.3
0.00051999092102051 0.00062990188598633
Output for 5.3.2
0.00049901008605957 0.00062012672424316
Output for 5.3.1
0.00049996376037598 0.00066304206848145
Output for 5.3.0
0.00055599212646484 0.00061702728271484
Output for 5.2.17
0.00049495697021484 0.00055909156799316
Output for 5.2.16
0.00066590309143066 0.00073790550231934
Output for 5.2.15
0.0006861686706543 0.00078606605529785
Output for 5.2.14
0.00090503692626953 0.000823974609375
Output for 5.2.13
0.00054597854614258 0.00060606002807617
Output for 5.2.12
0.00061988830566406 0.00074195861816406
Output for 5.2.11
0.00064182281494141 0.00067901611328125
Output for 5.2.10
0.0006721019744873 0.00072002410888672
Output for 5.2.9
0.00068807601928711 0.0006859302520752
Output for 5.2.8
0.0005030632019043 0.00059890747070312
Output for 5.2.7
0.00038313865661621 0.00044488906860352
Output for 5.2.6
0.00039291381835938 0.00042414665222168
Output for 5.2.5
0.00063419342041016 0.00068187713623047
Output for 5.2.4
0.00060081481933594 0.00065088272094727
Output for 5.2.3
0.00066590309143066 0.00068283081054688
Output for 5.2.2
0.0016629695892334 0.0019819736480713
Output for 5.2.1
0.0028338432312012 0.0029828548431396
Output for 5.2.0
0.0028889179229736 0.0034940242767334
Output for 5.1.6
0.002640962600708 0.0031578540802002
Output for 5.1.5
0.0023880004882812 0.0028140544891357
Output for 5.1.4
0.0028979778289795 0.0035469532012939
Output for 5.1.3
0.0021219253540039 0.0024330615997314
Output for 5.1.2
0.0030059814453125 0.0035510063171387
Output for 5.1.1
0.0034549236297607 0.0037128925323486
Output for 5.1.0
0.0030438899993896 0.0035538673400879
Output for 5.0.5
0.0026578903198242 0.0031449794769287
Output for 5.0.4
0.0029690265655518 0.0034489631652832
Output for 5.0.3
0.0020499229431152 0.0023670196533203
Output for 5.0.2
0.0032949447631836 0.0037569999694824
Output for 5.0.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/aimZG on line 5 0.0031039714813232PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/aimZG on line 10 0.0036790370941162PHP_EOL
Output for 5.0.0
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/aimZG on line 5 0.0027961730957031PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/aimZG on line 10 0.0032320022583008PHP_EOL
Output for 4.4.9
0.001908 0.002383
Output for 4.4.8
0.003651 0.004419
Output for 4.4.7
0.00341 0.00412
Output for 4.4.6
0.003874 0.004308
Output for 4.4.5
0.003642 0.0042369999999999
Output for 4.4.4
0.003325 0.003805
Output for 4.4.3
0.003791 0.0044419999999999
Output for 4.4.2
0.003436 0.003886
Output for 4.4.1
0.0027699999999999 0.003266
Output for 4.4.0
0.003157 0.003478
Output for 4.3.11
0.002942 0.004223
Output for 4.3.10
0.003645 0.004325
Output for 4.3.9
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/aimZG on line 5 0.0035149999999999PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/aimZG on line 10 0.004095PHP_EOL
Output for 4.3.8
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/aimZG on line 5 0.002199PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/aimZG on line 10 0.00258PHP_EOL
Output for 4.3.7
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/aimZG on line 5 0.001667PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/aimZG on line 10 0.00206PHP_EOL
Output for 4.3.6
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/aimZG on line 5 0.001686PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/aimZG on line 10 0.002118PHP_EOL
Output for 4.3.5
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/aimZG on line 5 0.001709PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/aimZG on line 10 0.0020749999999999PHP_EOL
Output for 4.3.4
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/aimZG on line 5 0.00235PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/aimZG on line 10 0.002431PHP_EOL
Output for 4.3.3
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/aimZG on line 5 0.002972PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/aimZG on line 10 0.0034500000000001PHP_EOL
Output for 4.3.2
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/aimZG on line 5 0.002641PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/aimZG on line 10 0.003179PHP_EOL
Output for 4.3.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/aimZG on line 5 0.003663PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/aimZG on line 10 0.004355PHP_EOL
Output for 4.3.0
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/aimZG on line 5 0.003436PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/aimZG on line 10 0.003867PHP_EOL