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) . "\n"; $start = microtime(true); for ($i = 0; $i < 1000; $i++) { sha1($i); } echo (microtime(true) - $start) . "\n";
Output for 7.1.0
0.00034403800964355 0.00049781799316406
Output for 7.0.14
0.00038409233093262 0.00050711631774902
Output for 7.0.6
0.0003669261932373 0.00045990943908691
Output for 7.0.5
0.00036191940307617 0.0004580020904541
Output for 7.0.4
0.00024199485778809 0.00029301643371582
Output for 7.0.3
0.00024986267089844 0.0003819465637207
Output for 7.0.2
0.00036501884460449 0.00041413307189941
Output for 7.0.1
0.00022792816162109 0.00028395652770996
Output for 7.0.0
0.00032305717468262 0.00039505958557129
Output for hhvm-3.12.0
0.00031900405883789 0.00038385391235352
Output for hhvm-3.10.0
0.00032711029052734 0.00037097930908203
Output for 5.6.28
0.00057005882263184 0.00071120262145996
Output for 5.6.21
0.00033211708068848 0.00038886070251465
Output for 5.6.20
0.00049591064453125 0.00063300132751465
Output for 5.6.19
0.00037884712219238 0.00044012069702148
Output for 5.6.18
0.00046420097351074 0.00053000450134277
Output for 5.6.17
0.00041103363037109 0.00052595138549805
Output for 5.6.16
0.00048995018005371 0.00061893463134766
Output for 5.6.15
0.00044989585876465 0.0005488395690918
Output for 5.6.14
0.0003211498260498 0.00037717819213867
Output for 5.6.13
0.00032496452331543 0.0003809928894043
Output for 5.6.12
0.00048685073852539 0.0005640983581543
Output for 5.6.11
0.00049018859863281 0.00059986114501953
Output for 5.6.10
0.00050592422485352 0.00062298774719238
Output for 5.6.9
0.00050902366638184 0.00058484077453613
Output for 5.6.8
0.00052499771118164 0.0005948543548584
Output for 5.6.7
0.00031495094299316 0.00036716461181641
Output for 5.5.35
0.00044798851013184 0.00053501129150391
Output for 5.5.34
0.00041484832763672 0.00049400329589844
Output for 5.5.33
0.00063395500183105 0.00088095664978027
Output for 5.5.32
0.00034499168395996 0.00042486190795898
Output for 5.5.31
0.00033402442932129 0.0003960132598877
Output for 5.5.30
0.00030398368835449 0.00036096572875977
Output for 5.5.29
0.00039911270141602 0.00046706199645996
Output for 5.5.28
0.00049686431884766 0.00058507919311523
Output for 5.5.27
0.00047683715820312 0.00057411193847656
Output for 5.5.26
0.00047516822814941 0.00057697296142578
Output for 5.5.25
0.00048279762268066 0.00060701370239258
Output for 5.5.24
0.00047802925109863 0.00056600570678711
Output for 5.4.45
0.00030994415283203 0.00036716461181641
Output for 5.4.44
0.00032496452331543 0.00039005279541016
Output for 5.4.43
0.00049519538879395 0.00049996376037598
Output for 5.4.42
0.00045299530029297 0.00049996376037598
Output for 5.4.41
0.00046014785766602 0.00059700012207031
Output for 5.4.40
0.00043606758117676 0.00061893463134766
Output for 5.4.39
0.00047087669372559 0.00053691864013672
Output for 5.4.38
0.00050592422485352 0.00049901008605957
Output for 5.4.37
0.00054788589477539 0.00082206726074219
Output for 5.4.36
0.00034785270690918 0.0004570484161377
Output for 5.4.35
0.00033712387084961 0.00037503242492676
Output for 5.4.34
0.00039887428283691 0.00050902366638184
Output for 5.4.32
0.00033402442932129 0.00043702125549316
Output for 5.4.31
0.00036382675170898 0.00049805641174316
Output for 5.4.30
0.00038695335388184 0.00046896934509277
Output for 5.4.29
0.00036406517028809 0.00046896934509277
Output for 5.4.28
0.00040292739868164 0.00049996376037598
Output for 5.4.27
0.00032901763916016 0.00060296058654785
Output for 5.4.26
0.00046014785766602 0.00049710273742676
Output for 5.4.25
0.00039887428283691 0.00053787231445312
Output for 5.4.24
0.00034403800964355 0.00052309036254883
Output for 5.4.23
0.00037193298339844 0.00046300888061523
Output for 5.4.22
0.00038290023803711 0.00057101249694824
Output for 5.4.21
0.00039386749267578 0.00047397613525391
Output for 5.4.20
0.00055885314941406 0.0007021427154541
Output for 5.4.19
0.0003659725189209 0.00047802925109863
Output for 5.4.18
0.00036311149597168 0.00050497055053711
Output for 5.4.17
0.00043511390686035 0.00061798095703125
Output for 5.4.16
0.00045084953308105 0.00059080123901367
Output for 5.4.15
0.00041317939758301 0.00060701370239258
Output for 5.4.14
0.0004270076751709 0.00058507919311523
Output for 5.4.13
0.00045108795166016 0.00062108039855957
Output for 5.4.12
0.0003669261932373 0.00046396255493164
Output for 5.4.11
0.00035309791564941 0.00050497055053711
Output for 5.4.10
0.0003359317779541 0.00045895576477051
Output for 5.4.9
0.00044393539428711 0.00050091743469238
Output for 5.4.8
0.00049090385437012 0.00074005126953125
Output for 5.4.7
0.0003359317779541 0.00044488906860352
Output for 5.4.6
0.00043511390686035 0.00072193145751953
Output for 5.4.5
0.00059103965759277 0.00080204010009766
Output for 5.4.4
0.00036406517028809 0.00043702125549316
Output for 5.4.3
0.0003349781036377 0.00047206878662109
Output for 5.4.2
0.0003509521484375 0.00040006637573242
Output for 5.4.1
0.0003809928894043 0.00041389465332031
Output for 5.4.0
0.00038814544677734 0.00046420097351074
Output for 5.3.29
0.00037598609924316 0.00062990188598633
Output for 5.3.28
0.00038313865661621 0.00048995018005371
Output for 5.3.27
0.00047588348388672 0.00062799453735352
Output for 5.3.26
0.00049519538879395 0.00072193145751953
Output for 5.3.25
0.00044488906860352 0.00064587593078613
Output for 5.3.24
0.00045299530029297 0.00069594383239746
Output for 5.3.23
0.00059103965759277 0.00065493583679199
Output for 5.3.22
0.00040292739868164 0.00048279762268066
Output for 5.3.21
0.00037097930908203 0.00047087669372559
Output for 5.3.20
0.00041294097900391 0.00048017501831055
Output for 5.3.19
0.00049996376037598 0.00062394142150879
Output for 5.3.18
0.00048398971557617 0.00043702125549316
Output for 5.3.17
0.00036811828613281 0.00056791305541992
Output for 5.3.16
0.00048089027404785 0.0016701221466064
Output for 5.3.15
0.00062298774719238 0.00080490112304688
Output for 5.3.14
0.00060796737670898 0.00089287757873535
Output for 5.3.13
0.00042510032653809 0.00054717063903809
Output for 5.3.12
0.00040817260742188 0.00048089027404785
Output for 5.3.11
0.00047588348388672 0.00049090385437012
Output for 5.3.10
0.0005650520324707 0.00082802772521973
Output for 5.3.9
0.00038599967956543 0.0005791187286377
Output for 5.3.8
0.0004119873046875 0.00047898292541504
Output for 5.3.7
0.00043010711669922 0.00051403045654297
Output for 5.3.6
0.0003819465637207 0.0005500316619873
Output for 5.3.5
0.00040698051452637 0.00056815147399902
Output for 5.3.4
0.00042009353637695 0.00053501129150391
Output for 5.3.3
0.0003960132598877 0.00047397613525391
Output for 5.2.17
0.00045084953308105 0.00047206878662109
Output for 5.2.16
0.00047898292541504 0.00046896934509277
Output for 5.2.15
0.0004429817199707 0.00050210952758789
Output for 5.2.14
0.00052499771118164 0.00099897384643555