3v4l.org

run code in 200+ 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.2.0
0.00029206275939941 0.00040197372436523
Output for 7.1.7
0.00031709671020508 0.00031495094299316
Output for 7.1.6
0.00023913383483887 0.00029802322387695
Output for 7.1.5
0.00037717819213867 0.00033879280090332
Output for 7.1.4
0.00041699409484863 0.00059890747070312
Output for 7.1.3
0.00039887428283691 0.00060105323791504
Output for 7.1.2
0.00060009956359863 0.00072908401489258
Output for 7.1.1
0.00032997131347656 0.00036907196044922
Output for 7.1.0
0.00022792816162109 0.00028085708618164
Output for 7.0.20
0.00024294853210449 0.00029587745666504
Output for 7.0.19
0.0002291202545166 0.00043606758117676
Output for 7.0.18
0.00042390823364258 0.00032901763916016
Output for 7.0.17
0.00061392784118652 0.00073885917663574
Output for 7.0.16
0.00028491020202637 0.00035500526428223
Output for 7.0.15
0.00024104118347168 0.00031685829162598
Output for 7.0.14
0.0003960132598877 0.00056815147399902
Output for 7.0.13
0.00023603439331055 0.00028896331787109
Output for 7.0.12
0.00025796890258789 0.00048685073852539
Output for 7.0.11
0.0002439022064209 0.00028514862060547
Output for 7.0.10
0.00040102005004883 0.00049901008605957
Output for 7.0.9
0.00023603439331055 0.0003199577331543
Output for 7.0.8
0.00041818618774414 0.00064301490783691
Output for 7.0.7
0.000244140625 0.00036907196044922
Output for 7.0.6
0.00030899047851562 0.00037884712219238
Output for 7.0.5
0.00023984909057617 0.00029087066650391
Output for 7.0.4
0.00031304359436035 0.00039386749267578
Output for 7.0.3
0.00046610832214355 0.00058197975158691
Output for 7.0.2
0.00028586387634277 0.00032782554626465
Output for 7.0.1
0.00025177001953125 0.0003349781036377
Output for 7.0.0
0.00025200843811035 0.00030303001403809
Output for hhvm-3.17.3
0.00047111511230469 0.00066304206848145
Output for hhvm-3.15.4
0.00032305717468262 0.0003819465637207
Output for hhvm-3.13.2
0.00029897689819336 0.00060200691223145
Output for hhvm-3.12.14

Process exited with code 137.
Output for hhvm-3.11.1
0.00032782554626465 0.00035405158996582
Output for hhvm-3.10.1
0.00031805038452148 0.0003509521484375
Output for 5.6.30
0.00030779838562012 0.00038814544677734
Output for 5.6.29
0.00030803680419922 0.00037097930908203
Output for 5.6.28
0.00049901008605957 0.00036406517028809
Output for 5.6.27
0.00031208992004395 0.00036120414733887
Output for 5.6.26
0.00030088424682617 0.00035786628723145
Output for 5.6.25
0.00031280517578125 0.00039887428283691
Output for 5.6.24
0.00073409080505371 0.00088810920715332
Output for 5.6.23
0.0003809928894043 0.00072097778320312
Output for 5.6.22
0.00059318542480469 0.00081610679626465
Output for 5.6.21
0.00049591064453125 0.00077295303344727
Output for 5.6.20
0.00038313865661621 0.00057888031005859
Output for 5.6.19
0.00064301490783691 0.00075912475585938
Output for 5.6.18
0.0003969669342041 0.00046992301940918
Output for 5.6.17
0.00043487548828125 0.00053215026855469
Output for 5.6.16
0.00031709671020508 0.00037598609924316
Output for 5.6.15
0.00030994415283203 0.00037193298339844
Output for 5.6.14
0.00053501129150391 0.00042295455932617
Output for 5.6.13
0.00068283081054688 0.00082898139953613
Output for 5.6.12
0.00031805038452148 0.00047397613525391
Output for 5.6.11
0.00041890144348145 0.00049209594726562
Output for 5.6.10
0.00031495094299316 0.00037503242492676
Output for 5.6.9
0.00056886672973633 0.00081515312194824
Output for 5.6.8
0.0003201961517334 0.00037598609924316
Output for 5.6.7
0.00030303001403809 0.00038385391235352
Output for 5.6.6
0.00049400329589844 0.00059986114501953
Output for 5.6.5
0.00047397613525391 0.0006401538848877
Output for 5.6.4
0.00031781196594238 0.00036001205444336
Output for 5.6.3
0.0004417896270752 0.0003819465637207
Output for 5.6.2
0.00030183792114258 0.00036191940307617
Output for 5.6.1
0.0008549690246582 0.00069093704223633
Output for 5.6.0
0.00033402442932129 0.00039887428283691
Output for 5.5.38
0.0005497932434082 0.00064706802368164
Output for 5.5.37
0.00041604042053223 0.00051403045654297
Output for 5.5.36
0.00041794776916504 0.00049805641174316
Output for 5.5.35
0.00032496452331543 0.00038695335388184
Output for 5.5.34
0.00035500526428223 0.00041794776916504
Output for 5.5.33
0.00046896934509277 0.00056815147399902
Output for 5.5.32
0.00031781196594238 0.00036883354187012
Output for 5.5.31
0.00030207633972168 0.00036001205444336
Output for 5.5.30
0.00030207633972168 0.00036406517028809
Output for 5.5.29
0.00031614303588867 0.00036883354187012
Output for 5.5.28
0.0011351108551025 0.0015501976013184
Output for 5.5.27
0.00036787986755371 0.00042486190795898
Output for 5.5.26
0.00045108795166016 0.00053620338439941
Output for 5.5.25
0.00068283081054688 0.00073409080505371
Output for 5.5.24
0.00031399726867676 0.00036811828613281
Output for 5.5.23
0.00031900405883789 0.00039887428283691
Output for 5.5.22
0.00031900405883789 0.00057315826416016
Output for 5.5.21
0.00074100494384766 0.0010499954223633
Output for 5.5.20
0.00031399726867676 0.00039505958557129
Output for 5.5.19
0.00035810470581055 0.00038504600524902
Output for 5.5.18
0.00043702125549316 0.00036096572875977
Output for 5.5.16
0.00030899047851562 0.0003659725189209
Output for 5.5.15
0.00030112266540527 0.0003659725189209
Output for 5.5.14
0.00031304359436035 0.00040411949157715
Output for 5.5.13
0.00039196014404297 0.00049781799316406
Output for 5.5.12
0.00051307678222656 0.00063014030456543
Output for 5.5.11
0.00031208992004395 0.00036501884460449
Output for 5.5.10
0.00031399726867676 0.00036716461181641
Output for 5.5.9
0.00045204162597656 0.00054097175598145
Output for 5.5.8
0.0005180835723877 0.00056004524230957
Output for 5.5.7
0.00031590461730957 0.00038313865661621
Output for 5.5.6
0.00043487548828125 0.00052499771118164
Output for 5.5.5
0.00031614303588867 0.00043916702270508
Output for 5.5.4
0.00038385391235352 0.00049996376037598
Output for 5.5.3
0.00057005882263184 0.00071191787719727
Output for 5.5.2
0.00047898292541504 0.00043010711669922
Output for 5.5.1
0.00065493583679199 0.00080680847167969
Output for 5.5.0
0.00032615661621094 0.00037312507629395
Output for 5.4.45
0.00030398368835449 0.00037288665771484
Output for 5.4.44
0.00031304359436035 0.00035595893859863
Output for 5.4.43
0.00059103965759277 0.00087380409240723
Output for 5.4.42
0.00036191940307617 0.00043296813964844
Output for 5.4.41
0.00048017501831055 0.00037479400634766
Output for 5.4.40
0.00030303001403809 0.00035619735717773
Output for 5.4.39
0.00052499771118164 0.0007178783416748
Output for 5.4.38
0.00034093856811523 0.00039005279541016
Output for 5.4.37
0.00045490264892578 0.00037693977355957
Output for 5.4.36
0.00054597854614258 0.00077509880065918
Output for 5.4.35
0.00048995018005371 0.00065994262695312
Output for 5.4.34
0.00030708312988281 0.00040602684020996
Output for 5.4.32
0.00054407119750977 0.00076913833618164
Output for 5.4.31
0.00029802322387695 0.00034999847412109
Output for 5.4.30
0.00029611587524414 0.00036787986755371
Output for 5.4.29
0.00038909912109375 0.0004730224609375
Output for 5.4.28
0.00029802322387695 0.00035715103149414
Output for 5.4.27
0.00042891502380371 0.00057601928710938
Output for 5.4.26
0.00032615661621094 0.00039505958557129
Output for 5.4.25
0.00030899047851562 0.00036501884460449
Output for 5.4.24
0.00031590461730957 0.00044894218444824
Output for 5.4.23
0.00031208992004395 0.0003659725189209
Output for 5.4.22
0.00031304359436035 0.00041604042053223
Output for 5.4.21
0.00031208992004395 0.00037813186645508
Output for 5.4.20
0.00031900405883789 0.00039410591125488
Output for 5.4.19
0.00037598609924316 0.0004880428314209
Output for 5.4.18
0.00048589706420898 0.00066018104553223
Output for 5.4.17
0.00035595893859863 0.00036311149597168
Output for 5.4.16
0.00031208992004395 0.00036787986755371
Output for 5.4.15
0.0003209114074707 0.00038790702819824
Output for 5.4.14
0.00045180320739746 0.00041389465332031
Output for 5.4.13
0.00036907196044922 0.00043106079101562
Output for 5.4.12
0.00030994415283203 0.00036883354187012
Output for 5.4.11
0.00042200088500977 0.00050091743469238
Output for 5.4.10
0.00029993057250977 0.00036883354187012
Output for 5.4.9
0.00030088424682617 0.00037002563476562
Output for 5.4.8
0.00037407875061035 0.00038409233093262
Output for 5.4.7
0.00029706954956055 0.00037097930908203
Output for 5.4.6
0.00032997131347656 0.00039100646972656
Output for 5.4.5
0.00031113624572754 0.00040388107299805
Output for 5.4.4
0.00052118301391602 0.00064992904663086
Output for 5.4.3
0.00054788589477539 0.00075912475585938
Output for 5.4.2
0.00050115585327148 0.00063300132751465
Output for 5.4.1
0.00038385391235352 0.00042104721069336
Output for 5.4.0
0.00032210350036621 0.00038003921508789
Output for 5.3.29
0.00041413307189941 0.00040292739868164
Output for 5.3.28
0.00033092498779297 0.00044393539428711
Output for 5.3.27
0.00062203407287598 0.0007789134979248
Output for 5.3.26
0.0004889965057373 0.000640869140625
Output for 5.3.25
0.0004270076751709 0.00056099891662598
Output for 5.3.24
0.00058102607727051 0.00078582763671875
Output for 5.3.23
0.00059390068054199 0.00082993507385254
Output for 5.3.22
0.00032997131347656 0.00038409233093262
Output for 5.3.21
0.00057411193847656 0.00072002410888672
Output for 5.3.20
0.00043487548828125 0.00047993659973145
Output for 5.3.19
0.00058293342590332 0.00077390670776367
Output for 5.3.18
0.00043106079101562 0.00049901008605957
Output for 5.3.17
0.00041103363037109 0.00047802925109863
Output for 5.3.16
0.00045585632324219 0.00048494338989258
Output for 5.3.15
0.00034403800964355 0.0003960132598877
Output for 5.3.14
0.00034213066101074 0.0003960132598877
Output for 5.3.13
0.00060606002807617 0.00083518028259277
Output for 5.3.12
0.0003509521484375 0.00044989585876465
Output for 5.3.11
0.00074005126953125 0.00099277496337891
Output for 5.3.10
0.0004429817199707 0.00052595138549805
Output for 5.3.9
0.0003359317779541 0.00041484832763672
Output for 5.3.8
0.00033116340637207 0.0003969669342041
Output for 5.3.7
0.00041794776916504 0.00050091743469238
Output for 5.3.6
0.00033307075500488 0.00041103363037109
Output for 5.3.5
0.00034093856811523 0.00044608116149902
Output for 5.3.4
0.00034809112548828 0.00040388107299805
Output for 5.3.3
0.00045013427734375 0.00058293342590332
Output for 5.3.2
0.00042510032653809 0.00047707557678223
Output for 5.3.1
0.00038814544677734 0.00058197975158691
Output for 5.3.0
0.00032591819763184 0.00039219856262207